Skip to content

Instantly share code, notes, and snippets.

View sourcebits-arjunvariar's full-sized avatar

Arjun Variar sourcebits-arjunvariar

  • Sourcebits
  • Bangalore, India
View GitHub Profile
@sourcebits-arjunvariar
sourcebits-arjunvariar / tm2iterm.rb
Created October 9, 2012 08:25 — forked from maxim/tm2iterm.rb
Convert TextMate themes into iTerm 2 color schemes.
#!/usr/bin/env ruby
#
# This script is an astonishing feat of top notch
# rockstar craftsmanship. It totally uses artificial
# intelligence to extract colors out of tmTheme and
# build an itermcolors scheme file for iTerm2.
#
# I know this sounds crazy, but it actually knows
# approximately what colors should be used in the
# ANSI list, and tries to find nearest colors from