Skip to content

Instantly share code, notes, and snippets.

View hairmare's full-sized avatar
owl yeah


owl yeah
View GitHub Profile
hairmare / ruamel.yaml example roundtrips.ipynb
Created June 8, 2023 21:37
ruamel multiline scalar roundtripping
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
hairmare / test.ipynb
Last active February 22, 2023 14:16
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
hairmare / cava.spec
Last active November 30, 2017 22:05 — forked from sedrubal/cava.spec
cava - RPM SPEC
Name: cava
Version: 0.6.0
Release: 1%{?dist}
Summary: Console-based Audio Visualizer for Alsa
Group: Applications/Multimedia
License: MIT
hairmare /
Created February 19, 2017 14:10
LibreTime: A Fork of AirTime due to stalled development

LibreTime: A Fork of AirTime due to stalled development

Dear AirTime community,

As Sourcefabric mentioned in their recent statement, their development efforts are concentrating on the SaaS offering of For a while now, changes are not being merged back into the open source branch of AirTime and the branches have started to diverge heavily. While Sourcefabric in principle wants to continue to support the open source branch of AirTime, they are prohibited from doing so for financial reasons. Effectively, the development of the open source version of AirTime has come to a stop.

We as broadcasters depend on a continuously updated and maintained version of AirTime. Sourcefabric offered three solutions in their statement: 1) Wait for them to have time to merge SaaS features back to the open source version 2) Start using the SaaS offering 3) Fork AirTime and continue development independently.

hairmare /
Last active February 15, 2017 11:49
Debian 9 testing/stretch silan debug output
GNU gdb (Debian 7.12-6)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
hairmare / pre-commit
Created June 5, 2015 12:57
pre-commit hook for running composer check
# Run composer check and abort if issues are found
# To enable this hook, put it in ".git/hooks/pre-commit" in a working copy
exec composer check
hairmare /
Created January 8, 2015 00:53

Keybase proof

I hereby claim:

  • I am hairmare on github.
  • I am hairmare ( on keybase.
  • I have a public key whose fingerprint is E905 AA28 6E46 FBCB F081 894F 536B 1BA2 5B9D 5660

To claim this, I am signing this object:

hairmare / zabbix.conf
Created November 26, 2014 06:38
zabbix config for puppet-zabbix on travis
// Zabbix GUI configuration file
global $DB;
// Valid types are MYSQL, SQLITE3 or POSTGRESQL
$DB["TYPE"] = 'MYSQL';
$DB["SERVER"] = 'localhost';
$DB["PORT"] = '0';
// SQLITE3 use full path to file/database: $DB["DATABASE"] = '/var/lib/zabbix/zabbix.sqlite3';
hairmare / cupcake.xml
Created April 12, 2013 03:21
machine definition file that adds our repstrap
<?xml version="1.1" encoding="utf-8"?>
<!-- Cupcake Basic -->
<name>Cupcake Basic</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="320" endstops="min"/>
hairmare /
Created September 14, 2011 08:28
transmission post-download script for integration with xbmc
echo $TR_TORRENT_DIR | grep 'Series'
if [ $? -eq 0 ]; then
# we sure have some tv stuff on our hands, lets rescan that in xbmc
series_name=`echo $TR_TORRENT_DIR | cut -d / -f 4 - | sed -e 's/ /%20/g'`