This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# git-cleanup-repo | |
# | |
# Author: Rob Miller <[email protected]> | |
# Adapted from the original by Yorick Sijsling | |
git checkout master &> /dev/null | |
# Make sure we're working with the most up-to-date version of master. | |
git fetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.contextTimeout = null; | |
function fade(ctx) { | |
var alpha = ctx.style.opacity; | |
var new_alpha = alpha - 0.1; | |
ctx.style.opacity = new_alpha; | |
if (new_alpha){ | |
window.contextTimeout = setTimeout(function(){fade(ctx);}, 50); | |
} else { | |
this.browserbot.getUserWindow().document.body.removeChild(ctx); |