Skip to content

Instantly share code, notes, and snippets.

View LordMZTE's full-sized avatar
💭
Complaining about Python

LordMZTE

💭
Complaining about Python
View GitHub Profile
const std = @import("std");
pub const io_mode = .evented;
// Loris: This is an unfortunate combination of traps that you stumbled upon.
// Reader / Writer interfaces are generic (ie the type changes based on the underlying stream).
// In Zig we use the term "interface" very broadly to refer to anything that fulfills a predetermined API.
// This is very different than say, Go, where "interface" is a concrete feature of the language that
// only offers one specific way of doing runtime polymorphism. Going back to Zig, the problem here is
// that stdin and stdout are `std.fs.File` structs, while the socket is a `std.net.Stream`, which means

Offline MultiMC Instructions

Prerequisites:

Replace /home/user/.local/share/multimc/accounts.json with this

{
    "accounts": [
 {
@HactarCE
HactarCE / README.md
Last active December 24, 2023 15:28
Factorio blueprint book list

This is just a collection of useful Factorio blueprint books I have either found online or made myself. (Links are included where applicable.) I recommend using this Chrome extension to quickly copy these into Factorio.

All blueprints use blue belts unless stated otherwise.

See also: