This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Communication style: ASD-STE100 Simplified Technical English | |
| All assistant responses MUST use ASD-STE100 Simplified Technical English. Rules: | |
| - Use only approved STE vocabulary. Do not use jargon, slang, or unapproved synonyms. | |
| - Each word has only one meaning. Pick the approved word that says what you mean. | |
| - Keep sentences short (target 20 words or fewer). One topic per sentence. | |
| - Use the active voice. Make the subject do the action. | |
| - Use simple verb tenses: simple present for descriptions, imperative for instructions, simple past for completed work. Do not use the progressive or future tenses | |
| unless necessary. |
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unicorn_rails -c /data/github/current/config/unicorn.rb -E production -D | |
| rails_env = ENV['RAILS_ENV'] || 'production' | |
| # 16 workers and 1 master | |
| worker_processes (rails_env == 'production' ? 16 : 4) | |
| # Load rails+github.git into the master before forking workers | |
| # for super-fast worker spawn times | |
| preload_app true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class TmuxForIterm2 < Formula | |
| url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120108.tar.gz' | |
| md5 'f15d9f567b9b029482bb7b3227ee7ac3' | |
| homepage 'http://code.google.com/p/iterm2/downloads/detail?' + | |
| 'name=tmux-for-iTerm2-20120108.tar.gz' | |
| depends_on 'libevent' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Surround these with : e.g. :calling: | |
| +1 | |
| -1 | |
| bulb | |
| calling | |
| clap | |
| cop | |
| feet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/dev/null | |
| # This 'script' is a set of instructions for preparing and bundling an Arch | |
| # Linux AMI for Amazon's EC2. Bits are to be run on three different | |
| # computers, and there is interaction required, so please follow along and | |
| # run commands individually. | |
| # PROTIP: THESE DON'T ACTUALLY WORK. That's why I'm pasting them here, | |
| # attemping to get some input on what I'm doing wrong. When the instructions | |
| # are ready for prime-time, I'll clean them up and post them to my blog. If | |
| # you're really interested, watch for it there: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| curl http://gist.github.com/raw/323731/install_homebrew > install_homebrew.rb | |
| ruby install_homebrew.rb | |
| rm install_homebrew.rb | |
| echo "PATH=/usr/local/bin:/Developer/usr/bin:\$PATH; export PATH" >> ~/.profile | |
| source ~/.profile | |
| echo "Your path is now $PATH" | |
| brew install git | |
| brew update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## I18n backends benchmarks | |
| # | |
| # All these benchmarks were performed using REE with the suite at | |
| # at http://github.com/svenfuchs/i18n/tree/master/benchmark/run.rb | |
| # | |
| # When compared to ActiveRecord backend, Redis and Tokyo | |
| # just cannot store procs. All other tests pass. | |
| # | |
| # Used rufus-tokyo (1.0.7) and redis (2.0.0) as gems and N = 10. |
NewerOlder
