Skip to content

Instantly share code, notes, and snippets.

@RainmakerRaw
RainmakerRaw / vyos-youfibre.sh
Last active October 11, 2025 09:30
VyOS barebones config for YouFibre (IPv4 and IPv6 DHCPv6 PD)
#
### A VyOS config for YouFibre
### Requires VyOS version 1.5 or above
### Copy this to the VyOS box, and then run 'source /path/to/vyos-youfibre.sh' from configure mode
#
### 1. System Configuration ###
set system domain-name 'mydomain.com'
set system domain-search 'mydomain.com'
set system host-name 'vyos'
# ControlD free dns (malware blocking)
@RainmakerRaw
RainmakerRaw / letsencrypt_notes_openbsd.sh
Created June 19, 2023 13:16 — forked from Nothing4You/letsencrypt_notes_openbsd.sh
Set up LetsEncrypt using acme.sh without root on OpenBSD
# Modified for OpenBSD
# Assumes being root
# Requires curl to be installed, wget can also be used, relevant commands need to be adjusted. acme.sh supports both.
# Configured to use Cloudflare DNS for verification
# How to use "acme.sh" to set up Lets Encrypt without root permissions
# See https://github.com/Neilpang/acme.sh for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "EXAMPLE.com" as an example
@RainmakerRaw
RainmakerRaw / dns-server-benchmarks.md
Last active June 20, 2023 02:18
Local DNS server benchmarks (godnsbench)

Local DNS servers vs godnsbench[^1]

2023-06-20

  • Updated with results from Knot Resolver (kresd), on a Raspberry Pi 3B+ no less.
  • Updated the AdGuard Home results, now it's on a Radxa ROCK5B (Ubuntu 20.04 LTS).
  • Updated the 'Public' server results, to add new AGH instances on Linux and Freebsd.

Testing various local adblocking DNS servers - AdGuard Home v0.107.29[^2], Blocky v0.21[^3], Technitium v11.2[^4], and Knot Resolver v5.6.0[^5]. All using the same blocklist - Hagezi Light. Servers are run on similar low end hardware, on the local network.

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by