Skip to content

Instantly share code, notes, and snippets.

Guillaume Duquesnay duquesnay

Block or report user

Report or block duquesnay

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
duquesnay / python dynamic module url load
Last active Nov 17, 2017
Dynamic build module from URL
View python dynamic module url load
def load_module(url):
import urllib.request
from os.path import splitext, basename
from types import ModuleType
u = urllib.request.urlopen(url)
sourcename = url.split('/')[-1]
modulename = splitext(basename(sourcename))[0]
sourcecode ='utf-8')
code = compile(sourcecode, url, 'exec')
duquesnay /
Created Mar 7, 2017 — forked from JasonGhent/
OSX raspberry pi emulation via QEMU. v2 attempt @
# pulled from
# expanded via
# tested with on OSX Mavericks
# OSX terminal
brew install qemu
# kernel-qemu is a linux kernel compiled with ARM1176 support.
# learn more here:
curl -OL
curl -o -L
You can’t perform that action at this time.