Skip to content

Instantly share code, notes, and snippets.

View robertely's full-sized avatar
💭
🍕

Robert Ely robertely

💭
🍕
View GitHub Profile
@benpye
benpye / ili9341.md
Last active December 11, 2021 19:22

Config Files

config.txt

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/usr/rcf-tools/collectd-5.1.0\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/rcf-tools/collectd-5.1.0/lib/collectd\" -DPKGDATADIR=\"/usr/rcf-tools/collectd-5.1.0/share/collectd\" -I/usr/include/python2.4 -Wall -Werror -fno-strict-aliasing -Wno-strict-aliasing -g -O2 -MT python_la-python.lo -MD -MP -MF .deps/python_la-python.Tpo -c python.c -fPIC -DPIC -o .libs/python_la-python.o
python.c: In function 'cpy_write_callback':
python.c:443: error: 'Values' has no member named 'ob_refcnt'
make[3]: *** [python_la-python.lo] Error 1
make[3]: Leaving directory `/tmp/collectd-5.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/collectd-5.1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/collectd-5.1.1/src'
make: *** [all-recursive] Error 1
@scarlson
scarlson / playlist.sh
Last active June 15, 2024 02:35
Bash script to create .m3u playlist files for all mp3s in subdirectories
#!/bin/bash
#
# bash script to create playlist files in music subdirectories
#
# Steve Carlson (stevengcarlson@gmail.com)
find . -type d |
while read subdir
do
rm -f "$subdir"/*.m3u