Skip to content

Instantly share code, notes, and snippets.

@plentz
plentz / nginx.conf
Last active November 16, 2024 14:10
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
@serebrov
serebrov / makesnapshots.py
Created December 30, 2014 19:24
Modified version of the aws-snapshot-tool (allows to tag instances which volumes will be backed up instead of volumes)
#!/usr/bin/python
#
# (c) 2012/2014 E.M. van Nuil / Oblivion b.v.
#
# makesnapshots.py version 3.3
#
# Changelog
# version 1: Initial version
# version 1.1: Added description and region
# version 1.2: Added extra error handeling and logging