Skip to content

Instantly share code, notes, and snippets.

View aldesrahim's full-sized avatar

Al Desrahim aldesrahim

View GitHub Profile
@props([
'viewBox' => null,
'trigger' => 'hover',
'duration' => 300,
'easing' => 'easeInOut',
'event' => 'morph-icon',
'initial' => 0,
])
<div

Bank‑Based Anonymous Age Verification (BAV)

A zero‑storage, privacy‑preserving age check that leverages banks’ existing KYC — with the user as the transport layer.


TL;DR

  • Banks sign an age claim, not an identity. They never learn which site you’re visiting.
  • Merchants verify a short‑lived token against their own nonce and a one‑time WebAuthn key. No database required.
@ales-tsurko
ales-tsurko / install-alacritty-ubuntu.sh
Last active January 16, 2026 13:45 — forked from Aaronmacaron/install-alacritty-ubuntu.sh
Install Alacritty on Ubuntu
#!/bin/bash
# This installs alacritty terminal on ubuntu (https://github.com/jwilm/alacritty)
# You have to have rust/cargo installed for this to work
# Install required tools
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
# Download, compile and install Alacritty
git clone https://github.com/jwilm/alacritty
@matthewjberger
matthewjberger / instructions.md
Last active January 8, 2026 16:15
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@tmilos
tmilos / README.md
Last active December 23, 2025 00:31
Modified Preorder Tree Traversal

Modified Preorder Tree Traversal

Hierarchical data metrics that allows fast read operations on tree like structures.

Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.

Sample implementation