Skip to content

Instantly share code, notes, and snippets.

@adamamyl
adamamyl / macos26-breaks-custom-dns.md
Last active May 1, 2026 12:50
Bug Report: macOS 26 breaks /etc/resolver/ supplemental DNS for custom TLDs

Ah, the joys of waking up to find the Mac's done an overnight upgrade… and erm, suddenly things stop working. Thankfully, me and Claude managed to work out what the fuck is going on… I'm sharing here, as well as having raised in on https://feedbackassistant.apple.com/feedback/22280434 (that seems to need a login?).

Bug Report: macOS 26 breaks /etc/resolver/ supplemental DNS for custom TLDs

Product: macOS 26.3.1 (Darwin 25.3.0, Build 25D771280a) Component: Networking → DNS / mDNSResponder Regression from: macOS 25.x 26.3.0 (working immediately prior to overnight update)


@tkafka
tkafka / Detect electron apps causing macOS Tahoe lag.md
Last active April 15, 2026 12:24
Detect Electron apps on mac where the Electron hasn't yet been updated to fix the system wide lag
@b0gdanw
b0gdanw / Disable-Tahoe-Bloatware.sh
Last active May 4, 2026 18:19
Disable Tahoe Bloatware
#!/bin/zsh
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs.
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14), macOS Sequoia (15) and macOS Tahoe (26)
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot. From Terminal : sudo rm -r /private/var/db/com.apple.xpc.launchd/*
# user
/*
This is a productivity enhancer plus some quality-of-life features that takes care of tedious tasks for you, saving time for what matters. Click on the tray icon to view hotkey info.
You'll find an embedded INI at the bottom of this script. However, you have to follow these two steps before you can run this script:
Download and unzip archive in `Lib` folder: https://github.com/thqby/winrt.ahk
Download raw file into `Lib` folder: https://github.com/Descolada/UIA-v2/blob/main/Lib/UIA.ahk
********** EIGHT-HOTKEY REMOTE **********
Multi- and single-function hotkeys.
TIP: change the `Run` setting to `Maximize` in the properties wnd of the Paint shortcut (b/c the snip feature can open Paint in a small wnd, which will be remembered by the OS).
And go to `Settings > System > Focus assist` to turn off all `Automatic rules`, so that TrayTip notification banners can also be shown on the desktop wnd for example.
@zudsniper
zudsniper / MacOS.md
Last active September 29, 2025 16:12
Make MacOS better

introduction

I like MacOS. It has its flaws, but overall, as a productivity operating system, especially when paired with Apple's ARM chips, nothing really compares. However, there are a few things I find I need to do to get it just right. These are those things. Take the ones you value, leave the rest.

the missing package manager: homebrew

macos shouldve come with a package manager, but for some reason, doesn't -- so the community made one called Homebrew. Go to https://brew.sh, and copy the 1-liner installation script, then paste that into Terminal, type in your password once or twice, download the xCode developer tools, and eventually you'll be good to go. The following all use brew, the cli tool.

Done? OK, let's continue.


@mariotaku
mariotaku / README.md
Last active April 26, 2026 23:30
Install tailscale on webOS TV

Usage

  1. Have your TV rooted
  2. Open Terminal with SSH client or dev-manager-desktop
  3. Run curl -fsSL https://gist.githubusercontent.com/mariotaku/f7228c5459fc7ad2172a2b69dd51a4eb/raw/webosbrew-install-tailscale.sh | sh and wait for it to finish
@starkayc
starkayc / Release WAN IP on UniFi Cloud Gateway Ultra.md
Created March 26, 2025 12:58
Release WAN IP on UniFi Cloud Gateway Ultra

Enable SSH on Cloud Gateway Ultra

  1. Head to Settings > Control Plane > Console.
  2. Then under Advanded enable SSH and input a password.

Login to Cloud Gateway Ultra

  1. The username is root and the password is the one you set.
  2. Find the PID by using pidof udhcpc.
  3. Once you found the PID excute the command /bin/kill -SIGUSR2 PID which will kill the process.
  4. Verify that the interface no longer has an ip address using ip addr.
  5. Now reboot the router using reboot now.
@starkayc
starkayc / Sideload-AppleTV-Appdb.md
Created March 25, 2025 18:54
Sideload on AppleTV using Appdb

Sideloading on Apple TV using Appdb

Requirements

  • Apple TV
  • .p12 & .mobileprovision files.

Installation Guide

@JPersson77
JPersson77 / nVAppAppApp.ps1
Last active May 5, 2026 11:15
nVAppAppApp - workaround NVIDIA DLSS4 whitelisting
<# Workaround for NVIDIA's DLSS4 whitelisting
-------- WHAT IS THE BACKSTORY? --------
DLSS4 was launched alongside the RTX 5000 series and comprise several new and interesting
features, f.e. additional presets for Super Resolution, using a newer Transformer model.
Arguably these features increase image quality significantly. To various degrees these
features are also available for older RTX cards, and older games using DLSS3/2.
@hackermondev
hackermondev / research.md
Last active April 30, 2026 19:12
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k