Skip to content

Instantly share code, notes, and snippets.

View heejune's full-sized avatar

Heejune heejune

View GitHub Profile
@bmaupin
bmaupin / free-database-hosting.md
Last active May 10, 2024 11:17
Free database hosting
@elbeno
elbeno / scmchallenge_cppcon2017.cpp
Created September 29, 2017 14:21
Herb Sutter's SCM Challenge at CppCon 2017 - my winning code
#include <algorithm>
#include <iostream>
#include <type_traits>
class CIString {
std::string s;
public:
CIString(std::string _s): s(_s) {};
@fmoo
fmoo / server.py
Created March 18, 2012 04:04
CONNECT-enabled HTTP Proxy Server
from twisted.web.proxy import Proxy, ProxyRequest
from twisted.internet.protocol import Protocol, ClientFactory
import urlparse
from twisted.python import log
class ConnectProxyRequest(ProxyRequest):
"""HTTP ProxyRequest handler (factory) that supports CONNECT"""
connectedProtocol = None