Skip to content

Instantly share code, notes, and snippets.

View dschaper's full-sized avatar

Dan Schaper dschaper

View GitHub Profile
@dschaper
dschaper / rules-both.iptables
Created May 22, 2017 06:18 — forked from jirutka/rules-both.iptables
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
#!/bin/bash
clear
echo ""
echo -e "\033[31m########################################"
echo "Dump1090-mutability Installation Script"
echo "########################################"
echo ""
echo -e "\033[33mThis script will build then install dump-1090-mutability."
@dschaper
dschaper / build_nginx.sh
Last active January 19, 2018 03:43 — forked from Belphemur/build_nginx.sh
Compiling Nginx with LibreSSL & PageSpeed
#!/usr/bin/env bash
# names of latest versions of each package
export NGINX_VERSION=1.9.4
export VERSION_PCRE=pcre-8.37
export VERSION_LIBRESSL=libressl-2.2.3
export VERSION_NGINX=nginx-$NGINX_VERSION
export NPS_VERSION=1.9.32.6
export VERSION_PAGESPEED=v${NPS_VERSION}-beta
export N_PROC=4