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 ast | |
class Visitor(ast.NodeVisitor): | |
def __init__(self): | |
self._names_seen = set() | |
def visit_Name(self, node): | |
self._names_seen.add(node.id) | |
node = ast.parse("all(package.name not in ['plainbox', 'tuxracer'])") |
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/sh | |
junk=$(mktemp -d --suffix=.plainbox-junk) | |
logs=$(mktemp -d --suffix=.plainbox-logs) | |
echo "Going to temporary place: $junk" | |
echo "Log files and everything else: $logs" | |
cd $session | |
for job in $(plainbox special --list-jobs); do | |
job_mangled=$(echo $job | sed 's!/!_!g') | |
echo "Running $job... (output in $logs/$job_mangled.*)" | |
time plainbox run -r $job -o $logs/$job_mangled.json -f json >$logs/$job_mangled.out 2>$logs/$job_mangled.err |
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
# TI LaunchPad Stellaris board (ICDI external programmer) | |
ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0660", GROUP="plugdev", |
NewerOlder