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
In [3]: quit() | |
^CException ignored in: <module 'threading' from '/usr/lib/python3.5/threading.py'> | |
Traceback (most recent call last): | |
File "/usr/lib/python3.5/threading.py", line 1288, in _shutdown | |
t.join() | |
File "/usr/lib/python3.5/threading.py", line 1054, in join | |
self._wait_for_tstate_lock() | |
File "/usr/lib/python3.5/threading.py", line 1070, in _wait_for_tstate_lock | |
elif lock.acquire(block, timeout): |
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 can | |
from time import sleep | |
can_bus_a = can.Bus('can0', bustype='socketcan') | |
can_bus_b = can.Bus('can1', bustype='socketcan') | |
try: | |
for message in can_bus_a: | |
can_bus_b.send(message) |
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 | |
usage() { | |
echo "Usage: $0 [branch1 branch2 branch3 ...] or $0 [branches.txt]" | |
echo "Arguments:" | |
echo " branch1 branch2 branch3 ... : A list of branch names separated by spaces" | |
echo " branches.txt : A text file containing branch names, one per line" | |
echo "Rebases the specified branches on top of the 'develop' branch and asks for confirmation to force push them to the origin." | |
} |
OlderNewer