Skip to content

Instantly share code, notes, and snippets.

@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active March 7, 2026 21:08
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!

@adtac
adtac / README.md
Last active February 27, 2026 11:05
Using your Kindle as an e-ink monitor

3.5 fps, Paperwhite 3
@adtac_

step 1: jailbreak your Kindle

mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread

I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging

@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active March 7, 2026 09:34
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@flrichar
flrichar / rustdesk-tailscale.txt
Last active November 13, 2024 21:47
rustdesk-tailscale
Rustdesk is open-source teamviewer, hbbs = ID/rendezvous server, hbbr = relay server
$ docker image pull rustdesk/rustdesk-server
make a data dir, and simple start.sh bash script
viola, ufw stops other traffic, enforced over 100.64.0.0/10 carrier nat from tailscale
current testing machine in Vultr ON, Canada
tree view of data dir
data
@henryjfry
henryjfry / kodi_rd_prescrape_playlist.py
Created November 13, 2020 19:31
kodi_rd_prescrape_playlist.py
#!/usr/bin/python
import requests
import json
import time
import sys
import PTN
import re
regex = re.compile('[^a-zA-Z]')
@kevin-smets
kevin-smets / local-pi-hole-in-docker-macos.md
Last active July 9, 2024 19:49
Local Pi-hole in Docker [MacOS]

Prerequisites

  • Docker
  • Docker Compose

If you don't have these, run

brew install docker docker-compose
@santiagobasulto
santiagobasulto / README.md
Last active February 17, 2025 16:05
Download HumbleBundle books in batch with a simple Python script.

Download HumbleBundle books

This is a quick Python script I wrote to download HumbleBundle books in batch. I bought the amazing Machine Learning by O'Reilly bundle. There were 15 books to download, with 3 different file formats per book. So I scratched a quick script to download all of them in batch.

(Final Result: books downloaded)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wellington1993
wellington1993 / CaffeineAutostartUbuntuLinux.md
Last active April 23, 2020 01:16
Caffeine Autostar Ubuntu Linux

Here's how I solved it: Move /etc/xdg/autostart/caffeine.desktop to ~/.config/autostart (You'll need to be root for it to be deleted from /etc/__) Change ownership of the moved "caffeine.desktop" to yourself, if necessary (it should be writable).

From: https://ubuntuforums.org/showthread.php?t=2206656

Extra:

sudo add-apt-repository ppa:caffeine-developers/caffeine-dev