This file contains 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
[11:40:15] pkilgo@conical:~/projects/django-buffet [9] tox -e django14 | |
GLOB sdist-make: /local/pkilgo/projects/django-buffet/setup.py | |
django14 inst-nodeps: /local/pkilgo/projects/django-buffet/.tox/dist/django-buffet-0.1.0.zip | |
django14 runtests: commands[0] | pip install Django < 1.5 | |
Requirement already satisfied (use --upgrade to upgrade): Django<1.5 in ./.tox/django14/lib/python2.7/site-packages | |
Cleaning up... | |
django14 runtests: commands[1] | "/local/pkilgo/projects/django-buffet/.tox/django14/bin/python" manage.py test core vcs sqldb | |
ERROR: InvocationError: could not find executable '"/local/pkilgo/projects/django-buffet/.tox/django14/bin/python" manage.py test core vcs sqldb' | |
____ summary _____ | |
ERROR: django14: commands failed |
This file contains 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
""" | |
Extensible confirmation decorator. | |
Simply decorate a view with @confirmation_required and a generic "check the | |
box" confirmation will show up. | |
By default the decorator passes the variables "title", "question", "prompt", | |
"form" and "error" to the template. Additional variables and overrides may be | |
specifies by passing a dict as the context parameter. |
This file contains 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 bpy | |
from bpy.props import IntProperty, FloatProperty, PointerProperty | |
import nodeitems_utils | |
from nodeitems_utils import NodeItem, NodeCategory | |
bl_info = { | |
"name": "Custom nodes", | |
"category": "Node", | |
} |
This file contains 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 | |
#Heith Seewald 2012 | |
#Feel free to extend/modify to meet your needs. | |
#Maya on Ubuntu v.1 | |
#This is the base installer... I’ll add more features in later versions. | |
#if you have any issues, feel free email me at heiths@gmail.com | |
#### Lets run a few checks to make sure things work as expected. | |
#Make sure we’re running with root permissions. | |
if [ `whoami` != root ]; then |
This file contains 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
public void write(byte bytes[]) { | |
int opcode = bytes[0]; | |
opcode = (opcode < 0) ? opcode + 256 : opcode; | |
int velocity = (bytes[1] << 8) | (bytes[2] & 0xFF); | |
int radius = (bytes[3] << 8) | (bytes[4] & 0xFF); | |
System.out.println("write(" + opcode + ", " + velocity + ", " + radius + ")"); | |
} |
This file contains 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 java.io.IOException; | |
import java.io.OutputStream; | |
import gnu.io.CommPort; | |
import gnu.io.CommPortIdentifier; | |
import gnu.io.NoSuchPortException; | |
import gnu.io.PortInUseException; | |
import gnu.io.SerialPort; | |
import gnu.io.UnsupportedCommOperationException; |