Skip to content

Instantly share code, notes, and snippets.

View zxaos's full-sized avatar

Matt Bond zxaos

View GitHub Profile
@zxaos
zxaos / compasswatcher.sh
Created October 2, 2012 20:45
Compass Watcher
#! /bin/sh -e
### BEGIN INIT INFO
# Provides: compasswatcher
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop the compass watch process for each directory
### END INIT INFO
@zxaos
zxaos / tm2iterm.rb
Last active December 20, 2015 07:49 — forked from sourcebits-arjunvariar/tm2iterm.rb
Remove requirement for rubygems. Tested on ruby 2.0
#!/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
@zxaos
zxaos / gist:10043329
Created April 7, 2014 20:12
keybase.md

Keybase proof

I hereby claim:

  • I am zxaos on github.
  • I am zxaos (https://keybase.io/zxaos) on keybase.
  • I have a public key whose fingerprint is 4DEC D6F9 9F9A 0F5C 239A D338 F3C0 6849 6079 D61C

To claim this, I am signing this object:

@zxaos
zxaos / Cycle Karabiner Elements Profiles.alfredworkflow
Last active June 7, 2017 18:37
Cycle Karabiner-Elements profiles with Alfred
puts "Enter some text: "
text = gets.chomp
puts "Enter redact: "
redact = gets.chomp
words = text.split(" ")
words.each do |word|
if word == redact
print "REDACTED"