Skip to content

Instantly share code, notes, and snippets.

@lkosak
lkosak / eventcmd.rb
Last active March 21, 2016 12:39
eventcmd for mcabber that provides native OSX notifications for incoming messages (requires the terminal-notifier ruby gem)
#!/usr/bin/env ruby
require 'terminal-notifier'
event, arg1, arg2, filename = ARGV
# log = File.open 'eventcmd.log', 'a'
# log.write "#{event}, #{arg1}, #{arg2}, #{filename}\n"
case event
@firedev
firedev / Solarized (Firedev).tmTheme
Created January 9, 2014 09:53
Put this in `~/Library/Application Support/Sublime Text 3/Packages` and add the following line in config: ``` "color_scheme": "Packages/Solarized (Firedev).tmTheme", ```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Solarized (Firedev)</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>