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
| 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'; |
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
| 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 |
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
| tailscale funnel --bg --https=10000 https+insecure://127.0.0.1:8787 | |
| tailscale funnel --bg 8096 |
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
| 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 |
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
| sudo nvim /etc/fuse.conf | |
| # /etc/fuse.conf | |
| # mount_max = 1000 | |
| user_allow_other | |
| cd ~/.config/systemd/user/ | |
| nvim rclone-NAME.service |
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
| https://davideger.github.io/blog/taildrop_on_linux.html |
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
| 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 | |
| --- |
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
| 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; |
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
| templates: | |
| torrent: | |
| transmission: | |
| host: transmission | |
| port: 9091 | |
| username: rodhfr | |
| password: linux123 | |
| anime: | |
| template: torrent | |
| configure_series: |
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
| from flexget import plugin | |
| from flexget.entry import Entry | |
| from flexget.task import Task | |
| from flexget.event import event | |
| import logging | |
| log = logging.getLogger('RoundRobinRSS') | |
| class RoundRobinRSS(object): | |
| """ |
NewerOlder