Skip to content

Instantly share code, notes, and snippets.

View hairmare's full-sized avatar
🦉
owl yeah

Lucas Bickel hairmare

🦉
owl yeah
View GitHub Profile
@hairmare
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
hairmare / test.ipynb
Last active February 22, 2023 14:16
test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hairmare
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
URL: https://karlstav.github.io/%{name}/
Source0: https://github.com/karlstav/%{name}/archive/%{version}.tar.gz
@hairmare
hairmare / Letter.md
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 Airtime.pro. 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 Airtime.pro 3) Fork AirTime and continue development independently.

@hairmare
hairmare / gdb.bt.txt
Last active February 15, 2017 11:49
Debian 9 testing/stretch silan debug output
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
@hairmare
hairmare / pre-commit
Created June 5, 2015 12:57
pre-commit hook for running composer check
#!/bin/sh
#
# 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
hairmare / keybase.md
Created January 8, 2015 00:53
keybase.md

Keybase proof

I hereby claim:

  • I am hairmare on github.
  • I am hairmare (https://keybase.io/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
hairmare / zabbix.conf
Created November 26, 2014 06:38
zabbix config for puppet-zabbix on travis
<?php
// 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
hairmare / cupcake.xml
Created April 12, 2013 03:21
machine definition file that adds our repstrap
<?xml version="1.1" encoding="utf-8"?>
<machines>
<!-- Cupcake Basic -->
<machine>
<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
hairmare / run_scripts.sh
Created September 14, 2011 08:28
transmission post-download script for integration with xbmc
#!/bin/sh
XMBC_NODE=127.0.0.1:8080
FILER_PATH=smb://127.0.0.1:139/Multimedia/Series
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'`