Stephen R. Blair
Stephen R. Blair

PHP Perfect Shower

by Stephen Blair on Jun.17, 2009, under A PHP Life

If your shower knew PHP, you would have a perfect shower every time!


// PHP Perfect Shower | Stephen R. Blair | www.srblair.com

require_once('water_control.php');

// Run the hot water if it is not already running
if(!isset($hotWater)) {

	$hotWater = true;
	hotWaterTemp(); //Get the hot water temperature

}
// Run the cold water if it is not already running
if(!isset($coldWater)) {

	$coldWater = true;
	coldWaterTemp(); //Get the cold water temperature
}

$targetWaterTemp = '107'; // Your ideal water temperature in degrees

$currentWaterTemp = $hotWaterTemp - $coldWaterTemp; // The current water temperature

// Adjust the hot and cold water until desired temperature is met
while($currentWaterTemp != $targetWaterTemp) {

	if($currentWaterTemp > $targetWaterTemp) {

		moreColdWater(); // Add cold water if it is too hot

	} else

	if($currentWaterTemp < $targetWaterTemp) {

		moreHotWater(); // Add hot water if it is too cold

	}

}
Bookmark and Share

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to StumbleUpon] 

Leave a Comment :, , , , , more...

How to Make a Fortune on the Internet: A Guide for Anyone Who Wants to Create a Massive – and Passive – Income for Life

by Stephen Blair on Jun.02, 2009, under Online Real Estate

How to Make a Fortune on the Internet: A Guide for Anyone Who Wants to Create a Massive - and Passive - Income for Life

If you can point and click a mouse, type on a keyboard and have a basic grasp of the English language then you can make a fortune on the internet. If you know what to do, this book will show you exactly that.The internet is not an emerging market; it is an exploding market. Only 3.1 per cent of total sales took place on the internet last year. This is set to grow to 20 per cent by 2010. Do you want a piece of the pie? AUTHOR BIOG: Ajay Ahuja started his online business in October 2003 with absolutely no technical knowledge and has experienced online sales of over GBP 2m amassed from just a computer, a broadband connection and a bit of spare time. Ajay knows the sites and software that will save you your precious time and money and – used right – make you a tidy stream of cash. Ajay has been interviewed many times in the national press for his expertise in property investment, and was featured in BBC2’s The Money Programme: Fly-to-Let. His other books include Beating (more…)

Bookmark and Share

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to StumbleUpon] 

Leave a Comment :, , , , , , , , , more...

Twipping Point – When to say goodbye to a fellow tweeter?

by Stephen Blair on Jun.02, 2009, under General Posts

With the exploding popularity of Twitter has also come a new form of annoyance that some would even call SPAM if you have hit their twipping point. Most of us love all of the information and entertainment we receive from our followers and those that we are following, but there are some tweeters out there that we just need to let go of, wave goodbye to (or sneak away quietly) and stop following. Have you come across this tweeter? This person thinks that everyone wants to know every single website they visit throughout the day or a play-by-play of their average and ultimately boring day.

I personally run into this a lot following people who tweet in the personal finance and entrepreneurship categories. Many of the these tweeters that I have said goodbye to either tweet non-stop affiliate links to junk or tweet every single money making tip article and website they can possibly find on the internet.

I have also said goodbye to some tweeters that post absolutly everything they do during the day. I don’t really need to know that you are stopping at the gas station or getting food for your dog. Although, if you are stopped at the gas station and get a picture or video of someone driving off with the pump still in their car, that is entertainment I definatly want to see and will enjoy!

What is your twipping point? Is it someone who tweets more than five to ten times a day, five to ten times a minute? Someone who tweets about crap that no one could possibly be interested in? Could it even be someone who does not tweet or doesn’t tweet enough to keep you interested in following them?

Please post some comments here! I would really love to read about your twipping point. I can’t be the only person who says goodbye to fellow tweeters and these can’t be the only reasons. Let’s hear them!

Bookmark and Share

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to StumbleUpon] 

Leave a Comment :, , , , , , , , , , , , more...

eBay Fortunes

by Stephen Blair on May.26, 2009, under Online Real Estate

eBay Fortunes

How To Quickly & Easily Make AFull-Time Income From eBay –Starting Today … Even If You’reBrand New To The Net!Since 1999, people just like you and me have been wondering about the secrets found in eBay Fortunes and some of us have been confused about how to get started. Well eBay Fortunes puts an end to the confusion and gives us a tremendous opportunity to earn a great part-time and some have been making a full time income from the information contained within eBay Fortunes. I was lucky enough to speak with eBay Fortunes for a full 90 minutes recently, picking their brains about every single aspect of the eBay Fortunes eBook. And I’m making every single word available to you. Here is just a taster of what you’ll discover:

(more…)

Featured:

Bookmark and Share

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to StumbleUpon] 

Leave a Comment :, , , more...

Affiliate Millions: Make a Fortune using Search Marketing on Google and Beyond

by Stephen Blair on May.19, 2009, under Online Real Estate

Affiliate Millions: Make a Fortune using Search Marketing on Google and Beyond

Affiliate Millions For more than a decade, the Internet has allowed people to make substantial amounts of money on both a full-time and part-time basis. Today, with even more online opportunities available than ever before, you can achieve a level of financial success that most people only dream about-and in Affiliate Millions, author Anthony Borelli will show you how. With the help of coauthor Greg Holden, Borelli will show you how to make thousands, and eventually tens of thousands, of dollars each month through the process of paid search marketing and affiliate advertising. Along the way, they’ll also share the secrets to mastering this often-overlooked strategy and provide you with the tools and techniques needed to maximize your potential returns. Since making one million dollars through paid search marketing and affiliate advertising in his first full year of operations, Anthony Borelli has never looked back. Now, he wants to help you do the same. (more…)

Bookmark and Share

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to StumbleUpon] 

11 Comments :, , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...