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. |
Last revised on [DATE]
[COMPANY] will collect certain non-personally identify information about you as you use our sites. We may use this data to better understand our users. We can also publish this data, but the data will be about a large group of users, not individuals.
We will also ask you to provide personal information, but you'll always be able to opt out. If you give us personal information, we won't do anything evil with it.
NewerOlder