Skip to content

Instantly share code, notes, and snippets.

Last active April 30, 2016 08:10
What would you like to do?
wip: extract all uniq font awesome
grep -r "fa-" \
--include=\*.{rb,haml,jst,js} \
--exclude=\*xregexp\* \
--exclude-dir={public,.//app/assets/javascripts/i18n,.//app/assets/javascripts/i18n/web} \
./ \
> icons.txt
ruby -e '"./icons.txt").scan(/(fa(?:-\w+)+)/).flatten.uniq'
#TODO: custom build via font fontello_rails_converter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment