Skip to content

Instantly share code, notes, and snippets.

Christopher Arndt SpotlightKid

View GitHub Profile
@SpotlightKid
SpotlightKid / PKGBUILD-opentoonz.sh
Last active Sep 19, 2019
Fixed PKGBUILD for opentoonz to build from release tag source archive instead of git checkout
View PKGBUILD-opentoonz.sh
# Maintainer: cyrant <cyrant at tuta dot io>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=opentoonz
pkgver=1.3.0
pkgrel=4
pkgdesc='This is a software for producing a 2D animation.'
url='https://opentoonz.github.io'
license=('BSD')
arch=('x86_64')
@SpotlightKid
SpotlightKid / timebase.py
Last active Nov 8, 2019
Query and manipulate JACK transport state and provide timebase information using jackclient-python
View timebase.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# timebase.py
#
"""A simple JACK timebase master."""
import argparse
import sys
import time
@SpotlightKid
SpotlightKid / PKGBUILD-ensemble-chorus-git.sh
Last active Aug 9, 2019
Draft for PKGBUILD for ensemble-chorus-git AUR VCS package
View PKGBUILD-ensemble-chorus-git.sh
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=ensemble-chorus
pkgname="${_pkgname}-git"
pkgver=0.0.1.r56.59baeb8
pkgrel=1
pkgdesc="A LV2/VST2 plugin and stand-alone application emulating a string ensemble chorus"
arch=('i686' 'x86_64')
url="https://github.com/jpcima/ensemble-chorus"
license=('Boost')
@SpotlightKid
SpotlightKid / PKGBUILD-geonkick.sh
Created Aug 4, 2019
Updated PKGBUILD file for geonkick 1.6
View PKGBUILD-geonkick.sh
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot -de>
pkgname=geonkick
pkgver=1.6
pkgrel=1
pkgdesc="A free software percussion synthesizer"
arch=('x86_64')
url="http://quamplex.com/geonkick"
license=('GPL3')
@SpotlightKid
SpotlightKid / alsa-query.c
Created Apr 29, 2019
Print hardware capabilities of ALSA device
View alsa-query.c
/*
* alsa-query.c - print hardware capabilities of ALSA device
*
* compile with: gcc -o alsa-query alsa-query.c -lasound
*/
#include <stdio.h>
#include <alsa/asoundlib.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof *(a))
@SpotlightKid
SpotlightKid / graph.py
Created Mar 19, 2019
Modelling source file dependencies with a graph in Python
View graph.py
# -*- coding: utf-8 -*-
"""A very basic general graph library."""
from __future__ import print_function
__all__ = ('Edge', 'Graph', 'Node')
import uuid
@SpotlightKid
SpotlightKid / PKGBUILD-python-airnef.sh
Last active Jan 28, 2019
Improved/fixed PKGBUILD for python-airnef AUR package
View PKGBUILD-python-airnef.sh
_name=airnef
pkgbase="python-${_name}"
pkgname=("python-${_name}" "python2-${_name}")
pkgver=1.1
pkgrel=1
pkgdesc="Wireless download from your Nikon/Sony/Canon camera"
arch=('any')
url="http://www.testcams.com/airnef/"
license=('GPL3')
depends=('tk')
@SpotlightKid
SpotlightKid / gh-get.py
Created Oct 19, 2018
Download a single file from a GitHub repository
View gh-get.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# gh-get.py
#
"""Download a single file from a GitHub repository."""
import shutil
from os.path import expanduser
@SpotlightKid
SpotlightKid / urlparse.py
Last active Sep 24, 2018
Reduced urllib.parse_qsl implementation for MicroPython
View urlparse.py
# -*- coding: utf-8 -*-
def parse_qsl(qs, keep_blank_values=False, strict_parsing=False,
encoding='utf-8', errors='replace'):
"""Parse a query given as a string argument.
Arguments:
qs: percent-encoded query string to be parsed. May be a unicode
string or a UTF-8 encoded byte-string.
@SpotlightKid
SpotlightKid / OPNplug.desktop
Created Sep 18, 2018
Improved PKGBUILD for adlplug-git AUR package
View OPNplug.desktop
[Desktop Entry]
Name=OPNplug
Name[fr]=OPNplug
Comment=FM Yamaha OPN2 synthesizer for ADLMIDI
Comment[fr]=Synthétiseur FM Yamaha OPN2 pour ADLMIDI
TryExec=OPNplug
Exec=OPNplug
Icon=OPNplug
Type=Application
Categories=AudioVideo;Audio;Music;Midi
You can’t perform that action at this time.