Skip to content

Instantly share code, notes, and snippets.

View champsu's full-sized avatar

Champ champsu

  • Bangkok, Thailand
View GitHub Profile
@champsu
champsu / consoleColors.js
Created May 13, 2020 15:48 — forked from abritinthebay/consoleColors.js
The various escape codes you can use to color output to StdOut from Node JS
// Colors reference
// You can use the following as so:
// console.log(colorCode, data);
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`);
//
// ... and so on.
export const reset = "\x1b[0m"
export const bright = "\x1b[1m"
export const dim = "\x1b[2m"
@champsu
champsu / docker-help.md
Created April 6, 2020 09:49 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info