I hereby claim:
- I am assaf on github.
- I am assaf (https://keybase.io/assaf) on keybase.
- I have a public key whose fingerprint is E318 FD85 22D4 CBAE 142D F811 43A7 A5CA 24D1 FDF5
To claim this, I am signing this object:
| # Run command(s) over SSH | |
| run() { | |
| ssh deploy@${HOST} -t $* || exit 1 | |
| } | |
| # Transfer all the specified files/directories to working directory | |
| upload() { | |
| tar czf - $* | ssh deploy@${HOST} tar xzf - -C /etc/chef || exit 1 | |
| } |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| sh = auto | |
| [color "branch"] | |
| current = yellow reverse | |
| local = yellow | |
| remote = green | |
| [color "diff"] |
| *.swp | |
| *~ | |
| *.DS_Store | |
| .svn | |
| tags | |
| CVS/ |
| # Set the prefix to Alt-A, also support Ctrl-B | |
| set -g prefix M-a | |
| set -g prefix2 C-b | |
| bind-key M-a send-prefix | |
| set -g mode-keys vi | |
| # Switch windows using Alt-Left/Right/Number | |
| # Select window by name using Alt-Down | |
| # Open new window using Alt-N | |
| bind -n M-Left prev | |
| bind -n M-Right next |
| # ---------------------------------------------------------------------- | |
| # SHELL OPTIONS | |
| # ---------------------------------------------------------------------- | |
| # notify of bg job completion immediately | |
| set -o notify | |
| # Prevents history expansion, so commit -m "Yay!" will work. | |
| set +o histexpand | |
| # Warn when trying to overwrite file. | |
| set -o noclobber |
| set horizontal-scroll-mode off | |
| set mark-modified-lines on | |
| "\C-J": menu-complete | |
| "\C-r": redraw-current-line | |
| # By default up/down are bound to previous-history | |
| # and next-history respectively. The following does the | |
| # same but gives the extra functionality where if you | |
| # type any text (or more accurately, if there is any text | |
| # between the start of the line and the cursor), |
| version 7.0 | |
| if &cp | set nocp | endif | |
| let s:cpo_save=&cpo | |
| set cpo&vim | |
| let &cpo=s:cpo_save | |
| unlet s:cpo_save | |
| set cscopeprg=/usr/bin/cscope | |
| set cscopetag | |
| set cscopeverbose | |
| set fileencodings=utf-8,latin1 |
| // Liberally adapted from our test suites, which uses generators for complex steps (before/after/etc). | |
| describe("With new customer", function() { | |
| let business; | |
| let customer1, customer2, customer3; | |
| before(function*() { | |
| // We have many tests, but you can only call listen() once | |
| // on an HTTP server, so this is a case for resolve-once, and | |
| // we use a promise. | |
| yield Server.listen(); |
| #!/bin/sh | |
| # | |
| # Run npm shrinkwrap on every commit, make sure we have the most recent | |
| # dependencies checked into git. | |
| DEPTH=10 # Set this to N to include more descendants in shrinkwrap | |
| PATH=/usr/local/bin:$PATH | |
| # Success or error, npm shrinkwrap will output to both stdout and stderr. | |
| # We're only interested in what stderr has to say when it fails. |
I hereby claim:
To claim this, I am signing this object: