Skip to content

Instantly share code, notes, and snippets.

@ndeadly
ndeadly / homebrew_sysmodules.txt
Last active January 23, 2026 00:42
Title IDs for Nintendo Switch sysmodules and system applets
/* Homebrew sysmodules */
0000000000534C56 SaltyNX
00FF0000000002AA BootSoundNX
00FF0000636C6BF2 nx-reader
00FF0000636C6BFF sys-clk
00FF00006D7470FF mtp-server-nx
00FF0000A53BB665 SysDVR
00FF0000B378D640 NX-FanControl
00FF747765616BFF switch-sys-tweak
0100000000000052 switch-nfp-mitm
@Webreaper
Webreaper / docker-compose.yml
Last active January 30, 2026 08:41
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Prowlarr, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
# Docker compose to set up containers for all services you need:
# VPN
# Sonarr, Radarr, Lidarr, Qbittorrent
# Non-VPN
# Plex, get_iplayer
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/dockerdata. - root where this docker-compose.yml should live
# /volume1/dockerdata/plex - Plex config and DB
# /volume1/dockerdata/sonarr - Sonarr config and DB
@bruvv
bruvv / synology speed tweaks.md
Last active October 14, 2024 03:19
synology speed tweaks

Note: this was tested and used on DSM5 and partly on 6. Since V7 I am not using this anymore.

Got and ssh into your box. Find what is using swap:

find /proc -maxdepth 2 -path "/proc/[0-9]*/status" -readable -exec awk -v FS=":" -v TOTSWP="$(cat /proc/swaps | sed 1d | awk 'BEGIN{sum=0} {sum=sum+$(NF-2)} END{print sum}')" '{process[$1]=$2;sub(/^[ \t]+/,"",process[$1]);} END {if(process["VmSwap"] && process["VmSwap"] != "0 kB") {used_swap=process["VmSwap"];sub(/[ a-zA-Z]+/,"",used_swap);percent=(used_swap/TOTSWP*100); printf "%10s %-30s %20s %6.2f%\n",process["Pid"],process["Name"],process["VmSwap"],percent} }' '{}' \;  | awk '{print $(NF-2),$0}' | sort -hr | head | cut -d " " -f2-

Update synoinfo.conf to correct memory in MB (https://www.gbmb.org/gb-to-mb) for 8GB:

@xirixiz
xirixiz / pihole-macvlan-synology-docker.txt
Last active November 12, 2025 11:59
Add a PiHole instance on a macvlan enabled Docker network (Synology eth0 example)
#!/bin/bash
# NAS IP: 192.168.1.10 in this example
# DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below)
## Network: 192.168.1.210/28
## HostMin: 192.168.1.211
## HostMax: 192.168.1.224
## Hosts/Net: 14
# Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo)
@beeyev
beeyev / tweaks-win10.reg
Last active June 4, 2025 20:04
Windows 10 must have registry tweaks 2018
Windows Registry Editor Version 5.00
;Remove 'Give access to' Context Menu in Windows 10
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Sharing]
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ModernSharing]
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Sharing]
[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Sharing]
[-HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers\Sharing]
[-HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\Sharing]
[-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing]
@figgyc
figgyc / list_noheader.md
Last active October 28, 2019 19:39
DSiWare compatibility list

DSiWare compatiblity list

Skip to EUR or JPN because these lists are long! You can click QR codes to make them bigger.

USA

Name Price 8 Character ID Region(s) QR Code
SUDOKU $1.99 4B344445 USA qrcode
Crazy Train $1.99 4B355545 USA qrcode
G.G Series VECTOR $1.99 4B354F45 USA qrcode
G.G Series SCORE ATTACKER
@joel16
joel16 / Multi-screen brightness setter
Created November 21, 2017 20:24
Set each screen's brightness individually using the D-PAD.
#include <3ds.h>
#include <stdio.h>
u32 getBrightness(u32 screen)
{
u32 brightness = 0;
u32 result = 0;
if (R_SUCCEEDED(gspLcdInit()))
{
@kowith337
kowith337 / AntiAPKMirrorDownloadDisabler.txt
Last active February 19, 2022 22:51
Anti APKMirror Ads and Countdown
[uBlock Origin 1.13.9]
! Title: Anti APKMirror Ads and Countdown
! Version: 201708222348
! Author: kowith337
! Homepage: https://gist.github.com/kowith337
||apkmirror.com/wp-content/themes/APKMirror/images/sadkitten.png$important
apkmirror.com##.OUTBRAIN
apkmirror.com##.appRow:if(.gooWidget)
from PIL import Image
import requests
import os
from threading import Thread
from Queue import Queue
root = 'http://microsculpture.net/assets/img/tiles'
tiles = 'highres_orchid_%20cuckoo_bee_side_view'
# Another is highres_tortoise_beetle