Skip to content

Instantly share code, notes, and snippets.

cceasy /
Created June 25, 2019 02:42 — forked from mdonkers/
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
Very simple HTTP server in python for logging requests
./ [<port>]
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
class S(BaseHTTPRequestHandler):
cceasy / thrift.rb
Created October 25, 2018 07:16 — forked from chrislusf/thrift.rb
Install Thrift 0.9.3 with brew on macOS
View thrift.rb
class Thrift < Formula
desc "Framework for scalable cross-language services development"
homepage ""
stable do
url ""
sha256 "b0740a070ac09adde04d43e852ce4c320564a292f26521c46b78e0641564969e"
# Apply any necessary patches (none currently required)
cceasy / Flask on
Created August 23, 2017 04:39 — forked from ihuston/Flask on
Simple Flask application for Cloud Foundry
View Flask on

Simple Python Flask app on Cloud Foundry

This is a (very) simple Flask application that shows how the built-in Python buildpack detection on Cloud Foundry works.

To push to Cloud Foundry, log in and then use

$ cf push myapp-name

Python on Cloud Foundry