With the recent Django 1.5 release, we now have the choice to create custom user model instead of the default user model that came with
Two important use cases this release resolved were the ability to easily extend user profile and fix ...continue
These days, it seems that businesses are finally starting to be more comfortable with the Bring Your Own Device (BYOD) policy which allows employees to use their personal devices to access privileged corporate information.
Device manufacturers have also started to push their own flavor of cloud ...continue
Installing M2Crypto, a feature-rich Python wrapper for OpenSSL, should be a simple matter of running
pip install M2Crypto. However, it seems that on CentOS, RedHat or other Fedora Core-based distributions, especially 32-bit operating system running on 64-bit hardware, it is a bit tricky.
Here are the ...continue
When dealing with displaying large html content, we need a way to generate its summary and a “read more” or “continue” link to the full article.
This is a simple matter of truncating the html content at a defined maximum word count and adding the convenient ...continue
Once in a while, you just want to display a collection (or more) of images with different dimensions. The problem seems easy enough.
The task of manually creating thumbnail for each image is quite tedious and it’s definitely not worth the trouble to write a ...continue
Other than our short temper, my brother and I share little in common. Our hobbies and activities are also completely different. While I love arts and technology, he is an accountant, a true “foodie” and an avid fisherman.
Having said that, I love my brother dearly ...continue
Let’s move beyond the when and why of a personal blog of a web developer and discuss the what and how. The current trend seems to favor the static site generation route and I agree whole-heartedly. Static pages are easier and faster to host and ...continue
I visited Viet Nam in the summer of 2008 and jotted down some memories. This was written on June 4th, 2008
I felt the smooth and squishy earth between my toes. That was last week. Standing in a flooded rice paddy with water just above my ...continue
Starting a personal blog is something I have wanted to do for a very long time. However, my priority list tends to favor non-personal action items.
As a web developer, technology consultant and especially as a bootstrap startup enthusiast, it makes sense to produce work that ...continue