This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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, |