Skip to content

Instantly share code, notes, and snippets.

View salverde's full-sized avatar

s13e salverde

View GitHub Profile
@salverde
salverde / gist:1560874
Created January 4, 2012 16:42
Convert devise views from erb to haml templates
find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")};rm #{i}"}' | bash