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 characters
#!/bin/sh | |
cat -| awk ' | |
{ | |
gsub(/</, "<") | |
gsub(/>/, ">") | |
gsub(/&/, "&") | |
gsub(/"/, "\"") | |
gsub(/\{/, "{\n") | |
gsub(/\}/, "\n}") |
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 characters
$ ./iterm2hex.py "Solarized Dark Higher Contrast.itermcolors" | |
#002731 // Ansi 0 Color | |
#D01B24 // Ansi 1 Color | |
#50EE84 // Ansi 10 Color | |
#B17E28 // Ansi 11 Color | |
#178DC7 // Ansi 12 Color | |
#E14D8E // Ansi 13 Color | |
#00B29E // Ansi 14 Color | |
#FCF4DC // Ansi 15 Color | |
#6BBE6C // Ansi 2 Color |
OlderNewer