New Code Posting Plugin

Edit – CodeColorer hasn’t been updated in forever. So I’ve switched to Crayon Syntax Highlighter.

I’m trying out the CodeColorer plugin – to add color to my code snippets. I like it so far, a little python example is below.

def find_files(self,topdir):
file_list = []
for root, dirs, files in os.walk(topdir):
for f in files:
if f[-3:] == 'pdf' and f.find("Journal") == -1:
fulp = os.path.join(root,f)
file_list.append(fulp)
return file_list

Posted in Geeks In Action, WordPress Tagged with: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Search the Bible


Archives

May 2012
M T W T F S S
« Mar   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031