Export a diigo list to markdown

08.08.2010 by azarai in python | snipplet

I use diigo as my bookmarking service and specially their list feature for collecting links of a research topic. Occasionally i need to export a list as markdown syntax. Luckily they got an api and theres also a python modul for it. So some minutes later this snippet was born:


Using kwargs to initialize an object

20.07.2010 by kerim in python | snipplet

Way to many (possible and/or optional) parameters for a class? Here is a 5 second tip for all those old style Java-type-programmers...


Playing a mp3 stream with python

07.06.2010 by azarai in python | snipplet

I listen to web radios aka music streams alot and usually do not really care how the players work. But recently i got somehow curious about how to play a mp3 stream with python. And it should run on my windows box. That made my search a bit difficult. But i found a solution, the GStreamer lib. It has python bindings and windows builds, hurray. But actually it didn't look like it would be a simple 1 minute installation and it wasn't. To save you the time, i wrote this summary of my installation.


A flash game portal with python

02.06.2010 by azarai in python | tools

Some month ago i wrote about the mochiads api and introduced my python mochi lib for working with some aspects of the moch ads api. I did also mention i was writing something, and tada was a game portal for flash games. After some hacking time i opened up my own flash game protal, sumosaru.com and forgot it til today :-) And now i'll share the code with you.


The future of Imago

01.05.2010 by azarai in Javascript | imago

If you are a user of Imago you might already noticed that there hasn't been a new release for some month now. Frankly i do not spend much time improving it, neither do i really have the motivation. On the other site i've been thinking for while what i should do with Imago. Now i found a solution i feel comfortable with and you my fellow users are involved.


SVG Sierpinski Carpet Generator

20.04.2010 by kerim in natural | pysvg | python | Algorithms

Coded as described in the Construction section (square based part) in Wikipedia. SVG export requires pySVG.


Free books on Python programming

09.04.2010 by kerim in python | resource tip

Occationally Stumple Upon gives me nice pages that i didn't know anything about before.


pySVG meets Trundle, the turtle

28.02.2010 by kerim in natural | pysvg | python

My python pySVG just got a mate named Trundle the turtle (named after a turtle in my kids english school book). For a while now I haven't coded much for pySVG. I had a lot of requests and emails though and one of those involves resurrecting parts of my old abandoned lib for representing natural phenomena.


Fun with colors or making art with python

24.01.2010 by azarai in python

Some time ago while going to work one of those silly ideas sneaked into my mind. I started wondering how it would look like if i take a picture, grayscale it and replace ranges of gray with a color. I'd image something like popart, you know. But i got more curious about the result if only the computer did the work.


Finding empty directories

17.01.2010 by kerim in python | snipplet

I know it sounds trivial but as usual the trivial things are those that are most annoying. Running through the harddrive of my notebook i came accross way to much garbage manifesting itself through empty directories.