I hereby claim:
- I am tonyskapunk on github.
- I am tonyskapunk (https://keybase.io/tonyskapunk) on keybase.
- I have a public key whose fingerprint is 2B46 EBD2 21D2 1FB9 1350 2E76 E7E8 23F9 9A1C 603F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
V::Vi*****::*:i**ii*******::~~~~~~~~~:**iiii*******VViV****i:::::::: ``` | |
*******ii****:::::::*******:VV::::::::i*::::*:::::**~~:**::::::::::: ``` | |
********:::**:::*****:******:::::**:`````~**::*******i:VV*:::::::::: ``~ | |
******V::i*:::*::::::***:***:iii*~~`` ~::*:::::::VVVV::::::::: ``` | |
i*::*:*****:::*:::::::::**:***iV:~~~` :::::::::*VVVi~ ::: ```` | |
*::::~~~ ::::::::::*: *iOV:~~~:` `~~` `::~~::::~~~~~~~~```` : ```` | |
:::~~`~`*Viiiiiiiiii ~`~``:iOV~~~~~` ~:` :*:~````````````````` : ~ ` ` | |
*::::~~~V::*~~~iVVVi `:` `~iVV:~```~ *i*~````````````````` : ~ ` ` | |
``~`````:*~**~~~~~~i:VV~ ~iVi:~``~~~` *ii::````````````~``` : ` ~ ` | |
~~`~V~~~~~~~~~~:VV~ `*VVV~~~::~~ `: `i:```````~~~~~~~~~ ~ ` ~ ` |
Host * | |
LocalCommand ~/.screen.d/bin/screen_ssh.sh $PPID %n | |
PermitLocalCommand yes |
# allow bold colors | |
attrcolor b “.I” | |
termcapinfo xterm|xterms|xs|rxvt ti@:te@ | |
# erase background with current bg color | |
defbce "on" | |
vbell off | |
startup_message off |
#!/bin/bash | |
free -om|grep Mem|awk '{print $4}' |
#!/bin/bash | |
free -om|grep Swap|awk '{print $4}' |
#!/bin/sh | |
screen -ls | grep $PPID | awk '{print $1}' | cut -f2 -d. |
auth --useshadow --enablemd5 | |
bootloader --location=mbr | |
zerombr | |
text | |
firewall --disabled | |
firstboot --disable | |
keyboard us | |
lang en_US | |
logging --level=info | |
url --url=http://foo.com/your_fav_distro/ |
[cronjob] | |
*/5 * * * * /some/path/vpn/fix_route.sh | |
=== | |
[fix_route.sh] | |
#!/bin/bash | |
# Sets the correct route to send all traffic through VPN | |
iface_gw=$(/sbin/route -n|grep -P "^(0\.){3}0\s+(\d+\.){3}\d+\s+(0\.){3}0\s+"|awk '{print $NF}') | |
default_gw=$(/sbin/route -n|grep -P "^(0\.){3}0\s+(\d+\.){3}\d+\s+(0\.){3}0\s+"|awk '{print $2}') |
[get_my_vpn_ip.sh] | |
#!/bin/bash | |
last_ip_file="/some/path/vpn/last_ip" | |
log_file="/some/path/vpn/vpn_ip.log" | |
if [ -e $last_ip_file ] | |
then | |
last_ip=$(cat /some/path/vpn/last_ip) | |
current_ip=$(/some/path/vpn/vpn_ip.sh) |