Skip to content

Instantly share code, notes, and snippets.

View anshulguleria's full-sized avatar
💭
I may be slow to respond.

Anshul Guleria anshulguleria

💭
I may be slow to respond.
View GitHub Profile
#!/bin/bash
#
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html)
# modified by mike@mikepearce.net
# modified by aconway@[redacted] - handle diffs that introduce new files
#
# Generate an SVN-compatible diff against the tip of the tracking branch
# Get the tracking branch (if we're on a branch)
# TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/dev\///'`
@anshulguleria
anshulguleria / 0_reuse_code.js
Created October 17, 2013 11:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console