Skip to content

Instantly share code, notes, and snippets.

@TerrorBite
TerrorBite / calc256.py
Last active September 14, 2015 12:10
#!/usr/bin/env python
from sys import argv, stdin, stdout, stderr
from traceback import print_exc
from os import path, isatty
from textwrap import dedent
from collections import Counter
from math import sqrt
import inspect
# Luminance threshold values