Since quite some time, Google Reader has included the feature to share interesting items with your friends who also use Google Reader. Some time back they also added the option to “Share with a Note” to add your take to the shared piece. But I always thought there was no way to share back by comments (or see my friends’ take) about that particular article. One way could have been to post the comments on the original site of the article but that had the drawbacks that:
Comments In Google Reader Shared Items Are Here
Shutdown Script For Asus WL-500W With Oleg Firmware
If you have an Asus WL-500W, the DIYers’ favourite wireless router, and have installed the Oleg custom firmware on it, then you would have set up a shutdown script for it, that allows your router to shut down gracefully. This is especially important if you have a USB hard disk attached to it. There are many such scripts available in Oleg’s firmware that you can tweak. All of these reside in “/usr/local/sbin/”. The one that we are going to talk about today is named “pre-shutdown” and it is exceuted just before the router is about to shutdown. Here is my script that will stop all the programs that have been started, finalizes all data accesses for the hard drive, unmounts all the partitions and if they can’t be unmounted, then mounts them as read only to reduce the risks, and then allows the router to continue shutdown. Although this script is written for Asus WL-500W but it will work with most other routers that use oleg or unslung firmware (like Linksys NSLU2, Asus WL-500G, WL-500gP etc):
[TIP] Add Directories Recursively To Perforce (P4) Depot
Perforce is an excellent revision control system for the code but the GUIs (P4WIN and P4V) are too slow to be productive. Hence, I like to do most of my work through command lines. Now, the other day I needed to add a directory and all its subdirectories and files to the repository (or perforce depot). This is a trivial task through the GUI. Just drag the top level directory onto the changelist area and the GUI takes care of everything but there is no straightforward way to do this through command line, until, I discovered the “-x” option of P4. So, here it is how to achieve this. Run the following command after cd’ing to the directory you want to add:
Project: My WordPress Plugin Shantz WP Prefix Suffix Updated to 1.1.4
Here comes another update, and this time it is a majorly recommended one. For those who are still living under a rock (just kidding :P), this is a plugin that allows you to add any kind of text/html/css/php/javascript code to any of your posts or pages with lots of controls over what to display, where to display, etc etc. So, you could use it as an ad-manager or a copyright notice adder (to thwart those feed scrapers) or just add some friendly messages or related posts, etc for your readers.