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. d=0; for i in *.jpg ; do d=$((d+1)); mv {“$i”,”$d.jpg”} ; done 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 […]