Skip to content

Instantly share code, notes, and snippets.

View jogardi's full-sized avatar

Joseph Gardi jogardi

  • Dasion
  • Claremont, California
View GitHub Profile
@bkaradzic
bkaradzic / orthodoxc++.md
Last active May 24, 2024 00:10
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@chengui
chengui / capturestdout.py
Created September 26, 2013 10:33
capture stdout
import sys
import tempfile
import os
class captured_stdout:
def __init__(self):
self.prevfd = None
self.prev = None
def __enter__(self):