Skip to content

Instantly share code, notes, and snippets.

View swgillespie's full-sized avatar

Sean Gillespie swgillespie

View GitHub Profile
@AndyAyersMS
AndyAyersMS / 8QueensRawData.csv
Last active April 21, 2016 23:46
Script for running xunit-perf tests on CoreCLR (windows)
Iteration Time Instructions
1 245.29947067435137 2450300000
2 242.80866366034343 2450400000
3 252.36461047958414 2450500000
4 252.65525905979166 2447100000
5 253.49454765656992 2444600000
6 244.2105881924831 2444400000
7 247.37319930841477 2444500000
8 245.65496701161919 2447900000
9 256.54519142218123 2444500000
@0xabad1dea
0xabad1dea / singularthey.md
Last active June 18, 2022 18:01
Singular They in Technical English

Guidelines for Singular They in Technical English

by 0xabad1dea, December 2014

This document is an RFC of sorts for increasing the adoption rate of Singular They in technical English. This is not an ultimatum; this is not shaming anyone who has done otherwise; and this is definitely not applicable to any other language.

What is Singular They?

DYLD_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib \
~/rust/rust-bindgen/target/bindgen \
-lmdbm -lstdc++ \
-o mdbm-sys/src/ffi.rs \
/tmp/mdbm/include/mdbm.h
@Aatch
Aatch / borrow-example.rs
Last active July 5, 2023 04:22 — forked from kolmodin/rust-json.rs
An example and explanation of how to use lifetimes and borrowing to avoid copying, while maintaining safety.
extern mod extra;
use extra::json::*;
/*
* This function manages to do absolutely no copying, which is pretty cool.
*
* "What are all those `'r`s?" you ask. Well, they're liftime parameters. They
* indicate how long something lasts (before it's freed). They can't change how
* long something lives for, they only allow you to tell the compiler stuff it