Skip to content

Instantly share code, notes, and snippets.

View branonbarrett's full-sized avatar

Branon Barrett branonbarrett

View GitHub Profile
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)
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
#!/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