Skip to content

Instantly share code, notes, and snippets.

@schamp
schamp / instructions.txt
Last active Aug 8, 2020
Patch solarus-quest-editor for retropie
View instructions.txt
# from scratch on retropi raspberry pi 4:
sudo apt-get install aptitude
sudo aptitude install build-essential cmake pkg-config libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libluajit-5.1-dev libphysfs-dev libopenal-dev libvorbis-dev libmodplug-dev qtbase5-dev qttools5-dev qttools5-dev-tools libglm-dev
# when it complains about dbus dependencies or something, choose to upgrade the package
wget (solarus-dev.zip) && unzip
wget (solarus-quest-editor-dev.zip) && unzip
cd solarus-dev && mkdir build && cd build
export SOLARUS=/home/pi/solarus
cmake .. -DCMAKE_INSTALL_PREFIX=$SOLARUS
make
View voicecontrol setup
To make speech recognition package work:
```
sudo aptitude install pocketsphinx
sudo aptitude install python-gst0.10 gstreamer-0.10 gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-pocketsphinx
```
Find your desired card with:
```
cat /proc/asound/cards
@schamp
schamp / raspberry-pi-zero-wireless-router.md
Last active Mar 31, 2017
How to configure the base image for an RPiZeroW wireless router using TOR, OpenVPN or PassThru
View raspberry-pi-zero-wireless-router.md

Prepare the image

Flash an image on to an SD card. Use the latest Jessie at least.

Gain access to the device

Using these instructions (copied, from here https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a , for convenience), get access to the pi via the USB OTG ethernet device:

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

View keybase.md

Keybase proof

I hereby claim:

  • I am schamp on github.
  • I am schamp (https://keybase.io/schamp) on keybase.
  • I have a public key ASCjlc3n9mkU61hheku1Z3CSQYIsMAVXwHp_9gSylDpxTgo

To claim this, I am signing this object:

@schamp
schamp / custom_chip.md
Created Jan 11, 2017
Build a custom Chip image
View custom_chip.md
@schamp
schamp / onionchip.md
Last active Dec 24, 2016
How to make an OnionCHIP, a Tor transparent proxy access point for Next Thing Co's C.H.I.P.
View onionchip.md

0. Initial Setup

0.0 Connect with USB Serial

Connect your CHIP to your PC with a USB data cable, then login:

$ ls /dev/tty.usb*
/dev/tty.usbmodem201413
$ screen /dev/tty.usbmodem201413
Debian GNU/Linux 8 chip ttyGS0

chip login: root
You can’t perform that action at this time.