Skip to content

Instantly share code, notes, and snippets.

View saily's full-sized avatar

Daniel Widerin saily

View GitHub Profile
@saily
saily / supervisord.service
Last active May 28, 2016 18:51 — forked from tonyseek/supervisord.service
Running supervisord with systemd.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
ExecStart=${buildout:directory}/bin/supervisord -n
ExecReload=${buildout:directory}/bin/supervisorctl reload
ExecStop=${buildout:directory}/bin/supervisorctl shutdown
@saily
saily / gist:738617b760167ea4527f
Created October 28, 2015 09:32 — 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