Created
February 23, 2011 21:06
-
-
Save gcao/841188 to your computer and use it in GitHub Desktop.
Revisions
-
gcao revised this gist
Aug 22, 2012 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ #!/usr/bin/ruby printf "\033[0m0 All attributes off\033[0m\n" printf "\033[1m1 Bold\033[0m\n" printf "\033[4m4 Underline\033[0m\n" printf "\033[5m5 Blink\033[0m\n" printf "\033[7m7 Invert\033[0m\n" printf "\033[8m8 Hide\033[0m = Hide\n" printf "\033[30m30 Black\033[0m = Black\n" printf "\033[31m31 Red\033[0m\n" printf "\033[32m32 Green\033[0m\n" @@ -21,4 +21,4 @@ printf "\033[44m44 Blue Background\033[0m\n" printf "\033[45m45 Magenta Background\033[0m\n" printf "\033[46m46 Cyan Background\033[0m\n" printf "\033[47m47 White Background\033[0m\n" -
gcao revised this gist
Aug 22, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,8 @@ printf "\033[4m4 Underline\033[0m\n" printf "\033[5m5 Blink\033[0m\n" printf "\033[7m7 Invert\033[0m\n" printf "\033[8m8 Hide\033[0m = Hide\n" printf "\033[30m30 Black\033[0m = Black\n" printf "\033[31m31 Red\033[0m\n" printf "\033[32m32 Green\033[0m\n" printf "\033[33m33 Yellow\033[0m\n" -
gcao revised this gist
Feb 25, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ printf "\033[36m36 Cyan\033[0m\n" printf "\033[37m37 White\033[0m\n" printf "\033[40m\033[37m40 Black Background\033[0m\n" printf "\033[41m41 Red Background\033[0m\n" printf "\033[42m42 Green Background\033[0m\n" printf "\033[43m43 Yellow Background\033[0m\n" printf "\033[44m44 Blue Background\033[0m\n" -
gcao created this gist
Feb 23, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #!/usr/bin/ruby printf "\033[0m0 All attributes off\033[0m\n" printf "\033[1m1 Bold\033[0m\n" printf "\033[4m4 Underline\033[0m\n" printf "\033[5m5 Blink\033[0m\n" printf "\033[7m7 Invert\033[0m\n" printf "\033[8m8 Hide\033[0m8 = Hide\n" printf "\033[30m30 Black\033[0m30 = Black\n" printf "\033[31m31 Red\033[0m\n" printf "\033[32m32 Green\033[0m\n" printf "\033[33m33 Yellow\033[0m\n" printf "\033[34m34 Blue\033[0m\n" printf "\033[35m35 Magenta\033[0m\n" printf "\033[36m36 Cyan\033[0m\n" printf "\033[37m37 White\033[0m\n" printf "\033[40m\033[37m40 Black Background\033[0m\n" printf "\033[41m41 Read Background\033[0m\n" printf "\033[42m42 Green Background\033[0m\n" printf "\033[43m43 Yellow Background\033[0m\n" printf "\033[44m44 Blue Background\033[0m\n" printf "\033[45m45 Magenta Background\033[0m\n" printf "\033[46m46 Cyan Background\033[0m\n" printf "\033[47m47 White Background\033[0m\n"