Following this method allows you to create a “shortcut” link on your website which takes your visitor to the real link. This can be done a number of ways, but nothing beats the simplicity of using the .htaccess file. Now this is only for Apache-hosted websites (if you use cPanel you’re in the clear) and [...]
I do most of my work in Vim since it’s the easiest to use without a mouse. Moving between keyboard and mouse can be tiring, especially when coding, so Vim is particularly good at keeping your hands in a stationary position. Granted, the learning curve can be quite high, but there isn’t anything Vim can’t [...]
Previously, I covered a dead simple one-line Perl command to perform a string search and replace over multiple files on the Linux command prompt. While it did its job for me that day, today I had to do the same thing but this time recursively over all subdirectories. For review, the Perl command to do [...]
On Windows, there are a host of nice free editors like Notepad++ to do a search and replace over multiple files quite easily, and that’s exactly how I do it. However, with a powerful command line console at your disposal in Linux, doing the same is as easy as executing a single statement. Now I [...]