First import

git-svn-id: http://photonzero.com/dotfiles/trunk@1 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
michener 2007-03-19 06:17:17 +00:00
commit 83d40113d2
60 changed files with 4264 additions and 0 deletions

12
bin/htmlify Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/python
concat = '<font face="courier new" size="-1"><br>'
thisline = ""
import sys
for line in sys.stdin:
thisline = line.expandtabs(7)
thisline = thisline.replace("&", "&amp;").replace("<","&lt;").replace(">","&gt;")
thisline = thisline.replace("\n", "<br>")
thisline = thisline.replace(" ","&nbsp;")
concat = concat + thisline # + "<br>"
print concat + "</font>"