Skip to content

Instantly share code, notes, and snippets.

View macshome's full-sized avatar

Josh Wisenbaker macshome

  • Winston-Salem, NC
  • 03:08 (UTC -04:00)
View GitHub Profile
@clee
clee / voron_sensorless.md
Last active September 18, 2025 19:27
how to sensorless XY on Vorons

Setting Up and Calibrating Sensorless XY Homing

When using the TMC2130 / TMC2209 / TMC2660 / TMC5160 drivers, the StallGuard feature makes it possible to set up sensorless homing on the X and Y axes for CoreXY machines. The Klipper project has a page with documentation and recommendations on getting it working.

Following are some more detailed instructions and suggestions to supplement the Klipper documentation specifically for Vorons.

Hardware Setup

@dreness
dreness / logrc
Created November 6, 2022 09:13
logrc config for log(1) in macOS
# ~/.logrc config for log(1) in macOS
show:
--style compact
--color always
--last 4h
stream:
--info
--debug
@manicmachine
manicmachine / ChaChaPoly_Encryption.playground
Last active May 27, 2025 13:51
ChaChaPoly encryption in Swift with CryptoKit
import Foundation
import CryptoKit
extension SymmetricKey {
init?(base64EncodedString: String) {
guard let data = Data(base64Encoded: base64EncodedString) else {
return nil
}
self.init(data: data)
@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active July 29, 2026 16:02
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!