Skip to content

Instantly share code, notes, and snippets.

@mpeterson
mpeterson / openstack_gerrit_zuul_status.user.js
Last active August 6, 2019 14:45
Greasemonkey script to see in Gerrit the currently running OpenStack Zuul CI jobs
// ==UserScript==
// @name Gerrit Zuul Status
// @author Michel Peterson
// @version 6
// @grant none
// @include /^https?://review\.openstack\.org/(#/c/)?\d*?/?(\d*)?/?$/
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @require https://review.openstack.org/static/hideci.js
// ==/UserScript==
@mpeterson
mpeterson / 10bis_balance.user.js
Last active July 12, 2018 14:19
Greasemonkey script to show balance on 10bis
// ==UserScript==
// @name 10bis balance
// @namespace 10bis
// @author Mike Kolesnik <mkolesni@redhat.com>
// @include https://www.10bis.co.il/*
// @exclude https://www.10bis.co.il/Account/*
// @version 2
// @grant GM_log
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @require https://raw.githubusercontent.com/hebcal/hebcal-js/master/client/hebcal.noloc.min.js
@mpeterson
mpeterson / gist:2726087
Created May 18, 2012 16:08
Alfred.App AppleScript to send task to Asana
on alfred_script(q)
tell application "Mail"
set theNewMessage to make new outgoing message with properties {subject:"" &q, content:"", sender:"your@mailhere.com"}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"x@mail.asana.com"}
send
end tell
end tell
end alfred_script