I hereby claim:
- I am schmonz on github.
- I am schmonz (https://keybase.io/schmonz) on keybase.
- I have a public key whose fingerprint is 684B FA24 EE34 0AFD 18A6 B585 3BF0 7B5F 1E86 F91F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <VirtualHost *:80> | |
| ServerName wiki.example.com | |
| DocumentRoot /home/wiki/html | |
| UserDir /home/wiki/html/users | |
| <Location /> | |
| Require all granted | |
| </Location> | |
| ErrorLog "|/usr/pkg/sbin/rotatelogs /u0/log/httpd/wiki-error 86400" |
| #!/bin/sh | |
| # | |
| # $ motd2rss < /etc/motd > motd.xml | |
| # | |
| # adapted a great deal from NetBSD's pkg-changes2rss | |
| print_header() | |
| { | |
| cat <<EOF | |
| <?xml version="1.0"?> |
This turned into a blog post. The script lives there.
This turned into a blog post. The script lives there.
This turned into a blog post. The configuration lives there.
This turned into a blog post. The configurations live there:
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
| #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"); |