Skip to content

Instantly share code, notes, and snippets.

👨‍🔬

Jan Willhaus janw

👨‍🔬
Block or report user

Report or block janw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@janw
janw / keybase.md
Last active Jun 9, 2018
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am janw on github.
  • I am janw (https://keybase.io/janw) on keybase.
  • I have a public key ASAQViF50BAuB-a6BJ1kNkuI1qkjLrJWw01HYjznAv3q9Ao

To claim this, I am signing this object:

@janw
janw / update_selfoss.sh
Last active Sep 17, 2016
Update script for selfoss, the multipurpose rss reader
View update_selfoss.sh
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
# Enter path to selfoss instance
selfoss_path="/path/to/selfoss"
# Enter path to place backup files at
backup_path="/path/to/selfoss_backups"
@janw
janw / wavefilereader.class.php
Last active Aug 29, 2015 — forked from RobThree/wavefilereader.class.php
It's not evident that 'fmt ' and 'data' chunks start right away (maybe there's metadata interleaved?). Introduce some look-ahead to check for the chunks
View wavefilereader.class.php
<?php
/**
* WaveFileReader; a simple class to read/parse WAVE file
* (c)2012 Rob Janssen / https://github.com/RobThree
*
* Based on https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
*
* USAGE:
*
* $wav = WaveFileReader::ReadFile('/path/to/test.wav');
@janw
janw / gist:5ef5f3183c826cb9cfab
Last active Aug 29, 2015
Libdispatch configure error on forked-daapd
View gist:5ef5f3183c826cb9cfab
[root@daapd_1 /usr/local/src/forked-daapd/forked-daapd]# CFLAGS="$CFLAGS -I/usr/local/include -L/usr/local/lib -Wall -D_LARGEFILE_SOURCE -I$WORKDIR/avl-0.3.5 -L$WORKDIR/avl-0.3.5" ZLIB_LIBS="-L/lib -lz" ZLIB_CFLAGS="-I/usr/include" ./configure --localstatedir=/var --enable-flac --enable-musepack --enable-itunes --with-oss4=/usr/local/lib/oss/include/sys --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for clang... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
You can’t perform that action at this time.