Skip to content

Instantly share code, notes, and snippets.

View abachman's full-sized avatar
🙌
good times

Adam Bachman abachman

🙌
good times
View GitHub Profile
@abachman
abachman / pom.rb
Created June 18, 2010 16:55 — forked from ngauthier/pom.rb
pomodoro timer
#!/usr/bin/env ruby
def notify(msg)
puts "[#{ Time.now.strftime "%H:%M:%S" }]: #{msg}"
`notify-send -i /home/adam/Documents/images/icons/pomodoro.png "Pomodoro" "#{msg}"`
end
POMODORO = ARGV.size > 0 ? ARGV[0].to_i : 25
REST = ARGV.size > 1 ? ARGV[1].to_i : 5
if ARGV.length > 2

jitter.sh

For making your own jittergrams

Usage

Two files as input:

./jitter.sh file_01.jpg file_02.jpg