start new:
tmux
start new with session name:
tmux new -s myname
| location ~ .(gif|png|jpe?g)$ { | |
| valid_referers none blocked mywebsite.com *.mywebsite.com; | |
| if ($invalid_referer) { | |
| return 403; | |
| } | |
| } | |
| location /pict/ { | |
| valid_referers none blocked mywebsite.com *.mywebsite.com; | |
| if ($invalid_referer) { |
| yum install curlftpfs -y | |
| curlftpfs ftp://user:[email protected] /mnt/ftp_mounted |
| $targetfolder = "C:\foo\bar\nattebums" | |
| $files = gc C:\foo\bar\list.txt | |
| foreach ($file in $files) | |
| {write-host "Deleting $file" -foregroundcolor "Red"; Remove-Item $file | out-null} | |
| write-host "D O N E" -foregroundcolor "Red" |
| awk '{print $7}' access.log | sort | uniq -c | sort -rn |
| curl -I -H 'Accept-Encoding: gzip,deflate' http://www.bubbleclub.de |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| #!/bin/sh | |
| # Convert Google's fuxnored URLs to the true URL | |
| sed 's/^.*\&url=//; s/\&.*//' | urlenc2ascii | |
| ------------------------------------------------------------------------ | |
| #!/usr/bin/awk -f | |
| # Print URL-encoded URL as ASCII |
| #!/bin/sh | |
| echo "Stopping firewall and allowing everyone..." | |
| iptables -F | |
| iptables -X | |
| iptables -t nat -F | |
| iptables -t nat -X | |
| iptables -t mangle -F | |
| iptables -t mangle -X | |
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT |
| #!/usr/bin/env bash | |
| # | |
| # OK lets work | |
| geoIPPath='/home/urbanterror/geoip/' | |
| IPAddress='http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz' | |
| zcat=/bin/zcat | |
| wget=/usr/bin/wget | |
| echo 'Checking if the remote File is available...' |