Category Archives: Data

Arduino – temperature webserver

A simple Arduino based web-readable multi channel termometer. Continue reading

Posted in arduino, Diverse | 2 Comments

ENC 28J60 ethernet module with arduino

How to connect an ENC28J60 ethernet module to arduino using arduino v 1.0.1. Continue reading

Posted in arduino, Data | 1 Comment

Arduino thermometer / hygrometer

I am using an arduino uno bought in a kit with a LCD/button shield and a DHT11, both parts bougth from dealextreme, although also available from a lot of other places. The DHT11 is connected to the arduino: * pin … Continue reading

Posted in arduino, Diverse | 1 Comment

Postgresql – handling bytea data through php

How to store and retreive images or other binary files as bytea in postgres using php. Continue reading

Posted in php | Comments Off on Postgresql – handling bytea data through php

R – barplot with error-bars

I have not found any simple way to make a barplot with error-bars in R, so I had to write a script for it: errorbarplot< -function(data,error,ylab,xlab,main){ palette(c('gray75','grey50','grey25','white')) mar=par()$mar par(xpd=T, mar=par()$mar+c(0,0,0,8)) # Makes a bit space to place the legend maxy=max(data+error)*1.05 … Continue reading

Posted in R | Comments Off on R – barplot with error-bars

dmistore – database

A database to store dmidecode information. Upload through a php-script, store in a postgres database. This is intended to be a tool for those who, like me, has quite a few PCs at home, and most of them are received … Continue reading

Posted in Data | Comments Off on dmistore – database

Internet explorer 8, event handling with prototype.js

Prototype.js claims to be able to stop all woes on handling events in javascript. Well, not really, it seems like. I have two buttons in a web page adjusting a value up and down. Then I make a shared event … Continue reading

Posted in Data, javascript | Comments Off on Internet explorer 8, event handling with prototype.js

Value from radiobuttons – a prototype.js way

Radiobuttons are occasionally useful, but they really seems to be made for being read out through the good old form submit. But if you want to read the value from java script? With prototype.js linked in, it can be done … Continue reading

Posted in Data, Diverse, javascript | Comments Off on Value from radiobuttons – a prototype.js way

mapserver removed on debian

Edit: By now (october 2011) the dependencies are fixed and mapserver can again be installed through a normal apt-get install cgi-mapserver and it will survive upgrades. During a dist-upgrade on my wheezy/sid debian system, cgi-mapserver turned out to be removed. … Continue reading

Posted in mapserver | Comments Off on mapserver removed on debian

Howto set up remote kde login on debian

Some proofreading may be needed, but the ideas should be clear – I hope. Using kde 4.6.5 When starting to set up X systems, it is easy to confuse the notion of ‘client’ and ‘server’. Usually we think of the … Continue reading

Posted in Diverse, linux | Comments Off on Howto set up remote kde login on debian