Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
Getting started:
Related tutorials:
| from django.http import HttpResponseRedirect | |
| from django.conf import settings | |
| from re import compile | |
| EXEMPT_URLS = [compile(settings.LOGIN_URL.lstrip('/'))] | |
| if hasattr(settings, 'LOGIN_EXEMPT_URLS'): | |
| EXEMPT_URLS += [compile(expr) for expr in settings.LOGIN_EXEMPT_URLS] | |
| class LoginRequiredMiddleware: | |
| """ |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
UPDATED I've made some updates to the handlebars-json.py script.
See more in the Usage section below.