Skip to content

Instantly share code, notes, and snippets.

View schmonz's full-sized avatar

Amitai Schleier schmonz

View GitHub Profile
@schmonz
schmonz / conferences2018.md
Last active October 1, 2018 14:41
2018 conferences I may want to attend
#include "exit.h"
#include "readwrite.h"
#include "substdio.h"
char sserrbuf[128];
substdio sserr = SUBSTDIO_FDBUF(write,2,sserrbuf,sizeof sserrbuf);
void err(char *s) {
substdio_puts(&sserr,s);
substdio_puts(&sserr,"\n");
@schmonz
schmonz / summary.md
Created August 21, 2017 21:53
inconsistent installed path for C# .dll across platforms

What I tried

In pkgsrc (a cross-platform Unix package system), I've created a package of Xapian (a search engine) and a package of its C# bindings.

Each package has a packing list (PLIST) that specifies exactly which files are part of it. If a given source build would generate a binary package that doesn't contain both everything in the PLIST

@schmonz
schmonz / conferences2017.md
Last active February 22, 2018 23:38
2017 conferences I may want to attend
@schmonz
schmonz / schmonz-software-rebuild.md
Last active December 18, 2016 15:53
Build packages for NetBSD VPS on local NetBSD VM
@schmonz
schmonz / pound.md
Last active December 19, 2016 21:31
@schmonz
schmonz / gpio.conf
Created August 3, 2016 19:14
NetBSD Raspberry Pi: toggle onboard LED
gpio0 16 set out act_led
@schmonz
schmonz / proxied_apache_and_lighttpd.md
Last active December 19, 2016 21:37
Apache: one proxied site running as regular user, one reverse proxy
@schmonz
schmonz / tap.md
Last active December 18, 2016 16:02
Running Unity tests? Run them with `prove tap.pl` for red/green.
@schmonz
schmonz / conferences2016.md
Last active February 22, 2018 23:39
2016 conferences I may want to attend