Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

boredomdenied

🎯
Focusing
View GitHub Profile
View backup command
43 4 * * 3 root cd / && tar --exclude=/tmp --exclude=/proc --exclude=/mnt --exclude=/media --exclude=/dev --exclude=/sys --exclude=/run --exclude=var/log --exclude=/var/cache/apt/archives --exclude='/usr/src/linux-headers*' --exclude='home/*/.gvfs' --exclude='/home/*/.cache' --exclude='/home/*/.local/share/Trash' -cvpf /media/bore/Backup/weds.tar.gz / -I pigz
43 4 * * 7 root cd / && tar --exclude=/tmp --exclude=/proc --exclude=/mnt --exclude=/media --exclude=/dev --exclude=/sys --exclude=/run --exclude=var/log --exclude=/var/cache/apt/archives --exclude='/usr/src/linux-headers*' --exclude='home/*/.gvfs' --exclude='/home/*/.cache' --exclude='/home/*/.local/share/Trash' -cvpf /media/bore/Backup/sun.tar.gz / -I pigz
View pagespeed
bash <(curl -f -L -sS https://ngxpagespeed.com/install) --nginx-version latest
--with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-OTiIP5/nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_i
@boredomdenied
boredomdenied / iptables-multiport.conf
Created Jul 16, 2018
Fail2ban rules for permanent banhammer
View iptables-multiport.conf
### Learned from the blogpost at: https://nerdily.org/2017/upgrading-fail2ban-to-a-permanent-banhammer/
[INCLUDES]
before = iptables-common.conf
[Definition]
# Option: actionstart
@boredomdenied
boredomdenied / HackbookPro F510UA Install
Last active May 15, 2018
HackbookPro: High Sierra 10.13.4 + 2018-001 update && Ubuntu 18.04
View HackbookPro F510UA Install
***NOTICE***
I am making this for my own reference. Anyone wishing to follow this guide
should use exact model Asus F510US with exact upgrades. The are: 8GB DDR4 2400MHZ
module populating second slot. M.2 860 EVO I got 250GB you can choose larger.
BCM5342 Wifi/BT module must replace the stock Intel for wifi & bluetooth.
# From Ubuntu
## Get ubuntu