This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
########################################################################### | |
### @file main.py | |
### Execution Engine for the Site Generator | |
### @Author Abhijit Bose <[email protected]> | |
### @License | |
### Copyright 2014 Abhijit Bose <[email protected]> | |
### Licensed under the Apache License, Version 2.0 (the "License"); | |
### you may not use this file except in compliance with the License. | |
### You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os,sys | |
from os import path | |
#the config file lites in the top py directory | |
try: | |
from config import * | |
except: | |
#fix for Direct Running | |
sys.path.insert(0, \ | |
path.abspath(path.join(os.getcwd(),".."))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot 2009.08-00695-g055df3a (Dec 25 2013 - 09:56:12) | |
CPU: Freescale i.MX6 family TO1.1 at 792 MHz | |
Thermal sensor with ratio = 188 | |
Temperature: 42 C, calibration data 0x5a45225f | |
mx6q pll1: 792MHz | |
mx6q pll2: 528MHz | |
mx6q pll3: 480MHz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto lo | |
iface lo inet loopback | |
allow-hotplug eth0 | |
iface eth0 inet dhcp | |
auto wlan0 | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# adb protocol on passion (Nexus One) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<username>" | |
# fastboot protocol on passion (Nexus One) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<username>" | |
# adb protocol on crespo/crespo4g (Nexus S) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<username>" | |
# fastboot protocol on crespo/crespo4g (Nexus S) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<username>" | |
# adb protocol on stingray/wingray (Xoom) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="<username>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo rpi-update | |
sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the example program to be used | |
# Rename the file to `program.py' | |
print("Aum") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# script to register Python 2.0 or later for use with win32all | |
# and other extensions that require Python registry settings | |
# | |
# written by Joakim Low for Secret Labs AB / PythonWare | |
# | |
# source: | |
# http://www.pythonware.com/products/works/articles/regpy20.htm | |
# | |
# Websource: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del /F /Q *.uvguix.* *.lst | |
del /F /Q JLinkLog.txt | |
del /F /Q JLinkSettings.ini | |
rmdir /S /Q RTE | |
FOR /f "tokens=*" %%a in ('dir *Configur* /A:D /B /S') DO rmdir /S /Q "%%a" | |
rmdir /S /Q _build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Fabien Poussin | |
# Last edit: 20/11/2014 | |
# | |
# You will need the following mingw32/64 or equivalent linux packages to build it: | |
# msys gcc msys-coreutils msys-wget msys-autoconf msys-automake msys-mktemp | |
# | |
# Use mingw-get to install these. | |
# run this script from msys's or any unix console. |