Category Archives: Programming

I like to think programming adheres to the following definition from wikipedia.org:

“Computer programming (often simply programming) is the craft of implementing one or more interrelated abstract algorithms using a particular programming language to produce a concrete computer program. Programming has elements of art, science, mathematics, and engineering.”

Swedbank2QIF

I’ve recently picked up an interest in setting up a budget for myself and tracking progress each month. Up until now I have had all the numbers in my head, which after a while, does not scale at all. I would like to use Mint.com, but they only support downloading data directly from (mostly US) [...]
Also posted in Mac OS X, Open Source, Python, Tools | 5 Comments

TaskPaper file API for Python

Just created a Python API for reading and modifying (even if all the modify features are not complete yet) TaskPaper files. The (so far very small) project is hosted at my GitHub page here. The file you are looking for if you want to play with the API can be found here.
Also posted in Productivity, Python | Leave a comment

Härligt med folder actions

Efter mycket velande fram och tillbaka blev det till sist så att jag valde Strongspace.com för säkerhetskopiering. Det startade en scriptfest utan dess like för att jag ville få till något som kunde köras semi-automatiskt så väl som on-demand. Det blev ett enkelt shell-script som kör rsync mot servern. För att fixa den semi-automatiska biten [...]
Also posted in Experiences, Mac OS X, Tech, Tools | 2 Comments

Code Prettifier

I have now completed a web based syntax highlighter that can prettify any code that is already available on the net (like via WebCVS/SVN, or just plain uploaded files). It has support for Java, Python, C++ and Ruby among others. To use it, simply enter a URL to some code you want to be highlighted [...]
Also posted in Python, Tools | Leave a comment

Pretty code

Something I have wanted for a long time is an efficient way of highlighting syntax for an arbitrary file. Like uploading a file to some server and then execute a query like this: http://myserver.com/scripts/highlight? url=http://www.someserver.com/MyClass.java& language=java& showlines=false And it would generate a clean HTML-output with the code highlighted and pretty. Since I have not found [...]
Also posted in Python | Leave a comment

Image Grinder Light

In my Projects page I have a description of a tool called Image Grinder wich I’m working on. Since I’m implementing it in C++ and wxWidgets it takes some time (I don’t think C++ is a very creative language – don’t know why I chose it realy). Today I switched mode of the camera to [...]
Also posted in Open Source | Leave a comment

New photos uploaded to flickr

During my vacation I have re-organized my digital photo collection. That includes starting to use digiKam to organize them, and flickr.com to show them. My latest batch were taken during my first visit to the United States in February 2005. I was there to attend the yearly Eclipse conference Eclipsecon.
Also posted in Eclipse, Photo | Leave a comment

Updated ~/.vimrc

After hours of testing different settings I finally came up with a new configuration file for Vim. This all started after I upgraded to version 7.0 of this magnificent editor. I also spent several hours trying to find the optional coding font to use in Gnome/GTK/Vim, and belive me, it was HARD. I finally settled [...]
Also posted in Linux | Leave a comment

Gaim plugin development (in Ubuntu)

I recently remembered that Gaim has a nice Perl API for writing plugins (or actually I was rembembered by a friend). I decided to test it out by writing a plugin for displaying the current playing song in Rhythmbox in instant messages when the keyword '%rb' is found (I know there is a plugin for that already, but I did not get that to work).
Also posted in I dunno, Linux | 3 Comments

BinOcular – bits in structure

I would like to take the oppertunity to talk a little about our latest project at Purple Scout. BinOcular is the response to an ever-growing need to browse different kinds of binary files, both modern well documented formats, as well as obscure legacy ones. When developing products, the developer is frequently faced with the problem [...]
Also posted in Eclipse | Leave a comment