Skip to content

Instantly share code, notes, and snippets.

@henior2
henior2 / Truthear Hexa Filters.txt
Created August 16, 2025 11:24
I'll get canceled for those but can't afford to upgrade to truthear pure ;-;
Preamp: -4.0 dB
Filter 1: ON LSC Fc 70 Hz Gain 4.0 dB Q 0.600
Filter 2: ON PK Fc 150 Hz Gain 2.0 dB Q 0.600
@henior2
henior2 / docker-compose.yml
Created July 8, 2025 16:40
rathole docker compose
services:
rathole:
image: rapiz1/rathole
command: --server /app/config.toml # replace --server with --client to run a client
volumes:
- ./config.toml:/app/config.toml # replace ./config.toml with your config location
ports: # make sure to bind your tunneled ports!
# - "2000:2000" # example port
# - "2001:2001/udp" # example port
- "2333:2333" # rathole server port
@henior2
henior2 / frpc.service
Last active July 7, 2025 11:20
frp systemd service units
[Unit]
Description=frp client
After=network.target
[Service]
Type=simple
DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/frpc -c /etc/frp/frpc.toml
# use-omz needs to be FIRST
getantidote/use-omz
# Add in some oh-my-zsh stuff
ohmyzsh/ohmyzsh path:lib
ohmyzsh/ohmyzsh path:plugins/colored-man-pages
ohmyzsh/ohmyzsh path:plugins/docker-compose
# ohmyzsh/ohmyzsh path:plugins/gh
ohmyzsh/ohmyzsh path:plugins/git
ohmyzsh/ohmyzsh path:plugins/git-prompt
@henior2
henior2 / SilentWallpaper.cs
Last active January 26, 2022 16:03 — forked from Drarig29/SilentWallpaper.cs
Temporarily set a desktop wallpaper without polluting the Windows settings history (Solid Color backup support)
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
public enum WallpaperStyle
{
Fill,
Fit,
Stretch,
Tile,