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
| <!doctype html> | |
| <!--[if IE]><![endif]--> | |
| <!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]--> | |
| <!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]--> | |
| <!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]--> | |
| <!--[if (gt IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]--> |
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
| import os, subprocess, redis, thread, json, time, daemon, re | |
| red = redis.Redis("localhost", password=os.getenv("REDISPASS")) | |
| class InterCom(object): | |
| def __init__(self, id): | |
| self.id = id | |
| self.prefix = "server-%s-" % self.id | |
| def getCvar(self, i): |
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
| find . -name "*flac" -exec oggenc -q 7 {} \; |
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
| python -c 'import os;print os.getloadavg()[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
| mogrify -strip /foo/bar/mypic.jpg |
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
| mogrify -geometry x240 /foo/bar/nattebums.png |
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
| #!/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...' |
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 | |
| 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 |
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 | |
| # Convert Google's fuxnored URLs to the true URL | |
| sed 's/^.*\&url=//; s/\&.*//' | urlenc2ascii | |
| ------------------------------------------------------------------------ | |
| #!/usr/bin/awk -f | |
| # Print URL-encoded URL as ASCII |
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
OlderNewer