Skip to content

Instantly share code, notes, and snippets.

View faustman's full-sized avatar
:dependabot:
I may be slow to respond.

Andrii Tytar faustman

:dependabot:
I may be slow to respond.
View GitHub Profile
@faustman
faustman / img_convert.rb
Created April 4, 2012 23:40 — forked from arirusso/img_convert.rb
convert html img tags to rails image_tag calls
#!/usr/bin/env ruby
require "nokogiri"
# opens every file in the given dir tree and converts any html img tags to rails image_tag calls
#
# example usage:
# ruby convert.rb ~/my_rails_app/app/views
#
# ***be careful and backup before using this***
#
@faustman
faustman / gist:1213496
Created September 13, 2011 09:46 — forked from steida/gist:861916
###*
Copyright (c) 2011 daniel.steigerwald.cz MIT-style license
###
###*
@fileoverview Bootstrap for the Steida JS Library
todo:
add warning about obsolete browsers
###