Skip to content

Instantly share code, notes, and snippets.

View tylergannon's full-sized avatar

Tyler Gannon tylergannon

  • Monte Rio, Ca
  • 20:16 (UTC -08:00)
View GitHub Profile
@karlseguin
karlseguin / test_runner.zig
Last active November 18, 2025 19:41
Custom Zig Test Runner, better ouput, timing display, and support for special "tests:beforeAll" and "tests:afterAll" tests
// This is for the Zig 0.15.
// See https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/1f317ebc9cd09bc50fd5591d09c34255e15d1d85
// for a version that workson Zig 0.14.1.
// in your build.zig, you can specify a custom test runner:
// const tests = b.addTest(.{
// .root_module = $MODULE_BEING_TESTED,
// .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple },
// });
@mwoodpatrick
mwoodpatrick / README.md
Created September 6, 2022 12:31 — forked from lcrilly/README.md
unitc - a curl wrapper for configuring NGINX Unit

unitc

A curl wrapper for configuring NGINX Unit

Just provide the configuration URI (e.g. /config/routes) and unitc will find the control socket to construct the full address in curl syntax.

USAGE: unitc [HTTP method] [--quiet] URI

@Pablissimo
Pablissimo / Items.csv
Created July 29, 2019 09:40
An extract of the items in Minecraft and recipes to craft them, and the script to do the extract (to be run in Chrome Developer Tools) from http://minecraftsavant.weebly.com
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Item
Wooden Plank
Stick
Torch
Crafting Table
Furnace
Chest
Wood Pickaxe
Stone Pickaxe
Iron Pickaxe