Pinned post

import ctypes

libcap = ctypes.CDLL("/lib/x86_64-linux-gnu/")

def cap_to_text(c):
t = []
for i in range(64):
if (c & (1<<i)):
return "+".join(t)

What's your favorite song? Florence And The Machine — My Boy Builds Coffins

Newer version of radicale CardDAV server require UID.

grep -r -L ^UID: ~/.local/var/lib/radicale/collections/collection-root/steelman/24b3f858-f15a-46a8-99a8-f306967793d9/ | xargs perl -i -MData::UUID -pe 'BEGIN {$ug = Data::UUID->new;}if (m/^END:VCARD/) {print "UID:", lc($ug->to_string($ug->create())), "\n"}'

time evtest /dev/input/event2 | perl -ne 'next unless (m/EV_KEY\), code \d+ \((KEY_[^)]+)\), value 0/); $stats{"$1"} += 1; END {foreach (keys %stats) {print "$_,$stats{$_}\n"}} BEGIN{ $SIG{INT} = sub { die "Caught a sigint $!" };}'

keyboard stats logger on

The amount of labor required to create (by hand, in Emacs) a PDF file with non-Latin-1 characters (unicode strings, CIDFonts) knocks me down. You need to extract font metrics and cmap from TTF and save them in the PDF regardless of whether you embed the font or not. WAT‽

steelman boosted

"Mummy, Daddy, where do SNEKs come from?"

"Well son, they come from pinecones and they look like this..."

(yes P2P Matrix fans - new pinecone simulator coming to you soon for all your P2P visualisation needs!!!)

Use "git branch --edit-description" and "git format-patch --cover-from-description" to manage your cover letters.

From what I read FIDO2 authentication seems like an interesting thing. Those, who know how TPM works might find this post by James Bottomley helpful in learning about FIDO2.

Show older

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!