Created
December 1, 2015 09:39
-
-
Save jphager2/d89e76645cc70f207b29 to your computer and use it in GitHub Desktop.
Print out color codes
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
1.upto(107) do |code| | |
puts "code: #{code} => \033[#{code}mHello, Sexy!\033[0m" | |
end | |
# Cool Codes | |
# 5 => Flashing text =p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment