Skip to content

Instantly share code, notes, and snippets.

@lamchau
Last active August 29, 2015 14:20
Show Gist options
  • Save lamchau/2f8939cc6a13b8981be7 to your computer and use it in GitHub Desktop.
Save lamchau/2f8939cc6a13b8981be7 to your computer and use it in GitHub Desktop.
windows:
todo = "!f() { git diff $1 -STODO | grep -E '\\+\\+\\+|TODO' | sed 's/+++ b\\//\\n/' | sed 's/\\+\\s*\\/\\// */'; }; f"
unix:
todo = "!f() { git diff $1 -STODO | grep -E '\+\+\+|TODO' | sed 's/+++ b\//\n/' | sed 's/+\s*\/\// */'; }; f"
@lamchau
Copy link
Author

lamchau commented May 8, 2015

path/to/a.js
  * TODO: connect to API
  * TODO: refactor
  * TODO: validate stuff

path/to/b.js
  * TODO: apply scale/transform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment