Skip to content

Instantly share code, notes, and snippets.

View JonnyJD's full-sized avatar

Johannes Dewender JonnyJD

View GitHub Profile
==> Making package: lib32-libx264 148.20150725-3 (Mon Aug 10 01:20:04 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating x264 git repo...
Fetching origin
==> Validating source files with md5sums...
x264 ... Skipped
==> Extracting sources...
-> Creating working copy of x264 git repo...
@JonnyJD
JonnyJD / pacman_20150809.log
Created August 9, 2015 23:19
Pacman update on 2015-08-09, breaking lib32-libx264
[2015-08-09 16:33] [ALPM] transaction started
[2015-08-09 16:33] [ALPM] removed gcc-fortran-multilib (5.1.0-5)
[2015-08-09 16:33] [ALPM] transaction completed
[2015-08-09 16:33] [PACMAN] Running 'pacman -U gcc-libs-multilib-5.2.0-1-x86_64.pkg.tar.xz binutils-2.25.1-1-x86_64.pkg.tar.xz gcc-multilib-5.2.0-1-x86_64.pkg.tar.xz lib32-gcc-libs-5.2.0-1-x86_64.pkg.tar.xz'
[2015-08-09 18:28] [ALPM] transaction started
[2015-08-09 18:28] [ALPM] upgraded lib32-gcc-libs (5.1.0-5 -> 5.2.0-1)
[2015-08-09 18:28] [ALPM] upgraded gcc-libs-multilib (5.1.0-5 -> 5.2.0-1)
[2015-08-09 18:28] [ALPM] upgraded binutils (2.25-5 -> 2.25.1-1)
[2015-08-09 18:28] [ALPM] upgraded gcc-multilib (5.1.0-5 -> 5.2.0-1)
[2015-08-09 18:29] [ALPM] transaction completed
@JonnyJD
JonnyJD / 32bit_provided.json
Last active August 29, 2015 14:07
acousticbrainz json for 1st MB track (different builds and diffs)
{
"metadata": {
"version": {
"essentia": "2.1-beta1",
"essentia_git_sha": "v2.1_beta1-28-g21ef5f4-dirty",
"extractor": "music 1.0"
},
"audio_properties": {
"analysis_sample_rate": 44100,
"bit_rate": 0,
@JonnyJD
JonnyJD / gist:d21686a9f5569c30c934
Last active August 29, 2015 14:07
diff of 1st MB track
lowlevel:barkbands:min:0 : '8.48471315078e-16' vs '8.48070244977e-16' (0.047% err)
lowlevel:barkbands:min:2 : '3.39576302648e-16' vs '3.39454488722e-16' (0.036% err)
lowlevel:barkbands:min:3 : '2.13838086511e-16' vs '2.13694395312e-16' (0.067% err)
lowlevel:barkbands:min:4 : '1.92146777107e-15' vs '1.92123653107e-15' (0.012% err)
lowlevel:barkbands:min:10 : '3.68403004365e-15' vs '3.68365692563e-15' (0.010% err)
lowlevel:barkbands:min:17 : '8.85710419802e-15' vs '8.85614027452e-15' (0.011% err)
lowlevel:erbbands:min:1 : '1.14982703263e-13' vs '1.14938738865e-13' (0.038% err)
lowlevel:erbbands:min:2 : '6.75966119017e-13' vs '6.7586274034e-13' (0.015% err)
lowlevel:erbbands:min:3 : '1.29579474321e-12' vs '1.29536756755e-12' (0.033% err)
lowlevel:erbbands:min:5 : '8.11477534474e-12' vs '8.11233111936e-12' (0.030% err)
@JonnyJD
JonnyJD / mb_chatlogs.user.js
Last active August 29, 2015 14:02
Rassie's Chatlog scripts from http://rassie.org/mb_chatlogs.user.js with additional highlighting
// ==UserScript==
// @name MusicBrainz chatlogs
// @namespace http://dev.rassie.org
// @description Make Musicbrainz IRC logs readable
// @include http://chatlogs.musicbrainz.org/*
// ==/UserScript==
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
@JonnyJD
JonnyJD / PKGBUILD
Created March 28, 2014 13:52
Arch Linux PKGBUILD for picard-local
# $Id: PKGBUILD 87401 2013-03-31 13:44:28Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: sysrq
pkgname=picard-local
_pkgname=picard
pkgver=1.2
pkgrel=1
pkgdesc='Official MusicBrainz tagger'
@JonnyJD
JonnyJD / showrelease.py
Last active December 24, 2015 13:09
This shows a disc in a drive on musicbrainz.org
#!/usr/bin/python
# Copyright 2009-2013 Johannes Dewender ( brainz at JonnyJD.net )
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@JonnyJD
JonnyJD / Makefile
Last active December 24, 2015 03:59
Disc ID calculation with gstreamer
CFLAGS=`pkg-config --cflags gstreamer-plugins-base-1.0`
LIBS=`pkg-config --libs gstreamer-plugins-base-1.0`
discid: discid.c
gcc -Wall $^ -o $@ $(CFLAGS) $(LIBS)
@JonnyJD
JonnyJD / Makefile
Created July 31, 2013 22:16
traversing the I/O registry on Mac OS X (iokit)
traverse_io_registry: traverse_io_registry.c
${CC} $^ -framework CoreFoundation -framework IOKit -o $@
@JonnyJD
JonnyJD / Makefile
Last active December 20, 2015 09:09
Preliminary tests to implement drutil's optical disc drive numbering in C
disc_drive_numbers: disc_drive_numbers.c
${CC} $^ -framework CoreFoundation -framework IOKit -o $@