Skip to content

Instantly share code, notes, and snippets.

View lossius's full-sized avatar

Trond Lossius lossius

View GitHub Profile
@tlrobinson
tlrobinson / Aperture Rename Dates.applescript
Created December 13, 2012 04:49
Script to rename Aperture projects from "Jan 02, 2012" format to "2012-01-02" format
tell application "Aperture"
set mons to {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
set digits to {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}
set ps to projects
repeat with p in ps
set nameStr to name of p
set yearNum to 0
set monthNum to 0
@fajrif
fajrif / rvm_cheatsheet
Created June 14, 2011 14:11
RVM cheatsheet
RVM home page: http://rvm.beginrescueend.com
Install RVM
------------
See http://rvm.beginrescueend.com/rvm/install/
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Install rvm for all users