sudo apt-get install automake libtool build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libssl-dev libdb5.1-dev db-util db5.1-util libgcrypt11 libgcrypt11-dev libcrack2-dev libpam0g-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libwrap0-dev systemtap-sdt-dev libacl1-dev libldap2-dev
This file contains 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
############################################################################### | |
# Compiling the RPi kernel in situ, with optional memory leak debugging | |
# | |
# Extends https://www.raspberrypi.org/documentation/linux/kernel/building.md | |
############################################################################### | |
# On the Raspberry Pi | |
cd ~/Projects | |
# Install rerequisites |
This file contains 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
# Condensed and revised from Blake's site (unreachable currently): | |
# http://sowingseasons.com/blog/building-python-3-4-on-raspberry-pi-2.html | |
# Install prerequisites | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y \ | |
build-essential libncursesw5-dev libgdbm-dev libc6-dev \ | |
zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl \ | |
libreadline6-dev liblzma-dev libbz2-dev libdb-dev |
This file contains 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/python | |
# | |
# MCP3204/MCP3208 sample program for Raspberry Pi | |
# | |
# how to setup /dev/spidev?.? | |
# $ suod modprobe spi_bcm2708 | |
# | |
# how to setup spidev | |
# $ sudo apt-get install python-dev python-pip | |
# $ sudo pip install spidev |
This file contains 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
# ps3mediaserver renderer profile for xbox media center | |
# Refer to PS3.conf for help | |
RendererName=XBMC | |
RendererIcon=xbmc.png | |
# ============================================================================ | |
# Identifying headers on Mac OS X: | |
# User-Agent: XBMC/10.0 r35648 (Mac OS X; 11.2.0 x86_64; http://www.xbmc.org) | |
# User-Agent: Platinum/0.5.3.0, DLNADOC/1.50 | |
# ============================================================================ |