Skip to content

Instantly share code, notes, and snippets.

View kenxx's full-sized avatar
🥴
No Really Busy

Kenneth kenxx

🥴
No Really Busy
View GitHub Profile
@plentz
plentz / nginx.conf
Last active November 22, 2025 15:18
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@wangyan
wangyan / rtorrent.sh
Created October 30, 2011 16:41
rtorrent satart shell script
#!/bin/sh
case "$1" in
start)
echo -n "Starting rtorrent"
su - root -c "screen -A -m -d -S rtorrent /usr/local/bin/rtorrent" &
echo "."
;;
stop)
echo -n "Stopping rtorrent"
@wangyan
wangyan / .rtorrent.rc
Created October 30, 2011 13:57
This is an Chinese example resource file for rTorrent.
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# 每个种子所允许的最小最大连接数
#min_peers = 40
#max_peers = 100
# 同上,但仅针对已完成的种子(-1 表示与下载中的种子一致)
#min_peers_seed = 10