Skip to content

Instantly share code, notes, and snippets.

View shirlston's full-sized avatar

Steven Hirlston shirlston

  • Indianapolis, IN
View GitHub Profile
@gdavis
gdavis / xcode-vim.markdown
Last active July 24, 2024 20:18
Notes for working with Xcode VIM mode

Xcode VIM

Learning VIM in Xcode comes with its own set of challenges and limitations, but there is enough there for you to give your mousing hand a break and master the keyboard.

A limited set of commands are available in Xcode, and this document attempts help ease the learning curve of using VIM in Xcode by providing a handy reference as well as what I find works for me in practice.

NOTE: Commands are case-sensitive. A command of N means pressing shift + n on the keyboard.

This document is a work in progress! Leave a comment if you would like to see a change.

@fernandoaleman
fernandoaleman / fix-libv8-mac.txt
Created May 5, 2016 15:14
Fixing libv8 and therubyracer on Mac
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
@staltz
staltz / introrx.md
Last active July 25, 2024 16:52
The introduction to Reactive Programming you've been missing
@mskeen
mskeen / preview.js.erb
Last active April 25, 2023 09:33
rails: insert a partial via javascript
$('#graph-preview').replaceWith("<%=j render partial: 'preview' %>");
@shirlston
shirlston / i18n.sh
Last active December 31, 2015 09:29
Automate i18n translation rake tasks for Mobi.
#!/bin/bash
# i18n.sh
# Automate rake translations
# syntax:
# i18n.sh <path>
langs=(zh-TW nl fr de it pt es el tr)
@sanemat
sanemat / gist:944064
Created April 27, 2011 11:04
Configure file of git ignore on system wide
echo ".DS_Store" >> ~/.gitignore-system
git config --global core.excludesfile ~/.gitignore-system