Skip to content

Instantly share code, notes, and snippets.

@rorlab
rorlab / Gemfile
Created May 24, 2014 06:24 — forked from remino/Gemfile
# Gemfile
gem 'kramdown'

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt

Usage

= social_link_to "Tweet", 'twitter', { url: object_url(@object), text: @object.title }, 'data-share' => 'twitter'
@rorlab
rorlab / gist:4959765
Last active December 13, 2015 18:59 — forked from jasoncodes/gist:1223731
# The latest version of this script is now available at
# https://github.com/jasoncodes/dotfiles/blob/master/aliases/rbenv.sh
VERSION=1.9.3-p385
brew update
brew install rbenv ruby-build rbenv-vars readline ctags
if [ -n "${ZSH_VERSION:-}" ]; then
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.zshrc
else
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile