Skip to content

Instantly share code, notes, and snippets.

atomicstack /
Last active Nov 26, 2020
a one-liner to fetch the latest revisions of /boot/*.{elf,dat} in the RPi firmware repository (because it's a 14GB repo and cloning takes forever, and we're only interested in ~20MB of data)
wget $( wget -qO - | perl -nE 'chomp; next unless /[.](elf|dat)/; s/.*href="([^"]+)".*/$1/; s/blob/raw/; say qq{$_}' )
MIvanchev /
Last active Jun 23, 2021
Ever wondered what it takes to run Windows software on ARM? Then this article might be for you!
daz /
Last active Jan 29, 2021
Cross-compile ffmpeg with x264 for Raspberry Pi 2
# Build environment. I use vagrant ubuntu/trusty64
sudo apt-get install build-essential git-core
sudo git clone /opt/tools
export CCPREFIX="/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-"
# Get ffmpeg and x264 repos
git clone git://
binaryghost /
Created Dec 12, 2012
A python script that emails the local and external IP address when the Pi starts up. Original version from:
#!/usr/bin/env python
# modified from
import subprocess
import smtplib
import socket
from email.mime.text import MIMEText
import datetime
import urllib2
# Change to your own account information
to = ''