I hereby claim:
- I am herejia on github.
- I am herezia (https://keybase.io/herezia) on keybase.
- I have a public key whose fingerprint is 2C3B C7DC 7BBE 95CD 8ADE D85D E6FC A601 F017 5F11
To claim this, I am signing this object:
// ==UserScript== | |
// @name Copies build status image from build run | |
// @version 1 | |
// @grant none | |
// @include BITBUCKET_URL/projects/PROJECT_CODE/repos/*/pull-requests/*/overview | |
// ==/UserScript== | |
const JENKINS_JOB_URL = 'https://jenkins.foo.bar' | |
const re = /.+\/(.+)\/pull-requests\/(\d+)\/overview/ | |
window.addEventListener('DOMContentLoaded', () => { | |
const [ _, project, pr ] = location.pathname.match(re); |
// ==UserScript== | |
// @name inotes-web-notifier | |
// @namespace net.herezia | |
// @description Notifies user when new mails arrive in the web version of IBM iNotes | |
// @include http://YOUR_INOTES_URL | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
let shouldNotify = false; | |
function onVisibilityChanged() { |
// ==UserScript== | |
// @name jenkins-html5-notifier | |
// @namespace net.herezia | |
// @description Uses HTML5 notifications to show jenkins build result | |
// @include *jenkins*/console | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
const buildImageElement = document.querySelector('.build-caption > img'); | |
if (!buildImageElement) { |
#!/bin/sh | |
# sudo pip install sqlparse | |
# sudo apt-get install xclip | |
echo "$1" | tr -s [:blank:] > /tmp/sqlfmt.in | |
sqlformat --reindent --keywords upper --identifiers lower /tmp/sqlfmt.in | xclip -selection c |
// ==UserScript== | |
// @name leboncoin-distance | |
// @namespace net.herezia | |
// @description Affiche la distance en mn et km avec le lieu d'une offre | |
// @include http://*.leboncoin.fr/*/offres/* | |
// @version 2 | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// ==/UserScript== | |
const DEFAULT_FETCH_OPTIONS = { |
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name scroll bottom | |
// @namespace net.herezia | |
// @include http://srv-hudson:8080/job/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var intervalId = null; | |
var button = document.createElement('input'); | |
with(button) { |
// ==UserScript== | |
// @name gitlab-crossreference-copier | |
// @namespace http://gitlab | |
// @include http://gitlab/*/issues/* | |
// @include http://gitlab/*/merge_requests/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var span = $('span[data-original-title="Cross-project reference"]'); | |
if (span) { |