./tor --version Tor version 0.2.3.11-alpha-dev (git-5d763b3d0bf8898e).
Tor compiled on Mac OS X 10.7 (Lion), but running on 10.6.8 (Snow Leopard):
#!/usr/bin/env perl | |
# -*- coding: utf-8 -*- | |
# hours.pl | |
# calculates hour summary from textfile with certain formatting | |
# | |
# (c) 2007,2008,2010 Andreas Motl <[email protected]> | |
=pod |
# This is shell script, (indirectly) sourced by uWSGI init.d script | |
. /usr/share/uwsgi/init/snippets | |
# Return: | |
# 0 if daemon has been started | |
# 1 if daemon was already running | |
# 2 if daemon could not be started | |
do_start_specific_daemon() | |
{ |
#!/usr/bin/env python | |
import os | |
import re | |
import sys | |
import shlex | |
import subprocess | |
# clone filesystem layout of Xen guests | |
# TODO: |
#!/bin/bash | |
# | |
# letsencrypt-autorenew is a best practice blueprint for | |
# convenient automatic certificate renewal and service reloading. | |
# | |
# Copyright (C) 2016 Andreas Motl, Elmyra UG | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or |
## | |
## Configuration file for InfluxDB backups | |
## For installation, copy this file to /etc/backup.d/40.influxdb | |
## | |
## The snapshots are made with InfluxDB's backup mechanisms. | |
## See also: | |
## https://docs.influxdata.com/influxdb/v0.9/administration/backup_and_restore/ | |
## | |
## Please stop your influxd instance before restoring backups. | |
## |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Merge dictionaries in a smart way using the "deepmerge" package. | |
# Works with Python2 and Python3. | |
# See also https://gist.github.com/amotl/cacde4c62b191a649a21dda48c4ac1fd | |
# https://pypi.org/project/deepmerge/ | |
# pip install deepmerge | |
from deepmerge import Merger |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Merge dictionaries using Python3's "dictionary unpacking" feature. | |
# However, this does not do smart things like appropriately merging lists. | |
# See also https://gist.github.com/amotl/88ea2073d6265e115fe4b14e818549b1 | |
def merge_dicts(defaults, user): | |
""" |
#!/usr/bin/env python3 | |
""" | |
httpd-reflector | |
A simple HTTP server reflecting HTTP requests for inspection. | |
It will print the contents of incoming HTTP requests to STDOUT | |
making it suitable for development and debugging purposes. | |
- Written by Nathan Hamiel (2010) | |
https://gist.github.com/huyng/814831 |