Skip to content

Instantly share code, notes, and snippets.

View brunosabot's full-sized avatar
👨‍💻
Coding

Bruno Sabot brunosabot

👨‍💻
Coding
View GitHub Profile
@brunosabot
brunosabot / pre-commit
Last active August 29, 2017 14:32
pre-commit hook to detect DEBUG
#!/bin/sh
BLANK='\033[0m'
RED='\033[00;31m'
YELLOW='\033[00;33m'
BLUE='\033[00;34m'
FORBIDDEN=( 'DEBUG' 'debugger')
FOUND=''