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
server { | |
listen 80; | |
listen [::]:80; | |
server_name pi.hole; | |
allow 192.0.2.15; | |
deny all; | |
root /var/www/html; |
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
# https://wiki.archlinux.org/index.php/Tmux#Start_tmux_on_every_shell_login | |
# https://stackoverflow.com/a/49134974 | |
# https://gist.github.com/theel0ja/3d3c1de607702b87292687d27f99141b | |
# If not running interactively, do not do anything | |
[[ $- != *i* ]] && return | |
# You can replace 0 with the session name you prefer such as "onLogin" (without parenthesis) | |
[[ -z "$TMUX" ]] && exec tmux new -A -s 0 |
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
const index = require("./index"); | |
(async () => { | |
const results = {}; | |
results.hstsPreloadOrg = await index.lookup("hstspreload.org", "chromium.hstspreload.lelux.fi", { | |
servers: ["127.0.0.1"], | |
includeTxt: false, | |
}); |
OlderNewer