This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# /etc/cron.daily/unbound-adblock-update | |
# | |
# Download a list of known ad-server hostnames from https://pgl.yoyo.org/as/ | |
# for use in unbound recursive name server to block web ads on the local lan. | |
# See https://pgl.yoyo.org/as/ | |
# Terminate on first error | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dieses Gist bestätigt die Verknüpfte-Identität innerhalb meines OpenPGP-Schlüssels und verknüpft es mit diesem GitHub-Benutzerkonto. | |
Token des Nachweises: | |
[Verifying my OpenPGP key: openpgp4fpr:a51060c7da467c3795bbdd1bf08d9bdd13086113] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install Nginx from source with pagespeed and cache_purge modules in Ubuntu | |
# | |
# Add the official nginx.org 'mainline' (development) Ubuntu package repository | |
sudo -s | |
echo "deb http://nginx.org/packages/mainline/ubuntu/ `lsb_release -sc` nginx" \ | |
> /etc/apt/sources.list.d/nginx.org-mainline.list | |
echo "deb-src http://nginx.org/packages/mainline/ubuntu/ `lsb_release -sc` nginx" \ | |
>> /etc/apt/sources.list.d/nginx.org-mainline.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bitcoind - Bitcoin core daemon | |
# | |
# Ubuntu upstart service configuration for | |
# Bitcoin Core Network Node. | |
description "Bitcoin Core daemon" | |
author "Alain Wolf" | |
# Start after network and filesystem | |
start on filesystem and static-network-up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# electrum-server The Electrum Bitcoin Wallet Server | |
# | |
# The server indexes UTXOs by address, in a Patricia tree structure. | |
# Electrum Bitcoin wallet clients connect to this server. | |
description "Electrum server" | |
author "Alain Wolf" | |
start on started bitcoind | |
stop on stopping bitcoind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install ca-certificates | |
sudo mkdir -p /usr/share/ca-certificates/cacert.org | |
cd /usr/share/ca-certificates/cacert.org | |
wget http://www.cacert.org/certs/root.crt | |
wget http://www.cacert.org/certs/class3.crt | |
sudo dpkg-reconfigure ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb root | |
adb remount | |
# | |
# Create a minimal but safe SSH Daemon configuration | |
cat <<EndOfSSHDConfigFile > sshd_config | |
# Minimal OpenSSH daemon configuration for CyanogenMod 10.1+ | |
AuthorizedKeysFile /data/.ssh/authorized_keys | |
ChallengeResponseAuthentication no | |
PasswordAuthentication no |
NewerOlder