Token Based Authentication in a Cordova App

Sept. 19, 2016 |  authentication  cordova  token 
Any web based service that provides a mobile client requires some form of authentication before the user can access their permitted resources. The simplest approach is to require the user to enter their username and password for every session (or after the

How to setup PostgreSQL on Linux for Django

March 1, 2016 |  django  postgresql 

Persistent 'undo' in ViM

Dec. 8, 2015 |  undo  vim 
I love [ViM](http://www.vim.org/). It's universality, simplicity and keyboard-only-controllability appeals to me tremendously. I hear Emacs is better, but I can't be bothered to learn it. ViM suits me just fine. However, there's one ViM shortcoming that ha

Practices to reduce memory leaks in C++

Dec. 4, 2015 |  CPP  RAII 
One of the fundamental differences between C++ and the more modern and if I dare say popular programming languages such as Java and C\#, is the lack of a garbage collector in C++. Often this is used as an example to portray how C++ has not kept up with the

Django Localization Issues and Solutions

Nov. 10, 2015 |  internationalization  django  localization 
Django has excellent support for building a multi language multi culture application. However, there are a few interesting bits about its implementation of the internationalization feature that can prove to be minor annoyances in truly localizing yoru web