Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,622 members, 7,816,563 topics. Date: Friday, 03 May 2024 at 01:12 PM

DHumbleNigga's Posts

Nairaland Forum / DHumbleNigga's Profile / DHumbleNigga's Posts

(1) (2) (of 2 pages)

Health / 7 Best Diet For Quick Weight Loss by DHumbleNigga(m): 11:48am On Nov 03, 2019
Do you want to lose weight quickly by changing your diet? We'll reveal how you can do it without your metabolism being harmed.

#1. Increase Protein Intake
Protein is essential to keep you full and satiated, even if you eat fewer calories. Research has shown that eating a high-protein breakfast can help you minimize your caloric intake throughout the day by beginning full and fuel-filled.
Having enough protein each day is important to keep your muscles and metabolism balanced during weight loss, whether you're in a fast-fixed or long-term mindset. Make sure that at every meal you take always have some chicken breast, lean ground turkey, fish, seafood, or tempeh that is the size of a card deck. Choose 2 eggs, 1/4 cup of nuts or 3/4 cup of Greek yogurt or cottage cheese for your protein needs and stay full and look lean while you snack.
Protein is also important as you lose weight to preserve muscle mass. If you cut calories dramatically and drop weight too quickly, your muscles will be able to suffer. Your body is beginning to fuel itself from lean tissue like muscles and organs, and your metabolism is slowing down to conserve energy.

#2. Drink Plenty of Water Before Meals
Drinking lots of water seems counterintuitive when you want to lose weight quickly — especially water weight — but staying hydrated is one of the most important steps you can take to lose weight. People often mistake hunger thirst, so staying hydrated enables you to be more in touch with the times when you're hungry, rather than just thirsty. And, once you drink enough water, a lot of good things happen to your body.
It has also been shown that when you take a glass of water before a meal leads to increased weight loss by reducing the amount you consume at meals. It's tough for your eyes to be wider than your stomach when you're packed with plenty of water! Staying hydrated also promotes good digestion, so it is less likely that you will end up backed up or bloated.

#3. Sleep A lot
Aim to sleep every night for at least seven hours. Try to go to bed and wake up every day at the same time. What's the reason? Ever notice how when you're exhausted you start craving donuts and drive-thru breakfasts? Your hormones are thrown out of balance when you don't get enough sleep. In fact, running on no sleep can drive the hormones that make you want to eat while pushing down the hormones that signal fullness— and that's a weight gain recipe. It's a lot easier to make healthy decisions and stay on track when you're well-rested.

#4. Load Up On Veggies That Are Not Starchy
If you want to lose weight over the long haul, face it, the best bet is to make lifestyle changes that are permanent, long-term. But sometimes life comes to you quickly and you need a quick solution. One smart change in lifestyle is eating plenty of veggies— especially for someone seeking weight loss. Vegetables are packed with nutrients and provide plenty of calorie-filled protein. Plus, non-starchy veggies have a high water content, and they hydrate you when you fill-up — the perfect weight loss mix.
Carbohydrate veggies (such as potatoes) and processed whole grains (such as whole-wheat bread) are foods that I would normally recommend to eat in moderation as they provide plenty of nutrients, fiber and healthy carbs. High-carb foods, though, aren't your best friend when you're trying to drop water weight. Essentially, it replaces them with water as the body absorbs excess carbs. The way to go is to replace carb-heavy foods with non-starchy veggies that still have filling fiber without the same amount of water retention. You can substitute the starchy carbs for more non-starchy vegetables for a week before your case to gain some water weight.
At least half of your plate should be packed with non-starchy veggies

#5. Reduce Salt Intake
Cutting back on salt is another healthy change that will help you look healthier. Sodium allows the body to hang on to excess water, and eating a high-salt diet ensures that you are likely to retain more water weight than you need. If you're in a hurry to quickly lose weight, cut as much salt as you can. That means keeping the salt shaker dissolved and avoiding processed and packaged foods, where it is almost inevitable to add salt.
Instead of dining out before your big event, try making food from scratch to further limit sodium and combat bloat. Sodium levels tend to be through the roof even in safer restaurants.
Avoiding salt doesn't mean it has to be bland for your food.


#6. Keep Your Meals Lighter at Night
Research shows that eating later can lead to slower weight loss, while eating a larger breakfast meal and smaller meals throughout the day can help you lose more weight! And while we won't tell you to limit yourself to no food after 6 p.m., it's important to consider which time of day you're most tempted to battle.
Late-night refrigerator raids are a failure for many men, leading to wasted food and needless calories. If you wake up motivated to eat healthily, but lose steam by the end of the day and end up with a large takeout order, planning evening meals ahead of time will sidestep the problem.


#7. Avoid Gas-producing Food
Would you like to learn how to quickly lose weight and effectively reduce bloating? Evict gas-forming foods that contribute to your sudden increase in weight. Examples of gas-producing food such as beans, lentils, onion, pears, wheat e.t.c.
You swallow more often than you would without a piece of gum in your mouth while you chew gum. Some of the things you drink are water, which can get stuck, making you feel bloated. Most sugar-free gums are made from sugar alcohols, which in some people can also cause gas.
Soda and diet soda often have gas-forming sugars or alcoholic sugars— plus, they are carbonated. The bubbles that are stuck in the fluid can make you feel bloated.

cc: seun
Celebrities / Re: E-money Hangs Out At Old English Bar And Grill Owerri - Photos by DHumbleNigga(m): 8:51pm On Jan 05, 2019
Who noticed this man nickname ?
E-money,electronic-money..

Is he doing wire wire ni?
Programming / Re: Please How Can I Convert This Mysql Code To Mysqli by DHumbleNigga(m): 8:32pm On Nov 14, 2018
Kingvick:

i made use of mysqli here is the complete convertion i tried

<?php

$dbname = ""; // Your Sql Database Name

$dbuser = ""; // Your sql database username

$dbhost = ""; // its always localhost, except if your host states otherwise

$dbpass = ""; // Your sql database password


$db = mysqli_connect("$dbhost", "$dbuser", "$dbpass"wink or die("Could not connect."wink;
if(!$db)
die("no db"wink;
if(!mysqli_select_db($db,"$dbname"wink)
die("No database selected."wink;
if(!get_magic_quotes_gpc())
{
$_GET = array_map(mysqli_real_escape_string($db, $_GET));
$_POST = array_map(mysqli_real_escape_string($db, $_POST));
$_COOKIE = array_map(mysqli_real_escape_string($db, $_COOKIE));
}
else
{
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
$_GET = array_map(mysqli_real_escape_string($db, $_GET));
$_POST = array_map(mysqli_real_escape_string($db, $_POST));
$_COOKIE = array_map(mysqli_real_escape_string($db, $_COOKIE));
}
?>

Am geting this errors

[14-Nov-2018 03:13:03 UTC] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/yukhubco/public_html/incfiles/connect.php on line 19
[14-Nov-2018 03:13:03 UTC] PHP Warning: array_map() expects at least 2 parameters, 1 given in /home/yukhubco/public_html/incfiles/connect.php on line 19
[14-Nov-2018 03:13:03 UTC] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/yukhubco/public_html/incfiles/connect.php on line 20
[14-Nov-2018 03:13:03 UTC] PHP Warning: array_map() expects at least 2 parameters, 1 given in /home/yukhubco/public_html/incfiles/connect.php on line 20
[14-Nov-2018 03:13:03 UTC] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/yukhubco/public_html/incfiles/connect.php on line 21
[14-Nov-2018 03:13:03 UTC] PHP Warning: array_map() expects at least 2 parameters, 1 given in /home/yukhubco/public_html/incfiles/connect.php on line 21



I dont know how procedural works in php because i work with OOP.
But i think i can try.

$server ="localhost";
$user="root";
$pass=""; if you are using default configuration
$db="db_you_are_conmecting_to";

//Procedural connection to db
$conn =mysqli_connect($server, $user, $pass, $db);

If($conn==mysqli_connect_error){
die("connection failed connecting to Db"wink;
}

//Object Oriented
$conn = new mysqli($server, $user, $pass, $db);

If($conn->connect_error){
die("Error connecting to db"wink;
}



About the mysqli_real_escape_string ..Two parameter must be pass to it.
E.g

$name=$_GET['name'] = "Charles";

To now escape the string b4 saving to db

$name = mysqli_real_escape_string($conn, $name);

Bro always sanitize your input before using mysqli escape string function to store the data to DB.
Programming / Re: Nairaland Programming Competition 2018 - Total stakes 210k!! by DHumbleNigga(m): 5:16pm On Nov 12, 2018
Obafunso Ridwan.
Web developer (PHP, MYSQLI and some frameworks).

Male
Programming / Re: MCRYPT Function In Php by DHumbleNigga(m): 4:37pm On Nov 12, 2018
afonja112:
It does not come with php and has to be installed separately. If you are running php in some cpanel hosting, you need to enable mcrypt from the settings.
If it is not present at all, it will need to be installed and included into the php config.

Thanks sir. I really appreciate.
Programming / Re: Highly Lucrative Job For Nigeria-based Developers by DHumbleNigga(m): 4:35pm On Nov 12, 2018
Lol.. You be scammer.
U think say good developer go pay to get hired.

My brother you dey whine because i know the IQ of my fellow developer,ur format is too weak for logic gurus.
Programming / MCRYPT Function In Php by DHumbleNigga(m): 11:31am On Nov 11, 2018
Is mcrypt package an inbuilt package in php ?
Or one is going to download the package separately.
Php gurus help a brother .
Health / Re: Sweating On The Palms, How Do I Stop it? by DHumbleNigga(m): 4:07pm On Nov 02, 2018
Priceyk:
Good afternoon house, please am always sweating on palms, I was told not to consume too much salt and I have strictly adhere to it. It is really becoming embarrassing..


Sister, yu are not the only one.
My advice.
Please don't take too much salt.
Within days you go see changes

1 Like

Programming / Re: I Changed My Life With One Book. by DHumbleNigga(m): 1:38pm On Aug 02, 2018
Yeah, the book is good ....I have it electronic fomat(pdf)
Romance / Re: Does Age Really Matter For A Romantic Relationship? by DHumbleNigga(m): 5:55pm On Jan 02, 2018
Franky826:


Lol bro is obviously new in the game
Lol..
My guy u be bomb oo.. .U Just dey fire everywhere grin grin grin

1 Like

Romance / Re: Girl Replies A Guy On Facebook After 5 Years After She Saw A Pic Of Him In US by DHumbleNigga(m): 7:36pm On Sep 14, 2017
grin grin grin grin
Celebrities / Re: Mr Eazi's Outfit To Beat FM That Has People Talking: Hit Or Miss? by DHumbleNigga(m): 7:25pm On Sep 14, 2017
MISS+MISS= ?
Romance / Re: Is The Guy Too Cheap Or Is The Girl Too Greedy?? See Pictures by DHumbleNigga(m): 10:55am On Sep 14, 2017
The girl is too greedy..

1 Like

Travel / Re: Car Rammed Into Pap Seller, Injured Her And 2 Of Her Grandchildren In Abeokuta by DHumbleNigga(m): 3:31pm On Aug 07, 2017
These incident happened in my area this morning..
Both the grandchild are safe.
I thank God,they are all safe.

1 Like

Celebrities / Re: Demmie Vee: Greeting Lil Kesh Was My Biggest Regret Ever by DHumbleNigga(m): 8:23am On Jul 13, 2017
Dat lil kesh is stupid.."No Love in Industry" yet someone show u love,u snub him..
With all d noise u ar singing
Romance / Re: Ladies If A Guy Rapes You With A Condom Could You Consider Forgiving Him? by DHumbleNigga(m): 1:01pm On Jul 11, 2017
Rape na rape undecided
Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 4:25pm On Jun 07, 2017
Dimples129:



Aaaah! Welcome lil bro! Yous a baby grin

I'm new too... Oya welcome me now! angry
Welcome dear
Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 4:19pm On Jun 07, 2017
Dimples129:
If you had a picture, I would've welcome ya angry

Go sit your faceless asss in that corner grin
Oya welcome me,i av uploaded my profile pics.
Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 4:10pm On Jun 07, 2017
MsRoe:
Wow, I didn't do this when I was new to NL or Romance section.........I guess I missed an opportunity.

Welcome, new guy. Hope you'll be one of the good ones.
Thanks dear
Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 3:03pm On Jun 07, 2017
NoFavors:
You're new here, so? We should roll out carpets and drums?
No need 4 dat.
Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 2:39pm On Jun 07, 2017
SorftWerk:
If u were a lady now, u would see pple to welcome u but for being a guy, manage any thing u see...welcome bro.
Thanks bro

1 Like

Romance / Re: I Am New Here: Welcome Me by DHumbleNigga(m): 2:24pm On Jun 07, 2017
whitebeard:
Pls behave well so as not to get your name on NCAN watch list




OFFICE OF NCAN PUBLIC RELATIONS.
grin ..Thanks bro

(1) (2) (of 2 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 44
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.