This file contains hidden or 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
// ==UserScript== | |
// @name V3 - System theme | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.0 | |
// @match *://*.youtube.com/* | |
// @description Sets dark mode in V3 based on system preference | |
// @license MIT | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
mkdir minecraftscreenshots minecraftlogs | |
find . -type d -name 'minecraftlogs' -prune -o -type f -name '*.log.gz' -exec mv {} /home/nat/minecraftlogs/ \; | |
find . -type d -name 'minecraftscreenshots' -prune -o -type f -name '20[0-9][0-9]-[0-1][0-9]-[0-3][0-9]_[0-2][0-9].[0-5][0-9].[0-5][0-9].png' -exec mv {} /home/nat/minecraftscreenshots/ \; |
This file contains hidden or 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
Ledger NOT 500 MANUAL | |
Revolut CHF 400 | |
Trezor BTC 0.009 comment |
This file contains hidden or 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
:root { | |
--search-result-title: #1a0dab; | |
--search-result-url-link: #006621; | |
--result-item-title-border: rgba(0, 0, 0, 0); | |
} | |
@media (prefers-color-scheme: dark) { | |
:root { | |
--search-result-title: #99c3ff; | |
--search-result-url-link: #b2d2a4; |
This file contains hidden or 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
if [[ -f /data/bin/tailscaled ]]; then | |
mkdir -p /data/tailscale/state /tmp/tailscale | |
STATE_DIRECTORY=/tmp/tailscale /data/bin/tailscaled \ | |
--tun=userspace-networking \ | |
--socket=/tmp/tailscale/tailscaled.sock \ | |
--statedir=/data/tailscale/state > /dev/null 2>&1 & | |
iptables -A INPUT -p tcp --dport 80 -s 127.0.0.1 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 80 -j DROP | |
fi |
This file contains hidden or 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
// ==UserScript== | |
// @name Add Engineering Mode Menu | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Inject engineering mode submenu to the menu | |
// @author You | |
// @match *://192.168.0.1/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
#! /usr/bin/env nix-shell | |
#! nix-shell -i python3 -p python3Packages.py-libzfs | |
import libzfs | |
def collect_all_datasets(dataset, all_datasets): | |
""" | |
Recursively collects all datasets from a given dataset and its children. | |
Args: | |
dataset: The starting dataset. |
This file contains hidden or 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/ash | |
list_pkgs() { | |
opkg list-installed | cut -f 1 -d " " | |
} | |
show_deps() { | |
opkg depends $1 | sed -e 1d -e 's/^\s*//' | |
} |
This file contains hidden or 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
#! /usr/bin/env nix-shell | |
#! nix-shell -i bash -p opusTools | |
# Set source and target directories | |
src_dir="/vol/ikea/Media/Music/Ready" | |
target_dir="/vol/ikea/Media/Music/Essa" | |
# Number of allowed threads | |
max_threads=2 |
This file contains hidden or 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
log-upload.hoyoverse.com | |
log-upload-os.hoyoverse.com | |
public-data-api.hoyoverse.com | |
sg-public-data-api.hoyoverse.com | |
log-upload.mihoyo.com | |
log-upload-os.mihoyo.com | |
public-data-api.mihoyo.com | |
sg-public-data-api.mihoyo.com |
NewerOlder