Skip to content

Instantly share code, notes, and snippets.

View neowulf's full-sized avatar
👋

Siva Kommuri neowulf

👋
View GitHub Profile
#!/usr/bin/env node
var fs = require('fs')
, url = require('url');
if (process.argv.length < 3) {
console.log('Usage:\n', process.argv[1] + ' <postman collection JSON file>\n\n');
process.exit();
}
@neowulf
neowulf / git-svn-diff.sh
Created December 9, 2011 00:49 — forked from markjaquith/git-svn-diff.sh
Creates a patch file between svn branch and git branch
#!/bin/bash
#
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html)
# modified by [email protected]
# modified by aconway@[redacted] - handle diffs that introduce new files
# modified by [email protected] - fixes diffs that introduce new files
# modified by [email protected] - fix sed syntax issue in OS X
#
# Generate an SVN-compatible diff against the tip of the tracking branch