I hereby claim:
- I am larsimmisch on github.
- I am la23ng (https://keybase.io/la23ng) on keybase.
- I have a public key whose fingerprint is 4402 1BF1 DC65 327C 125B 62B1 A588 987B 7B75 CAB2
To claim this, I am signing this object:
| #!/bin/sh | |
| # I wanted to use a Raspberry Pi as a USB gadget for audio and ethernet, but got error messages on the iPad | |
| # when I extended the camera connection kit with a Lightning extender. | |
| # | |
| # I managed to avoid this by making sure that the USB gadget announces itself as self-powered (see configs/c.1/bmAttributes) | |
| # With this, the Pi 4 and a Hifiberry Amp supplies audio out and ethernet. | |
| # | |
| # For audio out, alsaloop or similar must also be running. |
| #!/usr/bin/env python3 | |
| # This utility helps reconstructing mailboxes that we recreated after a botched upgrade | |
| # to cyrus 3.6 | |
| # This code automates the suggestion from ellie timoney here: https://cyrus.topicbox.com/groups/info/T9d294f89a3d1d260-M2f194782b7c5b5b01e200409 | |
| # and reconstructs mailboxes that were recreated (and the old content lost) during an update from cyrus 3.4 to cyrus 3.6 | |
| # | |
| # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007965 for the related Debian bugreport | |
| # |
| [Unit] | |
| Description=mISDN capi daemon | |
| After=network.target | |
| [Service] | |
| ExecStartPre=/bin/mkdir -p /var/run/mISDNcapid | |
| ExecStart=/usr/local/sbin/mISDNcapid -f | |
| Restart=always | |
| [Install] |
| #!/usr/bin/env python | |
| # I recently had to merge the comments from an old instance of wordpress to | |
| # a new one (long and boring story). | |
| # The posts had already been manually merged, but not the comments. | |
| # So I wrote this script to merge the comments | |
| # Warning: while this has worked (once) this may not be a good way to do it. | |
| # Also, it is slow, so, for repeated operation, it creates a stats.json so it doesn't |
| import os | |
| import click | |
| def prompt_and_invoke(ctx, fn): | |
| # This is a workaround for a bug in click. | |
| # See https://github.com/mitsuhiko/click/issues/429 | |
| # This isn't perfect - we are probably ignoring some information | |
| kw = {} |
| import os | |
| import click | |
| @click.command() | |
| @click.option('--site-title', | |
| default="Notizen", | |
| prompt='Enter site title.') | |
| @click.option('--user-backend', | |
| default="db", | |
| type=click.Choice(['db', 'ldap']), |
| opam install eliom | |
| The following actions will be performed: | |
| ∗ install uutf 0.9.4 [required by tyxml] | |
| ∗ install calendar 2.03.2 [required by eliom] | |
| ∗ install dbm 1.0 [required by ocsigenserver] | |
| ∗ install conf-pkg-config 1.0 [required by conf-libpcre] | |
| ∗ install cryptokit 1.10 [required by ocsigenserver] | |
| ∗ install lwt 2.4.6 [required by js_of_ocaml, ocsigenserver] | |
| ∗ install reactiveData 0.1 [required by eliom] | |
| ∗ install optcomp 1.6 [required by deriving] |
I hereby claim:
To claim this, I am signing this object:
| from __future__ import print_function | |
| # Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group | |
| # (Any use permitted, subject to terms of PostgreSQL license; see.) | |
| # If we have a 64-bit integer type, then a 64-bit CRC looks just like the | |
| # usual sort of implementation. (See Ross Williams' excellent introduction | |
| # A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS, available from | |
| # ftp://ftp.rocksoft.com/papers/crc_v3.txt or several other net sites.) |
| // ringbuffer.h | |
| // Author: Markus Redeker | |
| #pragma warning(disable:4786) | |
| #ifndef __RINGBUFFER_H__ | |
| #define __RINGBUFFER_H__ | |
| // Use: | |
| // ringbuffer r; |