Created
November 11, 2015 05:51
-
-
Save patmood/24f613cdea045b0216cf to your computer and use it in GitHub Desktop.
Atom Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TP_ANSI_RESET "\x1b[0m" | |
TP_ANSI_BOLD_ON "\x1b[1m" | |
TP_ANSI_INVERSE_ON "\x1b[7m" | |
TP_ANSI_BOLD_OFF "\x1b[22m" | |
TP_ANSI_FG_BLACK "\x1b[30m" | |
TP_ANSI_FG_RED "\x1b[31m" | |
TP_ANSI_FG_GREEN "\x1b[32m" | |
TP_ANSI_FG_YELLOW "\x1b[33m" | |
TP_ANSI_FG_BLUE "\x1b[34m" | |
TP_ANSI_FG_MAGENTA "\x1b[35m" | |
TP_ANSI_FG_CYAN "\x1b[36m" | |
TP_ANSI_FG_WHITE "\x1b[37m" | |
TP_ANSI_BG_RED "\x1b[41m" | |
TP_ANSI_BG_GREEN "\x1b[42m" | |
TP_ANSI_BG_YELLOW "\x1b[43m" | |
TP_ANSI_BG_BLUE "\x1b[44m" | |
TP_ANSI_BG_MAGENTA "\x1b[45m" | |
TP_ANSI_BG_CYAN "\x1b[46m" | |
TP_ANSI_BG_WHITE "\x1b[47m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom snippets: | |
'.source.js': | |
'Pretty Debug': | |
'prefix': 'pdb' | |
'body': 'console.log(`\\\\x1b[33m${JSON.stringify($1 , null, 2)}\\\\x1b[0m`)' | |
'Console log': | |
'prefix': 'log' | |
'body': 'console.log($1)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment