Skip to content

Instantly share code, notes, and snippets.

View LunkRat's full-sized avatar

LunkRat

View GitHub Profile
@janikvonrotz
janikvonrotz / Unattended Encrypted Incremental Backup to Amazon S3.md
Last active May 8, 2020 08:00
Ubuntu: Unattended Encrypted Incremental Backup to Amazon S3#AmazonAWS#Markdown

Introduction

For this task we are going to configure a duplicity script wrapper. Unregarded of the installation instructions it's expected that you have already signed up for an Amazon account and know how to use their services.

Requirements

  • Ubuntu server
  • duplicity, Git, GnuPG
  • MySQL
@BrianGilbert
BrianGilbert / nginx_static_include.conf
Last active September 8, 2017 11:07 — forked from omega8cc/gist:1677848
Create it as: /var/aegir/config/includes/nginx_static_include.conf
#######################################################
### nginx compact basic configuration start
#######################################################
###
### deny crawlers and bots without 403 response
###
if ($http_user_agent ~* (HTTrack|HTMLParser|libwww|wget|AutomaticSiteMap|bot) ) {
return 444;
}
@juba
juba / pwsafe2keepassx.py
Created October 9, 2012 12:11
Python script to convert pwsafe exportdb output to a KeePassX Xml file
#!/usr/bin/python
import csv
import datetime
import sys
import StringIO
from genshi.template import MarkupTemplate
class Bunch(object):