A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
------------------------------- ------------------ Django --------------------
| Browser: GET /udo/contact/2 | === wsgi/fcgi ===> | 1. Asks OS for DJANGO_SETTINGS_MODULE |
------------------------------- | 2. Build Request (from wsgi/fcgi callback) |
| 3. Get settings.ROOT_URLCONF module |
| 4. Resolve URL/view from request.path | # url(r'^udo/contact/(?P<id>\w+)', view, name='url-identifier')
| 5. Apply request middlewares | # settings.MIDDLEWARE_CLASSES
Since this is on Hacker News and reddit...
_t in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *s.type * name, however, is entirely intentional.| #!/bin/sh | |
| ProgName=$(basename $0) | |
| sub_help(){ | |
| echo "Usage: $ProgName <subcommand> [options]\n" | |
| echo "Subcommands:" | |
| echo " bar Do bar" | |
| echo " baz Run baz" | |
| echo "" |
| define([ | |
| "underscore", | |
| "backbone", | |
| "marionette", | |
| "vent" | |
| ], | |
| /** | |
| * Creates the primary `Marionette.Application` object that runs the admin framework. Provides a central point | |
| * from which all other sub-applications are started, shown, hidden, and stopped. |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #cloud-config | |
| coreos: | |
| etcd: | |
| # generate a new token for each unique cluster from https://discovery.etcd.io/new | |
| # WARNING: replace each time you 'vagrant destroy' | |
| discovery: https://discovery.etcd.io/new | |
| addr: $public_ipv4:4001 | |
| peer-addr: $public_ipv4:7001 | |
| fleet: |