Skip to content

Instantly share code, notes, and snippets.

View Ast3risk-ops's full-sized avatar
🍋
I don't want your damn lemons!

Asterisk Ast3risk-ops

🍋
I don't want your damn lemons!
View GitHub Profile
@Ast3risk-ops
Ast3risk-ops / adding-ff-to-steam-group.md
Last active December 8, 2025 17:32
Adding Fortress Forever as a favorite game of your Steam group (or any other game you can't just *add*)
@Ast3risk-ops
Ast3risk-ops / bzf.sh
Last active February 25, 2025 01:46
Small bzip2 compressor script I use when building a FastDL.
#!/bin/bash
for i in *.txt; do bzip2 -z "$i"; done
for i in *.bsp; do bzip2 -z "$i"; done
for i in *.nav; do bzip2 -z "$i"; done
for i in *.res; do bzip2 -z "$i"; done
for i in *.mp3; do bzip2 -z "$i"; done
for i in *.vmt; do bzip2 -z "$i"; done
for i in *.vtf; do bzip2 -z "$i"; done
for i in *.wav; do bzip2 -z "$i"; done

[This portion of call begins at 25:47]

Me: I could make it really easy on you, if you think Apollo is costing you $20 million per year, cut me a check for $10 million and we can both skip off into the sunset. Six months of use. We're good. That's mostly a joke.

Reddit: Six months of use? What do you mean? I know you said that was mostly a joke, but I want to take everything you're saying seriously just to make sure I'm not - what are you referring to?

Me: Okay, if Apollo's opportunity cost currently is $20 million dollars. At the 7 billion requests and API volume. If that's your yearly opportunity cost for Apollo, cut that in half, say for 6 months. Bob's your uncle.

Reddit: You cut out right at the end. I'm not asking you to repeat yourself for a third time, but you legit cut out right at the end. "If your opportunity cost is $10 million" and then I lost you.

@probonopd
probonopd / Wayland.md
Last active December 16, 2025 07:52
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

#! /bin/sh
GOOS=linux go build -o $2 "$1"
GOOS=linux go build -ldflags="-s -w" -o $2.-sw "$1"
upx -f --brute -o $2.upx $2
upx -f --brute -o $2.-sw.upx $2.-sw
GOOS=linux gotip build -o $2.tip "$1"
GOOS=linux gotip build -ldflags="-s -w" -o $2.tip.-sw "$1"
upx -f --brute -o $2.tip.upx $2.tip