You don't need much to make someone's day

Although it costed me three times more because of a shipping cost… But that’s not a way to start a story. Several days ago I saw this post and I thought: “Oh, snap! I didn’t even know! And it’s already past his birthday… I want to give him something too.” Luckily he had a link to his Amazon wishlist on his blog, so my task of picking him a present was greatly simplified.

Read more...

Code

#!/usr/bin/env python #-*- coding: UTF-8 -*- import sqlite3 import mutagen.id3 from mutagen.easyid3 import EasyID3 from mutagen.mp3 import MP3 from subprocess import call def getStuff(database): conn = sqlite3.connect(database) c = conn.cursor() result = c.execute("SELECT LocalCopyPath, Title, Album, Artist, Composer, Genre, Year FROM MUSIC WHERE Id IN (SELECT MusicId FROM SHOULDKEEPON)") stuff = [] for track in result: stuff.append(track) # Let's be good programmers and close the connection to database, even though there were only read operations conn.

Read more...

fsLeg

It turned out, that I need a full featured website much less than a simple blog. I don’t want to have a blog on Tumblr, but I do like their implementation of it, so I went with Chyrp, which is pretty close. But then Chyrp died, so I moved to Hugo. The blog is NSFW, as I might occasionally post some pr0n and other disturbing stuff.

Tags
Archives