Skip to content

Instantly share code, notes, and snippets.

View tylergannon's full-sized avatar

Tyler Gannon tylergannon

  • Monte Rio, Ca
  • 15:24 (UTC -07:00)
View GitHub Profile
@karlseguin
karlseguin / test_runner.zig
Last active April 27, 2025 02:52
Custom Zig Test Runner, better ouput, timing display, and support for special "tests:beforeAll" and "tests:afterAll" tests
// Changed Jan 29, 2025 to accomodate latest Zig changes
// See history if you're using an older version of Zig.
// in your build.zig, you can specify a custom test runner:
// const tests = b.addTest(.{
// .target = target,
// .optimize = optimize,
// .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple }, // add this line
// .root_source_file = b.path("src/main.zig"),
// });
@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

@m5lil
m5lil / reset.sh
Last active April 20, 2025 20:06
[reset jetbrains application trial] reset jetbrains ide evals v1.0.4 #others
#!/bin/bash
# reset jetbrains ide evals v1.0.4
OS_NAME=$(uname -s)
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode"
if [ "$OS_NAME" == "Darwin" ]; then
echo 'macOS:'
for PRD in $JB_PRODUCTS; do
@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