Skip to content

Instantly share code, notes, and snippets.

View birkestroem's full-sized avatar

Jesper Birkestrøm birkestroem

View GitHub Profile

Keybase proof

I hereby claim:

  • I am birkestroem on github.
  • I am birkestroem (https://keybase.io/birkestroem) on keybase.
  • I have a public key ASCWLwOW2sEhfpTnxpwaCXvWg5_H8jQtFH97oQ7U5NpXcQo

To claim this, I am signing this object:

// ==UserScript==
// @name Reorder Zendesk sidebar widgets
// @namespace https://www.one.com/
// @version 0.1
// @description Moves sidebar widget to the top
// @author Jesper Birkestrøem
// @match https://*.zendesk.com/chat/agent*
// @grant GM_addStyle
// ==/UserScript==
@birkestroem
birkestroem / _README.md
Created August 7, 2017 17:46 — forked from schickling/_README.md
Script to import and export docker-machine configurations to sync between hosts/collaborators

docker-machine import/export

Script to import and export docker-machine configurations to sync between hosts/collaborators

Export (on host A)

$ docker-machine ls
NAME       ACTIVE   DRIVER         STATE     URL                            SWARM   DOCKER    ERRORS
dev        -        digitalocean   Running   tcp://example.com:2376                 v1.10.1
// ==UserScript==
// @name Asana wide
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://app.asana.com/*
// @grant GM_addStyle
// ==/UserScript==
#!/bin/bash
#
# This script will mount /Users in the boot2docker VM using NFS (instead of the
# default vboxsf). It's probably not a good idea to run it while there are
# Docker containers running in boot2docker.
#
# Usage: sudo ./boot2docker-use-nfs.sh
#
@birkestroem
birkestroem / debsign
Last active August 29, 2015 14:20
OSX version of debsign.
#! /bin/sh
# This program is designed to GPG sign a .dsc and .changes file pair
# in the form needed for a legal Debian upload. It is based in part
# on dpkg-buildpackage. It takes one argument: the name of the
# .changes file.
# Debian GNU/Linux debsign. Copyright (C) 1999 Julian Gilbey.
# Modifications to work with GPG by Joseph Carter and Julian Gilbey
# Modifications for OS X command-line utils (C) 2013 Mikhail Gusarov
@birkestroem
birkestroem / Damn-it,-man,-Im-a-doctor,-not-a-torpedo-technician!.markdown
Created December 9, 2014 08:01
Damn it, man, I'm a doctor, not a torpedo technician!
define(function () {
function Gomo(options, callback) {
if (typeof options === 'function') {
callback = options;
options = {};
}
var duration = options.duration || 500;
var easing = this.easing[options.easing || 'easeInOut'];
var start = null;
@function debug($list) {
$result: #{"[ "};
@each $item in $list {
@if length($item) > 1 {
$result: $result#{debug($item)};
}
@else {
$result: $result#{$item};
}