This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
LD_LIBRARY_PATH="" ./mlk-updater.py --check | |
./launch.sh $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"Client": {"HardwareAcceleration": "false", "Sound":{"Enabled": "false"}, "OSDeprecationMessageLastSeenMS": "2504095679451"}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CXX = g++ | |
CFLAGS = -Wall -g -std=c++11 | |
#CFLAGS += -O3 | |
LIBS = -lwiringPi | |
CORE = dothat | |
OBJS = main.o St7036.o Sn3218.o | |
all: $(CORE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## local only ## | |
name: DX-Ball 2 | |
slug: dx-ball-2-demo | |
game_slug: dx-ball-2 | |
version: Windows Demo | |
runner: wine | |
## local only ## | |
files: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-session | |
set -g status-left "" | |
set -g base-index 1 | |
set -g status-right ' #[fg=blue]#H #[fg=magenta]%Y-%m-%d #[bold]%H:%M ' | |
set -s escape-time 0 | |
set-window-option -g xterm-keys on | |
set-option -g status-bg default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# by djazz, using various bits of code found over the web | |
# works with both python2 and python3 | |
# requires: python-alsaaudio, python-numpy, python-smbus, piglow | |
# install piglow: curl get.pimoroni.com/piglow | bash | |
# usage: | |
# this script accepts raw audio in this format: S16LE 44100 kHz Mono | |
# script-that-outputs-audio | python piglow_fft.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
music="/audio" | |
maxbitrate=160 | |
find "$music" -type f -name '*.mp3' | while IFS='' read -r line || [[ -n "$line" ]]; do | |
bitrate=$(mp3info -r m -p %r "$line") | |
if [ "$bitrate" -lt "$maxbitrate" ]; then | |
echo "$bitrate" "$line" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ${0%/*} | |
sock="`pwd`/mpd/socket" | |
function addList { | |
LIST=`python2 create-show.py` | |
IFS=$'\n'; |