Blogs

Here below are the latest entries from my blogs, click on an entry to read more or on the header to go to main page of each blog.

English blog

På svenska

Dagliga minnen

Photos

Tutorials and code

This section of the site contains various tutorials I’ve written to help out or code snippets that I’ve found useful. Hope you find something that is useful for you.

Code snippets

Basic CGI example – python
A very very very basic CGI example
Convert binary and decimal number representation – python
Can be useful in some cases
Create new msg in Mailsmith – applescript
A handler for creating a new email message in Mailsmith
Get time and date – python
Get a formatted version of the current time
New MacJournal entry – applescript
Create a new entry in MacJournal
Send email – python
Simple, basic send email script
Split document – python
Split text string on first empty line
Using PIL to read IPTC – python
Use the PIL library to read IPTC info from a photo

Tutorials

A subversion mini-tutorial
If you have never used subversion before this short tutorial can get you up and running in a few minutes.
What is a “text editor”?
Quick description on the difference between a text editor and a word processor
Python tutorial 01
An introduction
Python tutorial 02
Basic file operations
Python tutorial 03
String operations
Python tutorial 04
A first example – attempt one
Python tutorial 05
A first example – attempt two
Python tutorial 06
A first example – attempt three
RapidWeaver and Greybox
How to use Greybox on pages in RapidWeaver