https://stackoverflow.com/a/21211232/1351857
git rm -rf the/submodule
rm -rf .git/modules/the/submodule
git config -f .git/config --remove-section submodule.the/submodule 2> /dev/null
https://stackoverflow.com/a/21211232/1351857
git rm -rf the/submodule
rm -rf .git/modules/the/submodule
git config -f .git/config --remove-section submodule.the/submodule 2> /dev/null
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| #https://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/ | |
| docker rm $(docker ps -a -q) | |
| docker rmi $(docker images -q) |
| #!/bin/bash | |
| #https://groups.google.com/forum/#!topic/docker-user/g9yDdQsoDFE | |
| htop -p $(sudo docker ps -q | xargs sudo docker inspect --format {{.State.Pid}} | awk -vORS=, '{ print $1 }' | sed 's/,$/\n/') |
| #!/bin/bash | |
| find /etc/ -mmin -120 -ls |
| #!/bin/bash | |
| #install this first | |
| #apt-get install ipset | |
| #add kernel module | |
| modprobe -v ip_set | |
| modprobe -v ip_set_hash_netport | |
| #create list for IPs | |
| ipset create geoblock hash:net |
| #http://www.commandlinefu.com/commands/view/1878/use-mtr-to-create-a-text-file-report | |
| mtr --report --report-cycles 100 www.google.com > google_net_report.txt |
| #http://rogerdudler.github.io/git-guide/files/git_cheat_sheet.pdf | |
| ##ignore chmod - http://stackoverflow.com/a/1580644/1351857 | |
| #git config core.fileMode false | |
| ##remove vendor or node_modules - | |
| ##http://stackoverflow.com/a/17824718/1351857 | |
| ##http://stackoverflow.com/a/32886427/1351857 | |
| #git filter-branch --tree-filter 'rm -rf node_modules' --prune-empty HEAD | |
| #echo node_modules/ >> .gitignore |
| https://formden.com/blog/isolate-bootstrap | |
| sudo npm install less -g | |
| prefix.less | |
| .superbootstart { | |
| @import (less) 'bootstrap.css'; | |
| @import (less) 'bootstrap-theme.css'; /* optional */ | |
| } |
| dig -t SRV _ts3._udp.domain.com |