Skip to content

Instantly share code, notes, and snippets.

View kiedtl's full-sized avatar
💭
I may be slow to respond.

kiedtl kiedtl

💭
I may be slow to respond.
View GitHub Profile
@kiedtl
kiedtl / !README: opentype-bitmap.pe and opentype-bitmap.py
Created June 10, 2025 10:51 — forked from Earnestly/!README: opentype-bitmap.pe and opentype-bitmap.py
Convert PCF and BDF files to bitmap only OpenType (.otb) using fontforge
Convert PCF and BDF files to bitmap only OpenType (.otb) using fontforge
If you have a new enough fontforge, the python version of this script can
optionally read filenames from standard input, generating multiple .otb
font files as it finds new families. It also handles gzipped PCF and BDF
files.
@kiedtl
kiedtl / uranium.lua
Last active July 23, 2023 12:17
Glory to the People's Republic. Glory to Dear Leader
#!/usr/bin/env lua5.3
function shallow_copy(t)
local t2 = {}
for k,v in pairs(t) do
t2[k] = v
end
return t2
end
@kiedtl
kiedtl / ZDC.md
Last active December 1, 2022 16:36
Checklist for ZDC

Checklist for Golem Run

Mandatory

  • Weapon to smash through barriers. Needs to do >45 damage, at least.
    • Hvy. Hammer is a typical choice.
    • If you're already in Zion and forgot this, Runia's Throwing Claymores (if you find it). Alternatively, a derelict may spawn which gives you the codes.
    • You can also kill Imprinter for the codes. If you go this route, prepare for a long battle with the Zionites.
  • EM Pulse Cannon (or better) to destroy the Golems.
  • Plenty of armor and/or shielding.
@kiedtl
kiedtl / bar.sh
Created March 2, 2020 19:45
z-brah's bar
#!/bin/sh
bg=#00ffffff
fg=#ff666b7d
fn='IBM Plex Mono:pixelsize=14:antialias=true:autohint=true'
clock() {
LANG=fr_FR.UTF-8 printf '%s %%{R} %s %%{R}' "$(date '+%a %d')" "$(date +%H:%M)"
}

Keybase proof

I hereby claim:

  • I am kiedtl on github.
  • I am kiedtl (https://keybase.io/kiedtl) on keybase.
  • I have a public key whose fingerprint is 6727 17AB 87A5 AA03 34FE 18E2 0F73 582D 47F4 0601

To claim this, I am signing this object:

@kiedtl
kiedtl / README.md
Created February 5, 2020 01:40
algorithm list

a list of algorithms

searching

  • aho-corasick
  • boyer-moore

parsing

  • Shunting-yard (for parsing mathematical expressions)

Keybase proof

I hereby claim:

  • I am kiedtl on github.
  • I am kiedtl (https://keybase.io/kiedtl) on keybase.
  • I have a public key whose fingerprint is 0DD9 A971 D788 7A29 5C5A D789 6A01 949D CEA9 620E

To claim this, I am signing this object:

@kiedtl
kiedtl / spam.md
Last active January 6, 2021 14:21
Spam

Spam

Scene: A cafe. One table is occupied by a group of Vikings with horned helmets on. A man and his wife enter.

  • Man: You sit here, dear.
  • Wife: All right.
  • Man: Morning!
  • Waitress: Morning!
  • Man: Well, what've you got?
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;3
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;3