Presenting Sthml metro. A Layar layer to find the closest metro entrance!
I am proud to present the world (or Stockholm more specifically), the birth of a new Layar layer.
The layer contains most entrances to the Stockholm metro system. It will also tell you what line that specific station is connected to (Red, Green, Blue).
Since SL would not share any information with me I had to collect the coordinates by hand so there might be some inaccuracies. If such inaccuracies are found please report them in the comments.
If you are located in Stockholm, launch Layar and click on the Local tab. There you should find my layer "Sthlm Metro".
Get Layar for Android here:

Spotify link updater
Don't you find it annoying when somebody has posted a spotify link like this http://open.spotify.com/track/6JEK0CvvjDjjMUBFoXShNZ and you don't know what track it is?
This can easily be solved by using my latest userscript: The Spotify link updater
About the script
After some googling I finally found a website that decodes spotify URIs created by Toni Viemerö. With the use of this website the script was easily achieved.
One feature is that the script will cache the 30 (you can adjust this number yourself) latest request results so Toni's website won't be spammed with requests.
The script will not work with sites that dynamically load it's content such as Facebook and I haven't put any time into fixing that. If anybody has a suggestion on how to solve that issue please leave a comment.
Get a previous date in pure xslt
Sometimes you can't use any fancy XSLT extensions and you got to go back to the basics. That's what happened to me today when I needed to find out what date it was ($variableDate - x days) ago. I found a couple of different solutions out there but most of the times they where dependent on some kind of extension and it wouldn't work in my environment.
Formula 1 Countdown, my first google gadget
My good friend Peter sent me a mail last friday around 11pm (I bet he was drunk) where he asked if I could create a Google gadget for him that counts down to the next Formula 1 event much like it is shown on the official Formula 1 website.
Since I hadn't done anything "new" in a while I found it as a fun challenge.
The gadget will probably contain one or two bugs and I will correct them when they are reported. Please note that it can take up to 24 hours to see any changes in your gadget after I have made an update.
How to install the Formula 1 Countdown gadget
- Go to the Google gadget directory
- Click on the link Add feed or gadget
- Insert the following url:
http://wezz.se/GoogleGadgets/Formula1Countdown/Formula1Countdown.xml
Spotify release spreadsheet userscript update 1.1
First off I would like to thank Keiners that pointed out that I forgot to add https support.
Install the updated version by clicking here
If https still doesn't work after upgrading then follow these instructions:
- Rightclick on the Greasemonkey logo at the bottom left of your firefox browser
- Click on Manage user scripts...
- Select the Spotify release spreadsheet link fix in the list
- In the area Included Pages click on the Add... button
- Enter "https://spreadsheets.google.com/pub*" with out " and click the OK button
If you have some suggestions for new features then just drop a comment and I'll see what I can do.
Spotify release spreadsheet userscript
I love Spotify and I usually browser through their release speadsheets in search for new and old music that I like.
One thing that always bothered me is that whenever I found something I liked I had to copy and paste something in order to find the music in Spotify. Quite the waist considering they have implemented their link support. I mean, the spotify: links are right there in the spreadsheet but you can't click on them so you still have to paste the link to the address bar to access the album you want.
To solve this I have created a userscript to change the links so you're only a click away from listening to the album you want to check out.
Install the first version of the Spotify release spreadsheet userscript, it requires the Greasemonkey plugin for FireFox.
Note: You have to click on the link "Create Spotify links" in the header to generate the links.
Facebook Event fix update 1.4
Sorry that it took so long but I've been quite busy at work.
The script should now be working again, you just need to upgrade to version 1.4
I haven't had any time to test it thoroughly yet but it should work for now :)
Facebook Event fix update
After using the script for a couple of weeks I found a bug when viewing the firstpage after having visited a gallery or a profile.
This has now been fixed and V1.3 of the Facebook Event Fix userscript is available to the public.
Install the Faceboox Event Fix userscript
Report any more bugs in the comments below.
Move the Facebook events list to the top of the page with greasemonkey
After Facebook once again updated it's homepages design, I myself along with alot of friends have become very irritaded that the Event box in the right column has been moved to the bottom.
I have to say that I find the Events and Birthdays box a bit more important than a Suggesstions box filled with people that I don't know.
So to end this misserable design flaw I have created a Greasemonkey user script to move the Event box to the top!
Install the Faceboox Event Fix userscript
Please report any bugs or leave suggestion in the comments
Update 1: Added some functionality to support Facebooks ajax page loading
Update 2: Updated the script for better stability