Skip to content

Instantly share code, notes, and snippets.


Stephen Benjamin stbenjam

Block or report user

Report or block stbenjam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
johnpmitsch / gist:48ba847ffc1dcbb83ac774eea42ae6fa
Last active Mar 16, 2018
subscription-manager on SUSE SLES12
View gist:48ba847ffc1dcbb83ac774eea42ae6fa
zypper addrepo
zypper addrepo
zypper install subscription-manager
pbock / buergerbot.rb
Last active Jul 17, 2017
Bürgerbot: Refreshes the Berlin Bürgeramt page until an appointment becomes available, then notifies you.
View buergerbot.rb
#!/usr/bin/env ruby
require 'watir-webdriver'
def log (message) puts " #{message}" end
def success (message) puts "+ #{message}" end
def fail (message) puts "- #{message}" end
def notify (message)
success message.upcase
system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message
rescue StandardError => e
You can’t perform that action at this time.