Skip to content

Instantly share code, notes, and snippets.

View twitchyliquid64's full-sized avatar
๐Ÿ”

Tom twitchyliquid64

๐Ÿ”
View GitHub Profile
@djui
djui / totp.py
Last active July 24, 2021 13:30
Simple TOTP implementation in Python as CLI
#!/usr/bin/env python
from __future__ import print_function
import base64
import hashlib
import hmac
import struct
import sys
import time
@TheSirC
TheSirC / shell.nix
Last active April 8, 2025 00:31
egui/eframe with NixOS
{ pkgs ? import <nixpkgs> { overlays = [ (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)) ]; } }:
with pkgs;
mkShell {
nativeBuildInputs = with xorg; [
libxcb
libXcursor
libXrandr
libXi