Skip to content

Instantly share code, notes, and snippets.

@ivoarch
Created March 27, 2014 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivoarch/9818997 to your computer and use it in GitHub Desktop.
Save ivoarch/9818997 to your computer and use it in GitHub Desktop.
ddjdj
#!/usr/bin/env ruby
# coding: utf-8
# ANSI color scheme script
# Original: http://crunchbanglinux.org/forums/post/128584/#p128584
# Modified by Ivo in (Ruby)
0.upto(6).each do |f|
print "\033[#{f+41}m\033[#{f+30}m██▓▒░"
end
puts "\033[37m██"
puts "\n"
0.upto(6).each do |f|
print "\033[#{f+41}m\033[1;#{f+30}m██▓▒░"
end
puts "\033[1;37m██"
puts "\033[0m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment