Skip to content

Instantly share code, notes, and snippets.

View tomari's full-sized avatar

Hisanobu Tomari tomari

View GitHub Profile
@tomari
tomari / gist:4357642
Created December 22, 2012 05:38 — forked from anonymous/gist:4357637
HP Vectra VE 5/200 Series 4
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 200.446
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
@tomari
tomari / sixel.py
Created November 27, 2012 01:32 — forked from saitoha/sixel.py
convert an image into VT320 sixel color graphics (depends on PIL)
#!/usr/bin/env python
import sys, termios, StringIO
import Image # PIL
class SixelConverter:
def __init__(self, image, f8bit = False):
if f8bit: # 8bit mode