Skip to content

Instantly share code, notes, and snippets.

View virtadpt's full-sized avatar
💭
First thing that Microsoft does when buying Github: Add statuses. Whee.

The Doctor virtadpt

💭
First thing that Microsoft does when buying Github: Add statuses. Whee.
View GitHub Profile
@virtadpt
virtadpt / split_keyboards.md
Created September 6, 2026 02:44 — forked from itod/split_keyboards.md
Every "split" mechanical keyboard currently being sold that I know of
@virtadpt
virtadpt / micro_events.py
Created August 29, 2026 22:54 — forked from tarruda/micro_events.py
Micro event loop library to teach the basic concepts of python coroutines and how event loop libraries might be implemented
"""
A micro event loop library implementation from scratch.
This library provides a minimal but feature-complete asynchronous event loop
implementation for educational purposes. It demonstrates the core concepts of
asynchronous programming including:
- Task scheduling and management
- I/O multiplexing with non-blocking sockets
- Timeouts and sleep functionality
@virtadpt
virtadpt / README.md
Created August 28, 2026 00:31 — forked from myersjustinc/README.md
PGP word list

This is a copy of the [PGP "biometric" word list][], which actually comprises two lists, each with 256 entries each. (One contains only two-syllable words, and the other contains only three-syllable words.) The words were selected in 1995 to be as phonetically distinct from one another as feasible.

The Wikipedia entry describes the lists as being licensed under the [GNU Free Documentation License][], although I have no awareness of any publicly available primary sources stating this. The underlying source code for PGPfone, which was the motivation for the list, [is licensed MIT][].

@virtadpt
virtadpt / dellchromelinux.md
Created August 12, 2026 22:54 — forked from plembo/dellchromelinux.md
Linux on a Dell Chromebook 11

Linux on a Dell Chromebook 11

NOTE: The N3060 CPU's 2 cores on this old Chromebook were just too sluggish for it to be usable during that overseas trip mentioned below. It now sits unused on my lab table, as I contemplate taking it on a journey to our local county recycling center. I leave this gist here mostly out of nostalgia.

My retail (not enterprise) Dell Chromebook 11 (an Inspiron model 3181, not the 3180 or 3189) went EOL shortly after I purchased it new from Best Buy. Since then it saw some hard use in the family kitchen as a recipe lookup device, but was finally retired when replaced by a (relatively) newer Android tablet (that also reached EOL shortly thereafter).

With an overseas trip looming, I decided to look into refurbishing the Chromebook for use as a privacy hardened travel laptop. Frankly, the thought of TSA and Customs manhandling my trusty portable workstation was too much to bear.

I mostly followed the detailed instructions in the Chrultrabook Docs,

@virtadpt
virtadpt / gist:4ddc52baf8714f56f4e33e1f0fb82fa5
Created March 29, 2026 03:23 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@virtadpt
virtadpt / index.md
Created March 18, 2026 01:28 — forked from aparrish/index.md
Getting credentials for the Mastodon API with Mastodon.py. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/

Getting credentials for the Mastodon API with Mastodon.py, step by step

Making a bot? Making a bot in Python? Making a bot in Python that uses the Mastodon API? If so, chances are you need to get some credentials. Here's how I did it!

(The following tutorial uses Python 2.7, but if you're using Python 3+ everything should work substantially the same.)

Mastodon.py authentication

I just started using it, but it looks like Mastodon.py is a pretty great library for working with the Mastodon API! However, all of the authentication examples use static files to store credentials, which I don't like—I'm afraid I'll accidentally push them to Github. I like to keep my authentication as close to the actual command that runs the program as possible, so usually I pass them on the command line to the script running my bot. To do this, I need to get the appropriate credentials on their own, as separate strings that I can cut and paste.

@virtadpt
virtadpt / thunderbolt-networking-guide.md
Created May 27, 2025 04:45 — forked from geosp/thunderbolt-networking-guide.md
Thunderbolt Networking Setup on Linux

Thunderbolt Networking Setup on Linux

This guide documents the steps to enable and configure Thunderbolt networking on your Linux system (e.g., Ubuntu, Proxmox). It covers loading the necessary kernel modules, ensuring persistent interface naming, configuring a fixed IP address, and testing throughput with iperf3. Note that Thunderbolt 3/4 hardware advertises a raw bandwidth of 40 Gbps, but practical throughput is typically lower due to half‑duplex operation, protocol overhead, and system constraints.

Hardware Used in This Guide

This guide was developed and tested with the following hardware:

  • CPU: AMD Ryzen 9 PRO 6950H
    • 8 cores / 16 threads
  • 3.3 GHz base frequency / 4.94 GHz boost
@virtadpt
virtadpt / readme.md
Created May 12, 2025 09:35 — forked from eddiewebb/readme.md
Hugo JS Searching with Fuse.js
@virtadpt
virtadpt / hopeless
Created March 14, 2025 22:42 — forked from xero/hopeless
dante's infernal motd ansi art
#!/bin/bash
cat << X0

/ \ ‾‾‾ ‾___ ‾‾ ‾‾‾‾‾ ‾‾‾ ‾‾‾ ‾‾‾‾\/‾‾‾ ‾ ‾‾‾‾‾‾‾‾\
( __| ( / \ / / _ |
\ ) | //--/ / _ _ __/ _ _ / \ / /  |
: // (_ /‾) (_\ / ) (_/ (_)/ ) //--/ / / |
x . _ ‾‾ // (_ / /  :
0 | ' ) / _ |
: | //--/ _ _ _ ' ) / _ |
@virtadpt
virtadpt / HIT_HMD2043.txt
Created April 22, 2024 16:41 — forked from DanielKeep/HIT_HMD2043.txt
Harold Innovation Technologies - HMD2043 and HMU1440 spec sheets
HIT_HMD2043
__ __
|| ||
||==|| I T
_|| ||_
Harold Innovation Technologies
"If it ain't a HIT, it's a piece of..."