Skip to content

Instantly share code, notes, and snippets.

@ohac
Created December 15, 2009 12:44
Show Gist options
  • Save ohac/256916 to your computer and use it in GitHub Desktop.
Save ohac/256916 to your computer and use it in GitHub Desktop.
config.plugins.stdout.colors = '555'.to_i(6).times.map{|i| "f#{('00'+i.to_s(6))[-3,3]}"}.
select{|s|s.count('0') < 2} + [31, 32, 33, 35, 36, 91, 92, 93, 94, 95, 96] +
(12..24).map{|i| "f#{i}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment