start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
# name of the ipset - v4 or v6 will be appended. | |
IPSET_NAME=cloudflare- | |
# argument: v4 or v6 (defaults to v4) | |
cloudflare_ipset () | |
{ | |
local ipv | |
local inetv |
#!/bin/bash | |
SERVERS=(108.162.196.125 108.162.197.125) | |
for server in ${SERVERS[*]} | |
do | |
echo "Now processing $server" | |
wget --timeout=10 -t1 -O tor.txt https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=$server | |
for ip in `tail -n +4 tor.txt` |
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
#!/bin/sh | |
# Installs tarsnap client on Debian and Ubuntu | |
# | |
# You'll need to setup an account at | |
# http://www.tarsnap.com | |
# and load it with some funds | |
# | |
# Make sure you run this as root | |
# |