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
from pyrabbit.api import Client | |
username = 'guest' | |
password = 'guest' | |
cl = Client('localhost:15672', username, password) | |
queues = [q['name'] for q in cl.get_queues()] | |
for q in queues: | |
#if q.startswith('Dispatch.259'): | |
print ('deleting...' + q) | |
cl.delete_queue('/', q) |
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
int tinkerDigitalRead(String pin); | |
int tinkerDigitalWrite(String command); | |
int tinkerAnalogRead(String pin); | |
int tinkerAnalogWrite(String command); | |
// We name pin D0 as led | |
int led = D0; | |
int fsr = A0; | |
//PUT YOUR VARIABLES HERE |
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 | |
# modified from https://gist.github.com/bartoszmajsak/1396344 | |
# This way you can customize which branches should be skipped when | |
# prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop test release) | |
fi |