Skip to content

Instantly share code, notes, and snippets.

@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active March 15, 2026 07:11
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@tkafka
tkafka / Detect electron apps causing macOS Tahoe lag.md
Last active March 10, 2026 05:41
Detect Electron apps on mac where the Electron hasn't yet been updated to fix the system wide lag
@maxandersen
maxandersen / threaded.plist
Created October 31, 2014 22:09
Threaded layout for MailMate - Adds view that shows threads + messages that match subject. See screenshot at https://www.dropbox.com/s/t5gxgpjcg2aoqyb/Screenshot%202014-10-31%2011.01.06.png?dl=0 copy this file to ~/Library/Application Support/MailMate/Resources/Layouts/Mailboxes/threaded.plist and restart MailMate and then a "Threaded" option sh…
{
name = "Threaded";
rootViewer =
{
viewerType = "MmSplitView";
orientation = "horizontal";
children =
(
{
viewerType = "MmBoxView";
@denji
denji / Nginx Configuration.plist
Last active July 20, 2016 16:48 — forked from isao/Nginx Configuration.plist
(wip) BBEdit Codeless Language Module for Nginx Configuration files
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!--
BBEdit codeless language module for nginx configs.
Requires BBEdit 8.0 or higher. To install, copy here:
~/Library/Application Support/BBEdit/Language Modules/
and relaunch BBEdit.
@kyledrake
kyledrake / ferengi-plan.txt
Last active November 14, 2025 04:39
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {