Simple task, but I always forget details, so putting this script for future reference. It helps you protect your website (for example dev version) via basic http authori…
If you run the following command to install npm package: ``` npm install ``` and get an access error, you might be tempted to run this command with sudo and it…
In addition, you'll find one of the greatest explanations of regex here:[ http://automatetheboringstuff.com/chapter7/]( http://automatetheboringstuff.com/chapter7/). …
## Approach 1 Override all widgets of a given type in a form. In this example we set CKEditor widget for all textfields in the form. ```python # file: admin.py c…
I had a long running process (data import) and encountered **504 Gateway Timeout** error. I use Nginx / uwsgi pair to serve my Django app. After doing some research i…
I've just stumbled upon a very nice style guide for AngularJS on Github: [https://github.com/johnpapa/angularjs-styleguide](https://github.com/johnpapa/angularjs-styleg…

Get More 🔥 Tips

Subscribe to get notified about new dev tutorials