Easily open multiple tabs when Firefox starts

March 4, 2010 · 2 Views · Filed Under General, Tips & Tricks · Comment 

Firefox lets you specify more than one site as your home page; each page will open in its own tab when you start Firefox. To specify multiple pages, you separate each address with a pipe character (|) when you set the home page.

Example: http://www.google.com|http://www.0092ff.com

Note: This feature may lead to unexpected results when you try to set your home page to a site that contains a pipe character in the address. To fix this problem, you will have to replace the pipes with their escape code (%7C).

Source: Multiple tabs open when starting Firefox

The main water cooling parts have been ordered

March 1, 2010 · 8 Views · Filed Under General, Hardware, My New PC · 1 Comment 

I’ve received all the parts I listed in the first post, except for my case and it’s supposed to be here today. I’m really excited to get the case so I can start planning everything.

Yesterday, I order all the main water cooling parts and I’ve listed them below.

This is my first time setting up a water cooled system, so I’m sure there are some minor things that I’ll need to purchase as well. Once all the main water cooling parts come in, I can start putting everything together and I can figure out where everything should go.

Once things start coming together, I’ll start posting pictures on here.

Make sure you watch for updates!

Adding the Quick Launch Toolbar in Windows 7

February 24, 2010 · 4 Views · Filed Under Windows · Comment 

1. Right click the Taskbar and select “Toolbars > New Toolbar”.

2. In the “Choose A Folder” window, navigate to:
C:\Users\username\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch.
(Where ‘username’ is the name of the account you are logged on with)

3. Click “Select Folder”. This will add the Quick Launch Toolbar to the right side of the Taskbar.

4. Right click the Taskbar and make sure that it is Unlocked.

5. On the Left Side of the Quick Launch Toolbar you will see 3 vertical rows of Dots. This is the Toolbar Handle. Use the mouse to grab that handle and drag the Quick Launch toolbar as far to the left as it will go.

6. Grab the Handle for the Taskbar Icons and drag it as far to the right as it will go.This should switch the toolbars.

7. Drag the Quick Launch toolbar to the left as far as it will go. This should place it next to the Start Button. Right click an empty spot on the QL toolbar and remove the check marks from ‘Show Text’ and ‘Show Title’.

8. Drag the Taskbar Icons to the left until the QL toolbar is the size you prefer.

9. Right click the Taskbar and select ‘Lock the Taskbar’.

The process of building a new computer has begun!

February 23, 2010 · 100 Views · Filed Under General, Hardware, My New PC · 1 Comment 

I’m very excited to announce that I am going to be building a new computer for my home desktop. It’s been about 7 or 8 years since I built my current computer, so I would say it’s definitely time for a major upgrade. Last night, I order most of the main parts from Newegg.com and I’ve listed them all below.

I also plan on setting it up for liquid cooling, but I haven’t ordered any of those parts yet. I still have some research to do for that part of it.

I will be posting updates on here as things unfold, so you should subscribe to get updated about new posts.

I’m so excited!

Change Your Website’s Appearance With The Weather

February 9, 2010 · 31 Views · Filed Under Tips & Tricks, Web Development · 1 Comment 

This post is based on this tutorial. However, I made a few modifications to the way it’s displayed.

The PHP code is the same and can be seen below:

<?php
 
	/* get the weather from Yahoo */
	$data = get_data("http://weather.yahooapis.com/forecastrss?p=XXXXX&u=f");
 
	$weather_class = format_result(get_match('/<yweather:condition  text="(.*)"/isU',$data));
 
	/* format the result */
	function format_result($input)
	{
		return strtolower(str_replace(array(' ', '(', ')'), array('-', '-', ''), $input));
	}
 
	/* helper:  does regex */
	function get_match($regex,$content)
	{
		preg_match($regex,$content,$matches);
		return $matches[1];
	}
 
	/* gets the xml data from Alexa */
	function get_data($url)
	{
		$ch = curl_init();
		$timeout = 5;
		curl_setopt($ch,CURLOPT_URL,$url);
		curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
		curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
		$xml = curl_exec($ch);
		curl_close($ch);
		return $xml;
	}
 
?>

The only thing you have to change within the PHP is the line below:

$data = get_data("http://weather.yahooapis.com/forecastrss?p=XXXXX&u=f");

Replace the XXXXX with your zip code.

The PHP code goes out and grabs the weather condition from Yahoo. Then you can define a class with it like this:

<div class="header <?php echo $weather_class; ?>">
</div>

After that, we need to style it with CSS and tell it what images to use as the background. With my CSS, I actually include all the conditions, instead of just a few.

.cold,.dust,.foggy,.haze,.smoky,.blustery,.windy,.sunny,.fair-day,.hot{background: url('../images/weather/clear.png') no-repeat top right}
.clear-night,.fair-night{background: url('../images/weather/clear-night.png') no-repeat top right}
.partly-cloudy-day,.partly-cloudy{background: url('../images/weather/few-clouds.png') no-repeat top right}
.partly-cloudy-night{background: url('../images/weather/few-clouds-night.png') no-repeat top right}
.cloudy,.mostly-cloudy-day,.mostly-cloudy-night{background: url('../images/weather/overcast.png') no-repeat top right}
.tornado,.tropical-storm,.hurricane{background: url('../images/weather/severe-alert.png') no-repeat top right}
.hail,.sleet,.thundershowers,.mixed-rain-and-hail{background: url('../images/weather/showers.png') no-repeat top right}
.mixed-rain-and-snow,.mixed-rain-and-sleet,.freezing-drizzle,.drizzle,.freezing-rain,.showers,.scattered-showers{background: url('../images/weather/showers-scattered.png') no-repeat top right}
.mixed-snow-and-sleet,.snow-flurries,.light-snow,.light-snow-showers,.blowing-snow,.snow,.heavy-snow,.scattered-snow-showers,.snow-showers{background: url('../images/weather/snow.png') no-repeat top right}
.severe-thunderstorms,.thunderstorms,.isolated-thunderstorms,.scattered-thunderstorms,.isolated-thundershowers{background: url('../images/weather/storm.png') no-repeat top right}

I’ve also packaged up all the icons that I used. There are three different sizes that you can choose. You can download them from here. They are originally from the Tango icon set.

If you want to see it in action, you visit this site and look in the upper-right corner. If you have any questions, let me know.

Page 1 of 18123456789Last »