Tips & Tricks

Secure remove folder in Ubuntu

Posted: 9 years ago in  Unix


Safe delete confidential data on Ubuntu server/VPS should be taken care before service termination. View more


Increase file-size limit with Wordpress-Nginx-PHP-FPM

Posted: 9 years ago in  Unix PHP Wordpress


In CentOS with PHP-FPM and Nginx, to change file-size limit, the configuration differ slightly from which in Ubuntu with mod PHP for Apache (libapache2-mod-php5/php5) and Apache. View more


Useful command to manage Ubuntu VPS

Posted: 9 years ago in  Unix


These commands are useful to whoever manage own VPS for the first time and in this article, commands are in Ubuntu system. View more


Convert DateTime in Django from UTC to local timezone

Posted: 9 years ago in  Python Django


In Django's default settings, there are TIME_ZONE and USE_TZ options that define which timezone used in admin.However in views, time fetched from database is usually UTC timezone. To convert it to local time, pytz package will get it done. View more


Work-around to fix Django 1.6 urls.defaults compatibility with thrid-party app

Posted: 9 years ago in  Python Django


Since Django 1.6, running third-party django application, you will get error "ImportError: No module named defaults" View more