I hereby claim:
- I am theuberpwner on github.
- I am stevenshelby (https://keybase.io/stevenshelby) on keybase.
- I have a public key ASDzm0Ivc9BTFI8RmbwMfw7gRX66c94nJnlbhHHKNkY-bgo
To claim this, I am signing this object:
sudo iptables-save > /etc/iptables.conf | |
insert these lines in /etc/rc.local: | |
# Load iptables rules from this file | |
iptables-restore < /etc/iptables.conf |
I hereby claim:
To claim this, I am signing this object:
while [[ $# > 1 ]] | |
do | |
key="$1" | |
shift | |
case $key in | |
--skip-copy) | |
SKIP_COPY=true | |
shift | |
;; |
#!/bin/bash | |
#Change these to whatever input you want to use for keeping/deleting branches | |
KEEP='1' | |
DELETE='2' | |
#show `git branch` output in beginning | |
git branch | |
for branch in $(git for-each-ref --format='%(refname)' refs/heads/); do |
{ | |
"author": "", | |
"name": "", | |
"description": "", | |
"version": "0.0.1", | |
"homepage": "", | |
"repository": { | |
"type": "git", | |
"url": "git://github.com/theUberPwner/repo.git" | |
}, |
//to remove files from git repository | |
git filter-branch -f --tree-filter 'rm -rf filename/directory' HEAD | |
git push --force | |
//docs | |
http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html |