There are many methods that you can use to shut down your computer. The normal way is click on Start > Turn Off Computer > Turn Off. But here I will share with you how you can shut down your computer in different ways.
1. The fastest way
I always do this when I want to shutdown my computer. Just press the Windows key (on the keyboard) and press U key two times.
Do you want to change your FeedBurner Headline Animator from the old-school style
to like this
Some of you may already knew about it. Now we can use our own custom image for our headline animator. Just create your own design, then go to FeedBurner account. Under Publicize, go to Headline Animator and in Customize Your Headline Animator, choose “Design your own…”.
There you can customize the title, date and headline for your headline animator. You can decide the colour, font size and width. And you also can drag to arrange them on your image.
Btw what do you think with my feed animator design? The idea I use is from this Wordpress theme. Lol… [tags]feedburner, headline, animator[/tags]
James emailed me on how I display my adsense in certain posts. As you can see on my homepage, there is an adsense above the content in my first post. And after the first post, there is another post that has adsense but without content. To do it, you just need to put a counter. We create the counter by using PHP.
First we need to declare the variables that we want to use.
$postnum - This variable use for count how many posts in the loop $showads# - This variable is use the adsense that we want to display.
Note: Replace the # with number, eg: 1, 2, etc.
Ok here is the trick. Put this PHP code before the loop.
Code (php)
<?php
$postnum = 1; //Define the initial value
$showads1 = 1; //This mean it will be display in post #1
$showads3 = 3; //This mean it will be display in post #3
As we know, Firefox has problem with the memory usage. It makes the Firefox load slow, use too many resources and drag our computer down. Here are 5 tips on how you can use to handle and improve Firefox memory usage.
1. Reduce memory usage when minimize This tip will reduce the memory usage when each time you minimize your Firefox. Actually what it does is, Firefox will let Windows to claiming back the memory used when it minimize.
Start up Firefox
Type in about:config in the address bar and hit Enter
Right click and choose New > Boolean
Type config.trim_on_minimize in the pop-up box and hit Enter
Select True and hit Enter.
Restart your Firefox
2. Fixed cache capacity Every time new page is loaded, Firefox will cache the page so it doesn’t need to load again to be redisplayed. By default, this setting was set to -1 which mean, Firefox use the cache memory depends on your RAM size. Here is how to fix the cache capacity use for your Firefox.
Start up Firefox
Type about:config in the address bar and hit Enter
In the filter, enter this string browser.cache.memory.capacity
If you set to 0, Firefox will not cache any pages. If you want to customize to other value, read here.
Note:browser.cache.memory.enable must be True if you decide to change the integer.
How do you test your PHP scripts? Upload them to your website server and test them one by one, or you test them locally on your computer first before upload them to the server?
To test my PHP files, I use WAMP . With WAMP, you can make your computer act as a website server. Before I knew about WAMP, I always upload my PHP files to web server to test them. But after one of my friends, name Azhar (I called him Ja’a) told me about WAMP, I now will test the scripts locally in my computer before I upload them to my site. [tags]wamp, wampserver, php[/tags]
What is WAMP?
WAMP is stands for Windows - Apache - MySQL - P HP. These are services that are needed to make your computer act as a server. When you install WAMP, WAMP will automatically configures them to work together. So you can test your scripts before you upload them to your server.
For those who like to put Copyright [year] in footer might like this trick. It is just simple trick by using php date function. Usually we see a copyright at footer like this:
We knew that Firefox has problem with the memory usage. Sometimes it can reach to hundreds of megabytes. But here is a tricks on how to reduce the memory usage when you minimize your Firefox.
Type about:config in Firefox address bar and press Enter.
Right click in the page and select New > Boolean.
Type config.trim_on_minimize in the box that pops up. Press Enter.
Select True and then press Enter.
Restart Firefox.
What it will do is, when each time you minimize your Firefox, the memory usage will dramatically drop down to 10Mb (this is what happen on my PC) but then it will slowly increase up to 50Mb. When you maximize it back, it will stay on 50Mb or maybe 70Mb.
Note: This is only to reduce the Firefox memory usage when you minimize it. Not to fix them.
Every links that you have typed in the address bar will be stored in History. And you can clear all those links at once by clearing the History. But how you can delete individual links from the address bar?
Mozilla Firefox
To delete spesific url from Firefox address bar is really easy. You just need to SHIFT-DELETE the url and it will be gone.
Internet Explorer
To do this in IE is a little bit complex. Because you will play with the registry. So backup your registry before you proceed.
Close your IE.
Run regedit.exe from Start > Run.
Go to this tree: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs
Delete all numbered urls that you don’t wish to visiable in IE address bar. But make sure you renamed the urls in sequential order start from url1, if you delete only certain keys.