Skip to content

Instantly share code, notes, and snippets.

View rodhfr's full-sized avatar
🎯
Focusing

Rodolfo Souza rodhfr

🎯
Focusing
View GitHub Profile
// ==UserScript==
// @name AnimePahe - Watchlist Multi Page + Manager
// @namespace local
// @version 4.4
// @match https://animepahe.pw/*
// @match https://animepahe.com/*
// @match https://animepahe.org/*
// @grant none
// ==/UserScript==
@rodhfr
rodhfr / groupiron.men.js
Created June 20, 2026 20:32
enable skill timer menu
// ==UserScript==
// @name Group Ironmen - XP Timer
// @namespace local.groupiron
// @version 4.2.0
// @description Monitora o ganho de XP dos personagens do grupo.
// @match https://groupiron.men/group
// @match https://groupiron.men/group/*
// @run-at document-idle
// @grant none
// ==/UserScript==
const links = Array.from(document.querySelectorAll('a[href$=".mp3"]'))
.map(a => a.href)
.join('\n');
const blob = new Blob([links], { type: 'text/plain' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'mp3-links.txt';
services:
microbin:
container_name: microbin
image: danielszabo99/microbin:latest
environment:
- MICROBIN_HIGHLIGHTSYNTAX=true
- MICROBIN_ETERNAL_PASTA=true
- MICROBIN_GC_DAYS=30
- MICROBIN_ENCRYPTION_CLIENT_SIDE=true
- MICROBIN_ENCRYPTION_SERVER_SIDE=true
tailscale funnel --bg --https=10000 https+insecure://127.0.0.1:8787
tailscale funnel --bg 8096
sudo btrfs filesystem mkswapfile --size 16g /swapfile
sudo swapon /swapfile
htop
sudo nvim /etc/sysctl.d/99-sysctl.conf
# /etc/sysctl.d/99-sysctl.conf
# vm.swappiness=20
# check swapiness:
ls /proc/sys/vm/swapiness
sudo nvim /etc/fuse.conf
# /etc/fuse.conf
# mount_max = 1000
user_allow_other
cd ~/.config/systemd/user/
nvim rclone-NAME.service
https://davideger.github.io/blog/taildrop_on_linux.html
sudo nano /usr/local/bin/tailscale-ethtool.sh
---
#!/bin/bash
# Detect primary network interface
NETDEV=$(ip -o route get 8.8.8.8 | awk '{print $5}')
# Apply Tailscale UDP GRO optimization
/usr/sbin/ethtool -K $NETDEV rx-udp-gro-forwarding on rx-gro-list off
---
client_max_body_size 20M;
proxy_buffering off;
add_header X-Content-Type-Options "nosniff" always;
add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), battery=(), bluetooth=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always;
add_header Content-Security-Policy "default-src https: data: blob: ; img-src 'self' https://* ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; font-src 'self'" always;