Skip to content

Instantly share code, notes, and snippets.

View thet3o's full-sized avatar
💭
Working on interesting project

Matteo Vacalebri thet3o

💭
Working on interesting project
View GitHub Profile
@samuelcolvin
samuelcolvin / webauthn_client.js
Created November 17, 2021 22:32
demo of webauthn using FastAPI
const log_el = document.getElementById('log')
function log(...messages) {
console.log(...messages)
log_el.innerText += '\n' + messages.map(m => JSON.stringify(m, null, 2)).join(' ')
}
function error(message) {
console.error(message)
log_el.innerText += '\n' + message
@yhatt
yhatt / marp.md
Last active April 11, 2026 15:58
Marp Next example
marp false

Marp

h:250

Markdown presentation ecosystem
@htr3n
htr3n / macos-ramdisk.md
Last active April 30, 2026 16:59
Creating RAM disk in macOS

Built-in

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`

where XXXXX is the size of the RAM disk in terms of memory blocks.

Notes: