You just picked up this framework named Django, played around with it’s ORM for a while and you love how easy you can work with it. You start to notice that your perfect page is taking ages to load. You check your django-debug-toolbar and you find that your view has more than 100 queries!!! This … Continued

Once you have a site on production, new needs start showing up. For us one of those needs was to be able to send information to our users when something was happening to the application, like some update or maintenance. There are two simple approaches to this issue: Create a notification system and send the … Continued

Since the moment i started using SSH to manually configure my servers i noticed the issues with this approach. I was going over and over to my servers to perform the same tasks. If i am doing the same thing every time, why can’t i just write a script to automate the process? Well, you … Continued

  WHM/CPANEL is the most popular Shared Hosting panel in the world, even if It is used mostly for HTML/PHP, it comes with a very good interface to manage and assign users and resources to users willing to host 1 or more websites. Every time an user creates or modifies information about a site, host, … Continued

Sometimes It’s necessary to rename files following some patterns. Do this task manual is a long task, if you thousand of files. For this reason, I use rename command: Debug and preview: $ rename’REGULAR EXPRESSION’ files -n   Some of the most common expressions I use are: Convert filename to lowercase: $rename ‘y/A-Z/a-z/’ * Add … Continued