Skip to content

Instantly share code, notes, and snippets.

View mwcampbell's full-sized avatar

Matt Campbell mwcampbell

  • Wichita, KS, US
View GitHub Profile
#include <stdio.h>
void hello() {
printf("Hello, World\n");
hello();
}
int main() {
hello();
return 0;
from twisted.internet.protocol import Protocol, ClientCreator
from twisted.internet import reactor
class TestProtocol(Protocol):
def connectionMade(self):
self.transport.write("1234" * 1048576)
self.transport.loseConnection()
def connectionLost(self, reason):
reactor.stop()