Skip to content

Instantly share code, notes, and snippets.

View nullivex's full-sized avatar
😶
Come try my web friendly packages and check out Kado!

Bryan Tong nullivex

😶
Come try my web friendly packages and check out Kado!
View GitHub Profile
@nullivex
nullivex / COPYING
Last active December 15, 2015 07:58
LGPL for OpenLSS
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
@nullivex
nullivex / gitcopy.sh
Last active December 15, 2015 06:29
Dirty script to copy a file with history from one git repo to another and allows stream changes to all the patches using regex. Could definitely be improved.
#!/bin/bash
odir=`pwd`
[ $# -lt 3 ] && echo "Usage: $0 <new repo> {<path>} {<proc>}"
new_repo=
ptr=0
proc_ptr=0
path_ptr=0