Skip to content

Instantly share code, notes, and snippets.

View bdice's full-sized avatar
👨‍💻

Bradley Dice bdice

👨‍💻
View GitHub Profile
@bdice
bdice / generate-song.py
Created September 13, 2019 04:24
This script generates song files for the LaTeX package "songs" from charts in the common format copy-pasted from Ultimate Guitar and similar websites, where chords are on one line, aligned by whitespace with the lyrics on the following line.
#!/usr/bin/env python3
import click
import re
"""This script generates song files for the LaTeX package "songs" from chord
charts in the common format copy-pasted from Ultimate Guitar and similar
websites, where chords are on one line, aligned by whitespace with the lyrics
on the following line (after dropping lines with only whitespace).
This script will accomplish most of the task automatically but outputs still
@bdice
bdice / PKGBUILD
Created August 10, 2019 23:09
Arch PKGBUILD for python-vispy with JS submodule
pkgname=python-vispy
pkgver=v0.6.1
pkgrel=2
pkgdesc='A high-performance interactive 2D/3D data visualization library.'
arch=('any')
url='http://vispy.org'
license=('BSD')
depends=('python-numpy')
optdepends=('pyside2: a possible backend'
'python-pyqt5: a possible backend')