Skip to content

Instantly share code, notes, and snippets.

@Fykec
Fykec / tw.gitconfig
Created August 28, 2013 11:44
TextWrangler as git mergetool
[diff]
tool = "twdiff"
[difftool]
prompt = false
[difftool "twdiff"]
cmd = /usr/local/bin/twdiff --wait --resume "$LOCAL" "$REMOTE"
[merge]
tool = "twdiff"
[mergetool]
@TotallyGatsby
TotallyGatsby / gitignore Unity
Created June 18, 2012 06:15
Unity .gitignore file
#This is the git ignore file used in Duck Hunted
#Note that ! negates an ignore. We ignore everything in Library then
#un-ignore the metadata folder and some specific files
#Use at your own risk, this may totally destroy your project, but it worked for us
#NOTE: this will cause your collaborators to re-import assets periodically
Temp/*
Library/*
Build/*
@mudge
mudge / application_helper.rb
Created November 7, 2008 14:40
Maruku helper for Rails.
# For Rails 2.3.2 or earlier.
require 'maruku' # or use config.gem "maruku" in environment.rb
module ApplicationHelper
# Replacement for Rails' default Markdown helper which uses Maruku instead
# of BlueCloth.
def markdown(text)
text.blank? ? "" : Maruku.new(text).to_html
end