Yes , I am still alive

For those who actually read my blog , (both few and far between) , I am not in fact dead , just lazy , I mean … not really…I have been doing a lot of things
I have been Screencasting , Running Linux and Listening to music
I will have more up soon hopefully (famous last words…)

Syntax Highlighting in Django

I am currently working on a project with Django A Python web framework ,
It will be a pastebin application , all good pastebins have syntax highlighting … I just wanted to show you how I did it … it can be useful for other projects,

1 def syntax(value,extension):
2     from pygments.lexers import get_lexer_for_filename
3     from pygments import highlight
4     from pygments.formatters import HtmlFormatter
5     "Highlights the syntax of a file based on file extension"
6     lexer = get_lexer_for_filename("file." + extension, stripall=True)
7     formatter = HtmlFormatter(linenos=True)
8     result = highlight(value, lexer, formatter)
9     return result

Sorry for the lack of posts , I will have more snippets up soon

Safari for Windows , Hell Freezes Over ?

At WWDC this morning apple released its web browser , Safari for windows , they releasied it for a really good reason … im just not sure what it is , if you know , drop me a line Here , or add it to the comments
safari-windows

What do you think is the best flash video player ?

{democracy:3}

I have encountered many flash players surfing the web … and I thought it was about time to find out which is best … so I thought I would leave it up to you guys … my readers … all 3 of you (mom .. you don’t count)
anyway … on here we go , click the “more” link to see the players
Read more

Songbird 0.2.5 is released

Songbird is a media player that is built on the same platform that firefox is and focuses on web media .. check it out at songbirdnest.com

Very cool … check it out

A screenshot of songbird” t
also … sorry for the infrequent postings … expect them to come more frequently … also make sure to check out my linkblog at links.mikedonaghy.org

« go backkeep looking »