Behind the Scenes: From HTML Form to Storage
Cross posted from my work blog post
In this post, we are going to see what happens behind the scenes when a file is uploaded to a django powered web application.
An HTML form with a file input (atleast one) and encoding set to multipart/form-data is submitted. The MultiPartParser …
read moreInstalling drivers for Samsung ML-1676 on Linux
Today, I purchased a Samsung ML-1676 Monochrome Laser Printer. I was under the impression that most printers are now supported out of the box but I was wrong. This model of the printer uses a proprietary language called the Samsung Printing Language (SPL) and hence drivers are not included in …
read moreSharing X display over VNC
Backup SMS database on Android
While there are ready made apps that backup and restore your SMSes, you can easily backup the database if you have a rooted phone without installing any external software.
The SMSes are stored in an SQLite database available under:
/dbdata/data/com.android.providers.telephony/databases/mmssms.db
Here is …
read moreMy emacs setup
Cross posted from my work blog...
My colleague Javed had written a fantastic article a short while back on "Seven reasons why you should switch to Vim" and as an emacs user I thought I should share my setup too. One of the coolest things at Agiliq is that we …
read moreChanging fonts for Platypus document templates in reportlab
Summarize commits for the day
Managers will always be managers! Despite having the coolest project management tool (PMT), (D)VCS and what not, they generally request you to send a daily status. You are surprised by this request, especially when an auto generated email is sent for 'every' commit you make, items struck off the …
read moreExtending JQuery UI widgets
JQuery UI is a useful project that provides theme-able widgets built on top of the JQuery project. It has an active community and lots of community contributed widgets that do a lot of interesting and sometimes out of the world stuff!
For a mini-project, I had to work on replicating …
read moreUse the Windows key as Ctrl Key on Linux
Released django-check-constraints
Ever since model validation hit the django trunk, I had been having thoughts of reviving my Google Summer of Code 2007 project. So nearly a couple of weeks back, I started resurrecting django-check-constraints. Today, I released the code into wild here.
The feature of the project is that it not …
read more