Skip to content

Instantly share code, notes, and snippets.

@ih2502mk
ih2502mk / list.md
Last active November 25, 2025 04:15
Quantopian Lectures Saved
@jeromerobert
jeromerobert / pandoc-svg.py
Last active November 25, 2025 04:14
Pandoc filter to create PDF files from SVG
#! /usr/bin/env python
"""
Pandoc filter to convert svg files to pdf as suggested at:
https://github.com/jgm/pandoc/issues/265#issuecomment-27317316
"""
__author__ = "Jerome Robert"
import mimetypes
import subprocess
@horacio3m
horacio3m / conventional_commit_messages.md
Last active November 25, 2025 04:12 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Types

  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active November 25, 2025 04:08
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@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.