Skip to content

Instantly share code, notes, and snippets.

@ordonezf
ordonezf / decoder.py
Last active April 4, 2016 23:41
Finger 5
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import codecs
READ_BYTES = 200
def get_dic_from_file(f_name):
codes = range(1, 9) + [11, 12] + range(14, 32) + range(127, 256)
f = open("files/{name}".format(name=f_name),"r")
limit = chr(0) + chr(0)
@ordonezf
ordonezf / Finger 3.ipynb
Last active April 4, 2016 23:40
Finger 3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.