Skip to content

Instantly share code, notes, and snippets.

View kscottz's full-sized avatar
💭
🐀 🐀 🐀 🐀 🐀 🐀

Katherine Scott kscottz

💭
🐀 🐀 🐀 🐀 🐀 🐀
View GitHub Profile
@iandanforth
iandanforth / command-line-tool-template.py
Last active December 22, 2015 07:29
Python command line tool template.
#! /usr/bin/python
import optparse
def main(options):
'''
Performs the amazingly useful tasks for this command line tool
'''
pass
@17twenty
17twenty / gist:2718613
Created May 17, 2012 12:33
Force Beaglebone to boot your settings on powerup from uEnv.txt
So the Beaglebone uses the file uEnv.txt to store settings as it doesn't have any NAND allocated to do it with, by
default the file is pretty empty save from the line:
optargs=run_hardware_tests quiet
You may have read a number of things about boot.scr etc - ignore it, it's not correct.
The bootcmd is hardwired in uboot to do the following (i've seperated it all out to make things clearer) - you can see it by
interrupting the bootsequence and performing a 'printenv'.
bootcmd=