I hereby claim:
- I am travlr on github.
- I am peteralexander (https://keybase.io/peteralexander) on keybase.
- I have a public key ASBMNOoOevGFYA3QJRh9qhMBrvwwfRTubzsxAHFoCfCUvwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
name | prize | badgr-slug | num-points | timestamp |
---|
char* string = "THIS IS A FUCKING TEST!"; | |
int rc; | |
zmq_msg_t m; | |
zmq_msg_init_size (&m, strlen (string)); | |
memcpy (zmq_msg_data (&m), string, strlen (string)); | |
rc = zmq_send (m_socket, &m, 0); | |
fprintf(stdout, "RC: %d", rc); |
import logging, random, signal | |
logging.basicConfig(level=logging.DEBUG, | |
format="%(levelname)s %(asctime)s %(message)s") | |
class TimeoutException(Exception): | |
"Indicates that the function has taken too long." | |
pass | |
def handle_alarm(*args): |