Skip to content

Instantly share code, notes, and snippets.

require "test_notifier/runner/rspec"
TestNotifier.default_notifier = :notify_send
class User
attr_reader :name, :age
def initialize(name, age)
@name, @age = name, age
end
end
#!/usr/bin/env python
import feedparser
import pynotify
import time
BASE_TITLE = 'Hudson Update!'
TIMEOUT = 3000
def success(job, build):
n = pynotify.Notification(BASE_TITLE,