$mod refers to the modifier key (alt by default)
startx i3start i3 from command line$mod+<Enter>open a terminal$mod+dopen dmenu (text based program launcher)$mod+rresize mode ( or to leave resize mode)$mod+shift+eexit i3
| # Sets CORS headers for request from example1.com and example2.com pages | |
| # for both SSL and non-SSL | |
| SetEnvIf Origin "^https?://[^/]*(example1|example2)\.com$" ORIGIN=$0 | |
| Header set Access-Control-Allow-Origin %{ORIGIN}e env=ORIGIN | |
| Header set Access-Control-Allow-Credentials "true" env=ORIGIN | |
| # Always set Vary: Origin when it's possible you may send CORS headers | |
| Header merge Vary Origin |
| #!/bin/bash | |
| # git/hooks/post-receive | |
| # add this script to a git repo on a 'remote' server | |
| # to automatically deploy a git branch to either staging or production (or do nothing) | |
| WORK_TREE_PROD=$HOME/production # assumes logged in user HOME/production path is webroot | |
| WORK_TREE_STAGE=$HOME/staging # assumes logged in user HOME/staging path is webroot | |
| GIT_DIR=$HOME/git # assumes remote git repo is in HOME/git (no dot - not hidden) | |
This is an OS X-centric configuration.
The idea here is to use environment variables, loaded via aliases to mutt, to control which account you're loading. Years ago I had all of my accounts configured to be accessible from a single mutt
| set guifont=Monaco:h16 | |
| set transparency=0 |
| #!/usr/bin/env python | |
| """ | |
| getimg.py | |
| Gets the current image of the day from NASA and sets it as the | |
| background in Gnome. The summary / description text is written | |
| to the image. | |
| Requires: | |
| PIL (apt-get install python-imaging or pip install PIL) |