Skip to content

Instantly share code, notes, and snippets.

@josch
josch / latex.py
Created June 4, 2011 05:08 — forked from EnigmaCurry/latex.py
A LaTeX filter for blogofile
"""
Render TeX blocks to png
This is a Blogofile filter. Place it in your _filters directory.
"""
import tempfile
import subprocess
import shutil
import shlex
import os
@josch
josch / file_1
Created February 23, 2010 05:24 — forked from anonymous/file_1
#!/usr/bin/env python
import sys
class VM:
max_space = 32
def __init__(self, program, initial_data):
self.program_store = list()
self.data_store = self.max_space*[0]