Skip to content

Instantly share code, notes, and snippets.

View mtasic85's full-sized avatar
🦁
Recruiters will be shot on sight

Marko Tasic mtasic85

🦁
Recruiters will be shot on sight
View GitHub Profile
@gby
gby / dragons.c
Created October 7, 2012 07:55
How to do a computed goto in an inline function in GCC
#include <stdio.h>
#include <stdlib.h>
/*
* How to do a computed goto in an inline function.
* "Here be Dragons"
*/
/*
* This is used to keep the compiler from
@malexer
malexer / zmq_http_server_example.py
Created January 28, 2014 10:02
Hello World HTTP server in pyzmq (using ZeroMQ RAW socket) - a Python version of http://gist.github.com/hintjens/5480625
import zmq
DEFAULT_PAGE = '\r\n'.join([
"HTTP/1.0 200 OK",
"Content-Type: text/plain",
"",
"Hello, World!",
])