Monthly Archives: February 2010

Upgrading bios when running Linux…

I would like to upgrade the bios of a HP pavillion of mine that PC is running Linux. The download was an exe-file, where the data parts were so well hidden that no decompression program I have was able to … Continue reading

Posted in Diverse | Comments Off

Convert vmap0 layers into shapefiles

The vmap0 dataset is a slightly dated, but anyhow often usable dataset of maps of all of the world in scale 1:1 000 000. It can be downloaded at e.g. mapability.com. The problem shows up as soon as one tries to use … Continue reading

Posted in Diverse, mapserver | Comments Off

Hiding the map= parameter from a map server application

In the mapserver documentation, one is told to use a cgi-wrapper script to hide the map= parameter. Then there is shown a script to use on ‘any system having a /bin/sh’ I tried to rewrite that as a php-script to … Continue reading

Posted in Diverse, mapserver | Comments Off

How to make a bar graph with a split Y axis in R

There is a function, gap.barplot for doing that in the plotrix package, but I was not happy with the way the result looked, so I made it my own way using subplot in the TeachingDemos library. data=data.frame(R=c(120,11),U=c(32,1),C=c(12,3),G=c(4,0) ,J=c(6,0),I=c(3,2),N=c(4,0)) # I … Continue reading

Posted in Diverse | Comments Off

Hva en direktør tør

Noen av oss vet at vi ikke kan få alt vi ønsker oss. Noen av oss vet at det er ekstremt patetisk å skylde på andre for feil vi helt klart er skyld i selv. Noen av oss har en … Continue reading

Posted in Diverse | Comments Off