Skip to content

Instantly share code, notes, and snippets.

View wentuq's full-sized avatar

Marcin Grabski wentuq

View GitHub Profile
@wentuq
wentuq / dnscrypt-proxy-update.sh
Last active August 8, 2021 19:59
/usr/local/dnscrypt-proxy/dnscrypt-proxy-update.sh
#! /bin/sh
CONFIG_DIR="/etc/dnscrypt-proxy"
INSTALL_DIR="/usr/local/dnscrypt-proxy"
LATEST_URL="https://api.github.com/repos/DNSCrypt/dnscrypt-proxy/releases/latest"
DNSCRYPT_PUBLIC_KEY="RWTk1xXqcTODeYttYMCMLo0YJHaFEHn7a3akqHlb/7QvIQXHVPxKbjB5"
PLATFORM="linux"
CPU_ARCH="x86_64"
Update() {
@wentuq
wentuq / dnscrypt-proxy.toml
Created March 8, 2020 17:55
dnscrypt-proxy configuration
# Empty listen_addresses to use systemd socket activation
##############################################
# #
# dnscrypt-proxy configuration #
# #
##############################################
## This is an example configuration file.
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
for i in {0..7}; do sudo cpufreq-set -g performance -c $i; done
# choose between ondemand, performance, powersave, conservative