Skip to content

Instantly share code, notes, and snippets.

View ctrlcctrlv's full-sized avatar
🛠️
happy hacking

Fredrick Brennan ctrlcctrlv

🛠️
happy hacking
View GitHub Profile
@ctrlcctrlv
ctrlcctrlv / rust-maintainer-perfectionism.md
Last active May 15, 2025 04:03
Rust maintainer perfectionism

Rust maintainer perfectionism, or, the tragedy of Alacritty

I did not submit this to Hacker News and did not intend that this post would have high circulation but have no real problem with it being there or with it having such. I have more recent comments below. This post is from January 2020 and predates the Modular Font Editor K (MFEK) project.

I have not worked on Rust projects in quite a while, and don't know if I ever will again. I feel many crate maintainers are way too perfectionist, for example, despite all the developer hours that went into this PR, it took the effort within years to be (halfway) merged.

There's always a reason not to merge, isn't there? It would be better done with a new nightly language feature, or the function signature should have a where clause, or the documentation is not perfect. There's always a new nit to pick in the world of Ru

@ctrlcctrlv
ctrlcctrlv / dwnf.md
Last active December 23, 2024 19:31
Down with Nerd Fonts

Nerd Fonts Considered Harmful, and What To Do Instead

For those fortunate enough to remain blissfully unaware of «nerd fonts», I define them as:

nerd font — n. A font which has spliced¹ into a release² of a free software font project a set of standardized³ glyphs which are mostly used by those seen as “nerds” and not the general population of the font's users. .

Footnotes

  1. Likely poorly.
  2. Likely an outdated release.
@ctrlcctrlv
ctrlcctrlv / chollima.ass
Created October 19, 2022 20:08
[DPRK Pop] Pochonbo Electronic Ensemble — Chollima on the Wing [북한음악] 보천보전자악단 — 천리마 달린다 ENG/日本語/한국어
[Script Info]
; Script generated by Aegisub 3.3.3
; http://www.aegisub.org/
YCbCr Matrix: TV.601
PlayResX: 1920
PlayResY: 1080
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: english,KP CheonRiMa B,53,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,4.21875,4.21875,5,30,30,21,1
@ctrlcctrlv
ctrlcctrlv / Beway.ass
Created July 28, 2024 14:33
Lord Invader — Beway SubStation Alpha file
[Script Info]
; Script generated by Aegisub 9791-makepkg-bf20c62e6 [DEBUG VERSION]
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
PlayResX: 1280
PlayResY: 720
@ctrlcctrlv
ctrlcctrlv / jstor_unmetadata.bash
Last active July 16, 2024 10:36
JSTOR remove PDF download information (your IP and the date)
#!/bin/bash
# RIP Aaron Swartz, killed by corporate greed. (Not JSTOR itself, they are a charity;
# I mean the publishers they must contract with
# to offer the limited public service that they do.)
#
# “There is no justice in following unjust laws.
# It’s time to come into the light and, in the grand tradition of civil disobedience,
# declare our opposition to this private theft of public culture.” ~ Aaron Swartz
#
# Requires:
@ctrlcctrlv
ctrlcctrlv / Makefile
Last active May 27, 2024 00:15
Pimoroni Inky buttons example program (in C)
all: buttons_example
buttons_example: inky_buttons.c
clang -std=gnu17 -I/opt/include -L/usr/lib -L/opt/lib -static -static-libgcc -o $@ $< -l:libgpiod.a -O3 -flto=full -g
@ctrlcctrlv
ctrlcctrlv / Trust the scam.php
Created September 21, 2020 13:57
Post as Q on any vichan/OpenIB/infinity/Tinyboard-based imageboard
<?php
/* Post as Q in vichan/OpenIB. As r00t, put this in inc/instance-config.php.
* Works on any imageboard based on 8chan's software. lol */
event_handler("post", function($post) {
global $mod;
// Q's actual tripcode, per QANON.PUB
@define("Q_TRIPCODE", "!!Hs1Jq13jV6");
// ...Or whatever condition you want.
@ctrlcctrlv
ctrlcctrlv / alittlehebrew.hc.css
Created April 5, 2024 14:02
alittlehebrew.com high contrast stylesheet
* {
font-family: "FreeSerif", "Times New Roman", "Times", "TimesNewRoman", "Liberation Serif", "Noto Serif Hebrew", serif;
color: white;
}
header, body, .modal-body {
background-color: black;
}
textarea, select, input, .selection > *, .select2-results > *, .card, .card > * {
@ctrlcctrlv
ctrlcctrlv / gcloud_translate.bash
Last active October 18, 2023 09:01
gcloud_translate.bash
#
# gcloud_translate() Fred util
# ★ gcloud_translate [source_language] [target_language]
#
# @mainfunc cloud_translate
BANNER=$(cat<<'BANNER'
_ _ _ _ _ _ _
__ _ ___| | ___ _ _ __| | | |_ _ __ __ _ _ __ ___| | __ _| |_ ___ | |__ __ _ ___| |__
/ _` |/ __| |/ _ \| | | |/ _` | | __| '__/ _` | '_ \/ __| |/ _` | __/ _ \ | '_ \ / _` / __| '_ \
| (_| | (__| | (_) | |_| | (_| | | |_| | | (_| | | | \__ \ | (_| | || __/_| |_) | (_| \__ \ | | |
@ctrlcctrlv
ctrlcctrlv / sqlite3.pl
Created October 17, 2023 19:13
sqlite3.pl
#!/usr/bin/perl
$0 =~ s@.*/@@;
sub usage {
my $usage = <<'END_USAGE';
_ _ _ _____ _
___ __ _| (_) |_ ___|___ / _ __ | |
/ __|/ _` | | | __/ _ \ |_ \ | '_ \| |
\__ \ (_| | | | || __/___) || |_) | |
|___/\__, |_|_|\__\___|____(_) .__/|_|
|_| |_|