Skip to content

Instantly share code, notes, and snippets.

View twitchyliquid64's full-sized avatar
🍔

Tom twitchyliquid64

🍔
View GitHub Profile
@TheSirC
TheSirC / shell.nix
Last active May 7, 2024 17:59
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
@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