Skip to content

Instantly share code, notes, and snippets.

@Derpidoo
Derpidoo / led_strip_controller_44button_remote_protocol.txt
Last active September 17, 2026 09:48
RGB LED Strip Controller 44 Button IR Remote Codes
RGB LED Strip Controller w/44 Button IR Remote Protocol
E.g. https://www.amazon.com/Flexible-Changing-Non-Waterproof-Controller-Included/dp/B01EWBZW0A/
"Hue hue hue" -you, after saving hundreds on your smart lighting
IR Wavelength: 940nm
Code Type: NEC
Code Length: 32 bit
## Function Code
===.====================.=======
@kouwei32
kouwei32 / macos-packet-spooling-fixes.md
Last active September 17, 2026 09:48
Fixes for Low-Latency Desktop Streaming stuttering on macOS (applies to Moonlight, Parsec, Stadia, Geforce Now, etc.)

macOS Yosemite and above utilize AWDL (Apple Wireless Direct Link) to handle data transfers to other AWDL-enabled devices (Macs, Macbooks, iPhones, etc.) over the Wifi Radio, without the need for a common underlying Access Point.

However, whenever AWDL is active (Bonjour discovery and any Airdrop, Airplay, and GameKit links and transfers), it will lock the Wifi radio for small intervals. For Bonjour discovery specifically, this comes to an effective packet spooling time of about 50-100ms, once per second (active transfers will be higher).

Obviously, this will create unacceptable latency spikes for low-latency desktop streaming apps. To disable the AWDL interface, use the following command in Applications > Utilities > Terminal (this requires you to be logged in as an Administrator and enter your password):

sudo ifconfig awdl0 down

@mahamuniraviraj
mahamuniraviraj / installMaven.txt
Last active September 17, 2026 09:38
install maven 3.5 on centos 7
# go to https://maven.apache.org/download.cgi
# download latest version Binary tar.gz archive file
# copy /opt directory
cd /opt
# extract tar file , replace x.x with downloaded version
tar xzvf apache-maven-x.x.0-bin.tar.gz
@MuTLY
MuTLY / keys.txt
Last active September 17, 2026 09:35
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
@misode
misode / upgrade_26_3.py
Last active September 17, 2026 09:29
Upgrade script for updating data packs from 26.2 to 26.3 - IMPORTANT: Take a backup or use git, because this upgrades files in-place! DONT run the script multiple times!
import copy
import json
import glob
import os
import sys
from typing import Any, Callable
def main():
if len(sys.argv) < 2:
@ngoc-minh-do
ngoc-minh-do / Proxmox-install-Nvidia-driver.md
Last active September 17, 2026 09:27
Install Nvidia driver on Proxmox

Install NVIDIA Driver on Proxmox with Secure Boot

This guide walks you through installing the NVIDIA driver on Proxmox with Secure Boot enabled, including automatic signing of DKMS modules and troubleshooting tips.


1. Check Secure Boot Status

mokutil --sb-state
@kaityo256
kaityo256 / スパコンと円周率の話.md
Last active September 17, 2026 09:25
スパコンと円周率の話

スパコンと円周率の話

はじめに

2019年3月14日、Googleが円周率を31兆桁計算したと発表しました。このニュースを聞いて僕は「GoogleがノードまたぎFFTをやったのか!」と大変驚き、「円周率の計算には高度な技術が必要」みたいなことをつぶやきました。しかしその後、実際にはシングルノードで動作する円周率計算プログラム「y-cruncher」を無改造で使っていることを知り、「高度な技術が必要だとつぶやいたが、それは撤回」とつぶやきました。円周率の計算そのもののプログラムを開発していなかったとは言え、これだけマッシブにディスクアクセスのある計算を長時間安定実行するのは難しく、その意味においてこの挑戦は非自明なものだったのですが、まるでその運用技術のことまで否定したかのような書き方になってしまい、さらにそれが実際に計算を実行された方の目にもとまったようで、大変申し訳なく思っています。

このエントリでは、なぜ僕が「GoogleがノードまたぎFFT!?」と驚いたか、そんな話を書いてみたいと思います。

円周率の計算とスパコン

Proxmox VE tips

Just a somewhat chaotic list of personal Proxmox VE related tips/notes or interesting (to me) things I'm working on or experiment with.
Some of the things you see here are niche or purely experimental. I try to label them as such, but as always with random code snippets, make sure to review anything before running it in your own environment. Perhaps test in a virtual PVE first.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid cluttering your shell history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.

Table of contents

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active September 17, 2026 09:25
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@yasirkula
yasirkula / AndroidWirelessDebuggingAutoConnect.cs
Last active September 17, 2026 09:23
Connect to an Android device with 'Wireless debugging' by scanning a QR code in .NET
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using QRCoder;
/// <summary>