The only thing most of the people do on computer is surf the Internet. And for surfing Internet, the best browser, IMHO is Firefox (thankgod, someone made it). I use many plugins in firefox which make my life easier as well as help me in debugging my web applications. I logged back into the windows… Continue reading Moving my firefox profile from windows to ubuntu
My first day on Ubuntu – Installing Ubuntu
It feels so good typing this post in Ubuntu. Finally, I made it. After postponing installing Ubuntu for complete one year due to HDD free-space constraints, I finally dragged my lazy head and burned half a dozen dvds to get free space of 20 GB. I thought it was more than enough, so didn’t burn… Continue reading My first day on Ubuntu – Installing Ubuntu
Get Auto Increment value from MySQL table
Many a times we require the next Auto Increment value from a MySQL table. Most of the people would do something like this: $query = “Select MAX(id) from users”; $res = mysql_query($query); $row = mysql_fetch_assoc($res); $maxid = $row[‘MAX(id)’]; echo $maxid; This would give correct results but if we delete the latest row, it will start… Continue reading Get Auto Increment value from MySQL table
Re-detection of DMA mode in windows xp
My desktop computer was running extremely slow but it wasn’t like this before. Even formatting didn’t help, so I knew for sure that there was a problem with hardware. I was right on that, DMA mode wasn’t being detected by XP. For your knowledge, DMA (Direct Memory Access) is a mode supported by modern hard-disks/DVD… Continue reading Re-detection of DMA mode in windows xp
[Solved] Absolute positioning and screen-resolution problem
Absolute positioning is great for positioning items anywhere on a page but it does not mix well with screen-resolution. It might look fine on your resolution but it might look completely different on another resolution. Element placement changes upon changing the screen resolution or even when resizing the browser window. It is because items positioning… Continue reading [Solved] Absolute positioning and screen-resolution problem
Edit registry without windows
Many a time you will want to edit your registry when you get your windows screwed and it refuses to boot up. You know what changes should be made in the registry to fix the problem, but you don’t have any way to fix it. I had a similar problem and I used this tool… Continue reading Edit registry without windows
Debugging Javascript In Internet Explorer
Internet explorer has always been a programmer’s nightmare. You have finished a wonderful looking site, full of javascript effects just to find out that it doesn’t work in Internet Explorer. Its a real pain in the neck to find out which part of the script is causing errors in Internet Explorer. In Firefox, we have… Continue reading Debugging Javascript In Internet Explorer
The best way to earn online
I’ve come across many sites, forums and blogs teaching thousands of methods to earn online. Some would really zoom past your head if you don’t know basic marketing tricks. There are Paid To Click, Paid to Post, Paid to Read, Paid to Write and Paid To *insert anything here*. XD Anyways, I’ve tried various methods… Continue reading The best way to earn online
Solution to “MySQL Server Has Gone Away” Problem
Seriously guys, I got this error and I was laughing hard. The error is just too funny, don’t you think? Yes, it is but not for developers like me. Problem to this error is almost undetectable and there are more than a dozen reasons as to why this occurs and this often baffles developers. This… Continue reading Solution to “MySQL Server Has Gone Away” Problem
Searching for a text string in all files and directories recursively in PHP
Sometimes you need to edit some part of your website and unfortunately it isn’t made by you. You will, obviously, need to search for the file in which that particular part of site exists. In CMSs/forums/blogs, it get really hard to search it manually. I was having a similar problem. I needed to edit the footer of… Continue reading Searching for a text string in all files and directories recursively in PHP