Skip to content

Instantly share code, notes, and snippets.

@extratone
extratone / siri.md
Last active November 25, 2025 04:01
Siri Voice Commands List

Shortlink: http://bit.ly/siricmds

Table of Contents

  • [Wallet Siri Commands][page_wallet_siri_commands]
  • [Web and YouTube Search Siri Commands][page_web_and_youtube_search_siri_commands]
  • [More Phone and Notifications Siri Commands][page_more_phone_and_notifications_siri_commands]
  • [Contacts Siri Commands][page_contacts_siri_commands]
  • [Affective (Fun) Siri Commands][page_affective__fun__siri_commands]
  • [Notes Siri Commands][page_notes_siri_commands]
@frroossst
frroossst / queen.rs
Created November 15, 2025 16:02
N queen problem in the Rust type system
#! /usr/bin/env -S cargo +nightly -Zscript
---
[package]
edition = "2024"
[dependencies]
---
#![recursion_limit = "1024"]
use std::marker::PhantomData;
@andreibosco
andreibosco / ssh-gpg-yubikey-macos.md
Created July 16, 2022 16:27
SSH keys on a Yubikey in a Mac

Based on https://davecoyle.com/tech-notes/ssh-keys-on-a-yubikey-mac/

SSH keys on a Yubikey in a Mac

Software Stuff

  • Install the YubiKey Manager CLI (ykman); alternative installation options can be found here: brew install ykman

  • Install GPG >= 2.1. Version 2.1 simplified the running of gpg-agent. The version isn’t a hard requirement, but it might make your life easier.

@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active November 25, 2025 03:52
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!

@fweller
fweller / apple_silicon_mac_smb_performance_improvements.md
Last active November 25, 2025 03:48
How I fixed slow NAS SMB access on my Apple-silicon Mac

How I fixed slow NAS SMB access on my Apple-silicon Mac

Last updated: 20251123


Problem

  • SMB performance on Apple Silicon Macs (M1/M2/M3/M4) is often dramatically slower compared to Intel-based Macs or Linux/Windows PCs.
  • This is an extremely common issue with other users employing Synology, TrueNAS, or Linux Samba.
@juanchoperezj
juanchoperezj / AppDelegate.mm
Last active November 25, 2025 03:45
Use RocketSim Network Monitoring with both React Native CLI generated and Expo projects
// imports...
@interface RocketSimLoader : NSObject
- (void)loadRocketSimConnect;
@end
@implementation RocketSimLoader
@rahaaatul
rahaaatul / zsh_on_termux.md
Last active November 25, 2025 03:43
Installing ZSH on Termux including themes & useful plugins

ZSH on Termux!

Spice up termux with beautiful themes and productivity plugins to make your life easier!

Install ZSH, GIT & LSD

pkg install zsh git lsd vim

Install Oh-My-Zsh

@jdhitsolutions
jdhitsolutions / PSRefresh.ps1
Last active November 25, 2025 03:43
Refresh a new Windows PowerShell Installation.
#requires -version 5.1
#requires -RunAsAdministrator
#PSRefresh.ps1
<#
Update key PowerShell components on a new Windows 10/11 installation.
This script is not intended for server operating systems. The script
should be run in an interactive console session and not in a remoting session.