This file contains 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/bash | |
ruby_version=2.1.1 | |
folder_name=macvim-rails-speed | |
gemset=macvim-rails-speed | |
rails_version=4.0.3 | |
source "$HOME/.rvm/scripts/rvm" | |
#----------------------------------------------------------------------------- |
This file contains 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
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
This file contains 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
#!/usr/bin/env ruby | |
# Recursively process all the @2x images to create the 1x images alongside them | |
# If you've used this script in the past, you may only want to process any @2x | |
# images that are newer than the 1x images you already have. | |
require 'find' | |
require 'fileutils' | |
mode = ARGV[0] |
This file contains 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/bash | |
# Usage: | |
# (first time) | |
# ./anujypants.sh from_scratch | |
# (subsequently) | |
# ./anujypants.sh | |
#----------------------------------------------------------------------------- | |
# Load RVM into a shell session *as a function* |
This file contains 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
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now vim acts like a specialized application for learning vim | |
" type ,c (that's comma c) | |
" You don't really know the command at all and want to see it again soon. | |
" ,c moves the current command down a several positions in the 'Study' stack | |
" so you'll see it again soon. | |
nmap ,c ^v/^$<cr>dma/^$<cr>/^$<cr>/^$<cr>/^$<cr>jP'azt<c-y><c-l> |