Skip to content

Instantly share code, notes, and snippets.

# Figure out the path of git-upload-pack
# On remote:
$ which git-upload-pack
$ git clone -u /home/you/bin/git-upload-pack you@machine
@footedesign
footedesign / gmail-proxy-regex
Last active January 3, 2016 06:59
Regex for matching Google image proxy links in Gmail
https://ci[0-9].*?#
Will match i.e.
https://ci5.googleusercontent.com/proxy/longstringofcharacters=s0-d-e1-ft#https://site.com/images/logo.png
@footedesign
footedesign / gist:4963760
Created February 15, 2013 21:41
Remove the annoying "You must be signed in to use Quora." message, by appending share=1 to the URL
var url = window.location.href;
if (url.indexOf('?') > -1){
url += "&share=1";
}else{
url += "?share=1";
}
window.location.href = url;