Skip to content

Instantly share code, notes, and snippets.

@canalesb93
canalesb93 / .overcommit.yml
Created March 17, 2019 23:13
find-TODOs.sh overcommit hook configuration.
PostCommit:
TODOs:
enabled: true
on_fail: warn
description: 'Checking existing TODOs'
install_command: 'chmod +x find-TODOs.sh'
required_executable: './find-TODOs.sh'
@canalesb93
canalesb93 / settings.json
Created March 17, 2019 23:11
TODO VSCode Todo Tree Settings
// TO-DO Tree Extension
"todo-tree.expanded": true,
"todo-tree.tags": [
"TODO",
"FIXME",
"OPTIMIZE",
"STOPSHIP"
],
"todo-tree.customHighlight": {
"TODO": {
@canalesb93
canalesb93 / find-TODOs.sh
Last active March 17, 2019 23:12
Output a list of all existing TODOs in the codebase
#!/bin/zsh
echo_red(){
printf "\e[1;31m$1\e[0m"
}
echo_green(){
printf "\e[1;32m$1\e[0m\n"
}
echo_yellow(){
printf "\e[1;33m$1\e[0m\n"
@canalesb93
canalesb93 / TODO.code-snippets
Last active December 4, 2023 21:43
TODOs VSCode Snippets
{
"TODO Comment": {
"prefix": "todo",
"body": [
"$LINE_COMMENT TODO: $CURRENT_MONTH/$CURRENT_DATE/$CURRENT_YEAR_SHORT $1"
],
"description": "TODO Comment w/date"
},
"FIXME Comment": {
"prefix": "fixme",