All Posts

jDCBot nearing its finale – The 1.0 milestone

The open source project DC client framework jDCBot (http://jdcbot.sourceforge.net) I have been working on is now nearing its 1.0 milestone. Version 1.0 means that it will have all the required features that a DC client framework should have, like – managing shared files, hashing them, creating file lists, queuing downloads and resuming them when the […]

Rush Hour 3 – Review

Yesterday I saw Rush Hour 3. I know it was released long ago, in fact one year ago, but I have much less time or rather I love to do others tasks more and so movie watching takes a back seat. Anyway back to the movie. This is one of the most ridiculous movies I […]

Get my Javadoc StyleSheet – Red N Black Theme

I recentry created the brand new site for jDCBot (http://jdcbot.sourceforge.net ). For the Javadoc section I wanted the Javadoc to match the site’s red and black theme. Below is its screenshot. Click on it for a better view, or even better visit jDCBot’s site (link is above) and goto to the Javadoc section. Well anyway, […]

Make the top bar (navbar) disappear.

I once made a similar post. That trick no longer works since blogger.com’s upgrade. Now I have a new cleaner and better trick to make the top banner disappear. Add a new HTML/Javascript widget to your template. Now in this template add the following code. <!–exclusively BY APPLEGREW (applegrew.blogspot.com),HIDES Navbar –><style type=”text/css”>div#navbar { display: none; }</style><!–end […]

My first GreaseMonkey script: Blogspot Post PrintView

My first GreaseMonkey script. It provides print option for your posts hosted in blogspot.com. When this script is running a ‘Print’ option will appear next to post’s date header. It depends heavily on the internal code of the template, hence it can very well not work on many non-stock themes and some stock themes. You […]

Grep: The single most useful command of Linux.

I love Linux. Why? Because it has so many cool cool cool … commands like grep, sed, find, etc. Of all the commands, I use grep the most. If grep is taken out of Linux then I will be severely crippled. Almost everyday I need to use it. I will give you a recent case […]

Find the number of lines of code your project has.

After completing a big and satisfying project you may want to collect various stats about your project. One of them is the total number of lines of code your project has. As with all big projects it will probably have large number of files tucked into various directories and sub-directories and sub-sub-directories,…. you get the […]

Peach: Big Buck Bunny…. Coming Soon

To download the trailer in HD and other resolutions or find several mirrors, click here Hi Definition streaming version This movie is coming soon near you, and what’s more this movie is completely FREE! You can also get the original source of the movie for free again. This is an Open Source Movie!!! Visit its […]

BackRub: The former Google

Today I sumbled upon this site – BackRub.c63.be. Backrub is the former name of Google. On that site you will find an archive of pages from the earliest days of Google. So goto http://backrub.c63.be and have a view at the giant’s past. 😀

Get the Wikipedia database!

Wikipedia, possibly world’s largest encyclopedia. It has over 2 million articles. I sometimes shudder at the thought that someday (maybe) if (for some reason) Wikipedia shuts down then what will happen to vast amount of data we have now! Surely, this hears like a dooms day, which we assume it will never ever happen. I […]

magic_shutdown: Shutdown computer remotely using Magic Packet

The title says it all. If you don’t know what a Magic Packet is then read here. Below is the code of a shell script (I call magic_shutdown) that uses tcpdump to listen for Magic Packets. When it receives on then the shell script verifies its content to make sure that this packet was meant […]

Turn on (power on) your computer remotely

I was scanning the net today for ways to turn on any computer remotely. The solution I stumbled upon was Wake-On-LAN (WOL). (Read more) What’s more good, is that most of the computers sold today support this feature. To know if your system supports this feature or not run the following command sudo ethtool eth0 […]