Rahul's Tech Blog

Developer Zone

what is image_styles in drupal 7

By now if you have started working on drupal7, you might have faced problems with images. Its because drupal has totally revamped its image handling mechanism. I did some digging for maybe 30 mins and I was totally amazed with improvements. In this post I will be talking about image_styles. To understand image styles you [...]

Load test your website using ab (apache benchmark)

What is load test and why is it necessary? Load test is the process of putting load on system and testing its response, its a way to determine how your system reacts under heavy load. You need load test for a website to determine possible issues which you may face under heavy traffic environment. For example http [...]

, , , ,

Embed PHP Code in CSS files.

Have you been embedding CSS Styles into PHP files just for the sake of making the styles dynamic? Ever wished to add PHP codes in CSS files itself. Here is a simple trick which will do the magic. Create a .htaccess file in your project directory preferably inside the directory where CSS files are stored. [...]

Ubuntu: get notified after a terminal based process ends

So u have given a SVN Checkout command or apt-get install command which will take unexpected time to end. Here is a way to get notified when process ends. Just append notify-send “Complete”; to the command For example You want to execute sudo apt-get install -big-software- and want to get notified after installation.Then use following [...]

, ,

Installing Linux in pen drive

Last night my computer’s hard disk crashed. Thankfully it was under guarantee period so I gave it for repairing. Computer’s hardware was lying worthless in my desk, and I got a rare chance of experimenting. So I decided to install linux in a pen drive, although I could do that even if HDD was present, [...]

, ,

Solve kaspersky’s “blacklist of licenses is corrupt” problem

kaspersky-logo-300x300

Ever faced the problem that kaspersky’s blacklist licenses is corrupt and even updating antivirus does not solve the problem. It generally happens due to power failure which sometimes corrupt license data. Here is a quick solution First disable “Self defense” capability of kaspersky from settings. Then pause kaspersky and delete blacklist files. You can find [...]

, ,

Hack windows password

Here is a small trick to hack your friend’s password. You wont be able to know old password but you surely will be able to change it. Step 1: Just start Command Prompt as an administrator. Goto Start >> All programs >> Accessories >> Command Prompt (Right Click) >> Run as administrator Step 2: You [...]

, ,

Restore your firefox session whenever you want.

Firefox-logo

Ever clicked on Start new session by mistake? Don’t panic, you can still get your session back. Goto navigation bar and type about:sessionrestore and wow you are presented with last session restore screen. Cheers.

, , ,

Restore ubuntu after installing windows

Hello, I saw an article on recovering lost ubuntu after installing windows. I was pretty confident and installed windows 7 on my box. After that I started following the article and I was stuck with a blank grub menu during startup. I booted from ubuntu live DVD and started reading more about restoring grub. Here [...]

, , ,

SEO: Quick (& dirty) tutorial

Here is a letter I wrote to my brother telling him how to do search engine optimization for his website for fast result. I thought I must share it to world so people can  learn and suggest some ammendment(s). _________________________________________________ Hello brother, Here is the tutorial on Site Engine Optimization as you requested. Before website [...]

,

‹ Previous Posts