Skip to content

Instantly share code, notes, and snippets.

View gchiam's full-sized avatar

Gordon Chiam gchiam

View GitHub Profile
@font-face {
font-family: "Fura Code Nerd";
font-weight: normal;
src: url("https://cdn.jsdelivr.net/gh/ryanoasis/[email protected]/patched-fonts/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete%20Mono.otf") format('opentype');
}
@font-face {
font-family: "Fura Code Nerd";
font-weight: bold;
src: url("https://cdn.jsdelivr.net/gh/ryanoasis/[email protected]/patched-fonts/FiraCode/Medium/complete/Fura%20Code%20Medium%20Nerd%20Font%20Complete%20Mono.otf?raw=true") format('opentype');
}
@gchiam
gchiam / gist:7f8f302cd460d8a300db333e55445654
Created April 19, 2016 03:15 — forked from dedy-purwanto/gist:11312110
Bulk remove iTerm2 color schemes.
# There was a day where I have too many color schemes in iTerm2 and I want to remove them all.
# iTerm2 doesn't have "bulk remove" and it was literally painful to delete them one-by-one.
# iTerm2 save it's preference in ~/Library/Preferences/com.googlecode.iterm2.plist in a binary format
# What you need to do is basically copy that somewhere, convert to xml and remove color schemes in the xml files.
$ cd /tmp/
$ cp ~/Library/Preferences/com.googlecode.iterm2.plist .
$ plutil -convert xml1 com.googlecode.iterm2.plist
$ vi com.googlecode.iterm2.plist