I hereby claim:
- I am integrii on github.
- I am eg (https://keybase.io/eg) on keybase.
- I have a public key whose fingerprint is CFE7 48DD D2EC AEEF 828A 98B6 353C 6078 36AA 0511
To claim this, I am signing this object:
Server { | |
Type=fastcgi | |
Port=9000 | |
PathDebug = true | |
FixPathInfo = true | |
} | |
VirtualHost { | |
* { | |
Pattern = .* |
#!/bin/bash | |
# Save script to ~/.irssi.sh | |
# Creates a screen and starts irssi in it. | |
# If the screen already exists, it simply attaches it. | |
# Create an alias in your ~/.bashrc to access it simply. | |
# alias irc='~/.irssi.sh' | |
if screen -list | grep -q "irssi"; then | |
screen -x irssi | |
else |
#!/usr/bin/python | |
# Be sure to run this as root! | |
import subprocess | |
def runcmd(command, timeout): | |
command = command + " & pid=$!;sleep " + str(timeout) + "; kill -9 $pid" | |
#print(command) | |
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) | |
return process.stdout.read() |
URL apiUrl = null; | |
int statusCode = 0; | |
String responseData = ""; | |
try { | |
// setup new web request parameters | |
apiUrl = new URL("http://api.site.com"); | |
HttpURLConnection connection = null; | |
connection = (HttpURLConnection) apiUrl.openConnection(); |
# setup password file | |
sudo htdigest -c /etc/squid/passwords local username |
# ~/.tmux.conf | |
# | |
# See the following files: | |
# | |
# /opt/local/share/doc/tmux/t-williams.conf | |
# /opt/local/share/doc/tmux/screen-keys.conf | |
# /opt/local/share/doc/tmux/vim-keys.conf | |
# | |
# URLs to read: | |
# |
ssh -D 8123 -f -C -q -N sammy@example.com | |
Explanation of arguments | |
-D: Tells SSH that we want a SOCKS tunnel on the specified port number (you can choose a number between 1025-65536) | |
-f: Forks the process to the background | |
-C: Compresses the data before sending it | |
-q: Uses quiet mode | |
-N: Tells SSH that no command will be sent once the tunnel is up |
I hereby claim:
To claim this, I am signing this object:
sysctl -w fs.file-max=12000500 | |
sysctl -w fs.nr_open=20000500 | |
ulimit -n 20000000 | |
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000' | |
sysctl -w net.ipv4.tcp_rmem='1024 4096 16384' | |
sysctl -w net.ipv4.tcp_wmem='1024 4096 16384' | |
sysctl -w net.core.rmem_max=16384 | |
sysctl -w net.core.wmem_max=16384 |
[Unit] | |
Description=Teamspeak Server | |
After=network.target | |
[Service] | |
ExecStart=/root/teamspeak/ts3server_startscript.sh start | |
ExecStop=/root/teamspeak/ts3server_startscript.sh stop | |
Watchdog=1 | |
Restart=on-watchdog | |
User=root |