Skip to content

Instantly share code, notes, and snippets.

@jenseng
jenseng / gist:34b6b1e48b83270aef39
Created December 5, 2014 00:04
gerrit-submit-branch
#!/bin/bash
set -e
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) # what if no branch?
COMMON_ANCESTOR=$(git merge-base HEAD origin/master)
NUM_COMMITS=$(expr $(git log --pretty=oneline|sed -n "/$COMMON_ANCESTOR/{=; q;}") - 1)
GIT_DIR=$(git rev-parse --show-toplevel)/.git
# make sure our commit message dir and message file exist ... that way the
previousjQuery = jQuery;
jQuery(function($){
// only run in browsers that can do localStorage (not IE) and only on the tickets page
if ('localStorage' in window && $('body').hasClass('tickets-show') || $('body').hasClass('tickets-new')) {
// I want to make sure that this always runs with my version of jquery, not zendesk's
$.getScript('http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js', function(){
jQuery(function($){
//var username = 'testuser';
//var password = 'testpass';

mwrc 5k 2013 results

bib name time
126 David Collins 20:43
116 Ronny Bjarnason 21:03
118 Jon Jensen 21:28
122 Ben Mabey 22:30
109 Rick Hansen 23:42
121 Alex Kovshovik 25:11