Prebuilt kernel & other files: http://drichman.net/files/raspi/d-i-disk.tar.gz Skip to Partitioning
sudo apt-get install gcc-4.6-arm-linux-gnueabi build-essential \
libncurses-dev
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc{-4.6,}
| #!/usr/bin/python | |
| # Copyright 2012 Daniel Richman. | |
| # Protip: need not be run as root. | |
| import sys | |
| import os | |
| import urllib2 | |
| import xml.dom.minidom | |
| import traceback |
| #!/usr/bin/python | |
| # Copyright 2012 Daniel Richman | |
| import os | |
| import os.path | |
| import pwd | |
| import traceback | |
| def proc_maps(): | |
| for subdir in os.listdir("/proc"): |
Prebuilt kernel & other files: http://drichman.net/files/raspi/d-i-disk.tar.gz Skip to Partitioning
sudo apt-get install gcc-4.6-arm-linux-gnueabi build-essential \
libncurses-dev
sudo ln -s /usr/bin/arm-linux-gnueabi-gcc{-4.6,}
| #!/usr/bin/env python | |
| # Copyright Daniel Richman 2012. License: GNU GPL 3 | |
| import sys | |
| import couchdbkit | |
| def main(uri, db): | |
| server = couchdbkit.Server(uri) | |
| database = server[db] |
| from habitat_calendar.cal import app as application |
| #!/bin/sh | |
| coffee --join js/genpayload.js --compile coffee/*.coffee && | |
| coffee --join js/specs.js --compile spec/*.coffee && | |
| python misc/make_test_docs.py && | |
| python misc/pack_files.py |
| #!/usr/bin/env python | |
| # Copyright 2012 Daniel Richman. GNU GPL 3 | |
| # Logging setup borrowed from habitat.utils.startup | |
| import time | |
| import urllib | |
| import json | |
| import os | |
| import logging | |
| from logging.handlers import SMTPHandler |
| #!/usr/bin/python | |
| import sys | |
| import os | |
| import os.path | |
| import re | |
| from subprocess import check_call | |
| # pip install PyGithub | |
| from github import Github |
| #!/usr/bin/python | |
| # Copyright 2011 (C) Daniel Richman | |
| # | |
| # This programme is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This programme is distributed in the hope that it will be useful, |
| <?php | |
| /* | |
| * Copyright (C) 2010 Daniel Richman | |
| * This is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |