Skip to content

Instantly share code, notes, and snippets.

@selvagsz
Last active November 29, 2018 11:03
Show Gist options
  • Save selvagsz/bac85e8e6f6d04780ba34fccd869bb59 to your computer and use it in GitHub Desktop.
Save selvagsz/bac85e8e6f6d04780ba34fccd869bb59 to your computer and use it in GitHub Desktop.
Util commands/functions across my workflow
  1. git mv *.js to *.es6
find test/javascripts/unit/**/*.js -exec bash -c 'file={}; git mv $file ${file%.js}.es6' \;
  1. generate todo list of usage
grep -rl "{{variant-autocomplete-field" app/assets/javascripts/templates/** | awk '{b="- [ ] "$1; print b}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment