Skip to content

Instantly share code, notes, and snippets.

View guyromb's full-sized avatar
:octocat:
CTO during the day, Developer during the night

Guy Rombaut guyromb

:octocat:
CTO during the day, Developer during the night
View GitHub Profile
@guyromb
guyromb / nginx.conf
Created December 10, 2018 13:12 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@guyromb
guyromb / adapter-passthrough
Created February 14, 2017 12:55 — forked from Lewiscowles1986/adapter-passthrough
Allows passthrough for bridges, wireless access-point's and range extenders
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
ADAPTER="eth0"
# Allow overriding from eth0 by passing in a single argument
@guyromb
guyromb / rPi3-ap-setup.sh
Created February 14, 2017 12:54 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/bin/bash
#
# This version uses September 2016 rpi jessie image, please use this image
#
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi