Hack sbicapsec.com to run on Firefox
www.sbicapsec.com is State Bank of India’s online share trading portal. This is a good portal but their site’s code quality is amazingly of low quality, dare I say, crappy. SBI being a public sector government institute, we can rest assured that the code quality or bugs in it would not get fixed soon, if ever. [...]
SplitBill: IOU manager for and by Geeks
There are hundreds of IOU softwares on the net. What makes SplitBill different is that it has no UI. Yes, you read that right – No UI. Now the more surprising part. It is a breeze to use and setup. In fact all you need is a sever with Python and MySql installed to host [...]
The Emperor’s Old Clothes
This is a republication from ACM’s archive of Prof. C. A. R. Hoare‘s lecture at 1980 ACM Turning Award. Prof. Hoare is popularly known for inventing QuickSort. The original piece can be found as PDF here. The primary reason for republishing this is the source PDF’s fonts. The PDF fonts are too horrible to read. [...]
Django-Select2: Select2 for Django
Select2 Select2 is an excellent Javascript framework which transforms mundane <select> fields to cool looking and searchable. This is a very handy when there are quite a number of options to select from. Select2 also allows dynamic fetching of options from server via Ajax. Select2′s webpage has a neat demo of this. Django-Select2 Django includes [...]
Our Mobile Planet
Our Mobile Planet. A site supported by Google. We can download helpful charts on mobile usage penetration and behavior. Very helpful for site owners and can help decide if the site needs to have a dedicated mobile website too.
Cocoa with Love: Objective-C’s niche: why it survives in a world of alternatives
Cocoa with Love: Objective-C’s niche: why it survives in a world of alternatives. All Objective-C newbies should read the above (linked) article. It discussed what exactly is “Message Passing” in Objective-C.
Quick bash command to mass rename files in numbered sequence
Just a quick bash command to rename all files in a directory in a numbered sequence. This is going to rename all jpg files in the directory to 1.jpg, 2.jpg, 3.jpg and so on.
ADF Super Code Snippets
Oracle’s ADF (Application Developer Framework) is J2EE technology stack to rapidly develop enterprise applications. As with all enterprise applications, ADF focuses on data handling and makes it quite easy to present the data to the users in variety of ways. As you will already know that ADF is a blanket term which encompasses many layers [...]
How to Reset the Root Password of MySql in Linux
I am posting this for my future reference. Also it my help passers by. If you are using CentOS 6 (maybe others too). To reset the root password use the following steps:- sudo service mysqld stop sudo service mysqld startsos mysql -u root Now you will be at mysql prompt. Here type:- UPDATE mysql.user SET [...]
iFlickr PHP Script: Create mRSS feed of interesting pictures on Flickr.com
Did you notice the “Flickr Gallery” on top right corner of the home page of this blog? The picture slide show is provided by Google’s Ajax Slide Show, but this post is not about that. Google’s Slide Show needs a mRSS feed, which it parses to get the list of thumbnails it wants to present. [...]
Script that notifies via email when your server has updates
If you are the administrator of a server then you definitely understand the importance of keeping your system updated always. The following script will send you a mail whenever your server needs an update. The content of the mail will list out all the available updates. The script Notes: This script has been tested on [...]
Digit Math Application: Proving that all numbers ending with 5 are divisible by 5
Please read Digit Math: Introduction before you continue. The problem It seems I have developed a fascination for the number 5, so here we go again. Here I would be using Digit Math to prove that all integers which end with digit 5 are always divisible by 5. The proof Case 1: Take a two [...]



