Skip to content

Instantly share code, notes, and snippets.

@gurre
Last active June 21, 2016 16:46
Show Gist options
  • Save gurre/6982668 to your computer and use it in GitHub Desktop.
Save gurre/6982668 to your computer and use it in GitHub Desktop.
<?php
// set up terminal colorization
define('T_RESET',"\33[0m");
define('T_BLACK',"\33[0;30m");
define('T_DARKGRAY',"\33[1;30m");
define('T_BLUE',"\33[0;34m");
define('T_LIGHTBLUE',"\33[1;34m");
define('T_GREEN',"\33[0;32m");
define('T_LIGHTGREEN',"\33[1;32m");
define('T_CYAN',"\33[0;36m");
define('T_LIGHTCYAN',"\33[1;36m");
define('T_RED',"\33[0;31m");
define('T_LIGHTRED',"\33[1;31m");
define('T_PURPLE',"\33[0;35m");
define('T_LIGHTPURPLE',"\33[1;35m");
define('T_BROWN',"\33[0;33m");
define('T_YELLOW',"\33[1;33m");
define('T_LIGHTGRAY',"\33[0;37m");
define('T_WHITE',"\33[1;37m");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment