Skip to content

Instantly share code, notes, and snippets.

View hsivonen's full-sized avatar

Henri Sivonen hsivonen

View GitHub Profile
@hsivonen
hsivonen / Dockerfile
Created January 24, 2019 09:01
dist-various-2 with armv7 toolchain
FROM ubuntu:17.10
COPY scripts/cross-apt-packages.sh /scripts/
RUN sh /scripts/cross-apt-packages.sh
RUN apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommends \
build-essential \
gcc-multilib \
libedit-dev \
libgmp-dev \
@hsivonen
hsivonen / flickrapi.py
Created September 20, 2013 14:14
Script for uploading photos and videos to Flickr. Written in 2006 using a 2006 version of flickrapi.py. flickrapi.py has since then gotten more official and more complicated. I've never had a reason to update the a newer version of the API.
#!/usr/bin/python
#
# Flickr API implementation
#
# Inspired largely by Michele Campeotto's flickrclient and Aaron Swartz'
# xmltramp... but I wanted to get a better idea of how python worked in
# those regards, so I mostly worked those components out for myself.
#
# http://micampe.it/things/flickrclient
# http://www.aaronsw.com/2002/xmltramp/