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
function agentstatus { | |
echo -n "Agent status: "; | |
if ssh-add -l &>/dev/null; then | |
echo "WORKING" | |
return 0 | |
else | |
echo "BROKEN"; | |
return 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
if [ ! $1 ]; then | |
echo "need port number" | |
exit 1 | |
fi | |
mkfifo mypipe-$$ | |
nc -kl $1 0<mypipe-$$ | /home/jae/cs3157-pub/bin/mdb-lookup-cs3157 1>mypipe-$$ | |
rm mypipe-$$ |
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/bash | |
# | |
# Author: Aleksey Korzun | |
# Made Awesome By: Erik | |
email='[email protected]' | |
default_max=240 | |
echo "==========================================================================" | |
echo " Replicator Man v1.0.0 " |
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /var/www/html; | |
index index.html index.htm index.nginx-debian.html; | |
server_name pleasedontcall.us www.pleasedontcall.us; |