README is empty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Found at http://askubuntu.com/questions/528101/what-is-the-cve-2014-6271-bash-vulnerability-and-how-do-i-fix-it | |
# From cft over at Hacker News | |
mkdir src | |
cd src | |
wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz | |
#download all patches | |
for i in $(seq -f "%03g" 0 25); do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: ngrep_search.sh <search_term> | |
find . -name 'capfiles*' | xargs -I % ngrep -t -I % -q $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Example: ./migrate_cvs_git.sh /usr/local/cvsroot/dev/api-sandbox sandbox https://[email protected]/scm/proj/repo-sandbox.git | |
if [ $# -lt 2 ] | |
then | |
echo "Usage: $0 <cvs_dir> <git_project_name> <git_origin_url>"; | |
exit 1; | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: Eric Blue | |
# Date: 2012-11-01 | |
# | |
# Runs Tcpdump, sniffs for SQL traffic and prints out high-level timers and counters for performance tracking | |
# Idea taken from Poor man's query logging - http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/ | |
# | |
INTERFACE=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -1 *.gz | awk '{print "echo "$1" && pv "$1"|gunzip -c>"$1}' | sed -e 's/.gz//3' | sh |
NewerOlder