Category Archives: Diverse

Dagens guacamole

En med litt futt i – basert på chili på øyemålsmetoden “En spiseskje hakket ble litt tamt sist, nja, der gikk nesten hele, tar resten også”… 2 avocado 4 fedd hvitløk 1/8 rødløk 1 cherrytomat ca 1 ss koriander 1 … Continue reading

Posted in Diverse | Comments Off on Dagens guacamole

Arduino – logging accelerometer

This logging accelerometer is set up using Arduino UNO compatible microcontroller SD card adapter Three axis digital accelerometer Various cables, breadboard and an sd-card (any size will do) The library for using the SD-card comes with the arduino IDE v … Continue reading

Posted in arduino, Data, Diverse | Comments Off on Arduino – logging accelerometer

Simple ajax based autocomplete in jquery

Starting to abandon prototype.js to use what seems to be the new standard jquery – one of the first things I want to do, is to make some autocomplete fields fetching values from a data base. I have made an … Continue reading

Posted in Data, Diverse | Comments Off on Simple ajax based autocomplete in jquery

Julemarkedsbaking 2013

I utgangspunktet brukte jeg følgende oppskrift: 100 g linfrø 100 g helkorn hvete Hell over 7.5 dl kokende vann. Bland sammen og la dette stå i minst to timer Etter to timer, sett til 5 dl lunkent vann (hele blandingen … Continue reading

Posted in Diverse, Mat | Comments Off on Julemarkedsbaking 2013

Julebakst

Oppdatert 2021: Nå blir det også tysk stollen Det kommer etterhvert en oppdatert liste. Det er vel stadig litt tidlig å begynne med julebaksten, men det begynner fakstisk å bli på tide å planlegge julebaksten. Det er jo i og … Continue reading

Posted in Diverse, Julekaker, Mat | Comments Off on Julebakst

connecting nRF24L01 to arduino through a ribbon cable

(image: geeetech) If connecting through a standard ribbon cable, the inner and outer pins are switched so that 1 <-> 2 etc. name pinrf24 pinuno Vcc 1 3.3V Gnd 2 gnd CSN 3 D7 CE 4 D8 MOSI 5 D11 … Continue reading

Posted in Diverse | Comments Off on connecting nRF24L01 to arduino through a ribbon cable

Dnb i farta

Dnb vil ta sin del av julehandelen og sender ut gode tilbud: “Nå kan du øke kreditten med 30 000 kroner på kortet ditt Enkelte måneder er mer krevende økonomisk enn andre, og da er det praktisk med en fleksibel … Continue reading

Posted in Diverse | Comments Off on Dnb i farta

Create GeoJSON in php

GeoJSON is a text format for encoding various geographical structures. I have a large number of point data with various extra information stored in a postgresql data base. I fetch all the data into an array in php, using PDO::FETCH_ASSOC, … Continue reading

Posted in Diverse | Comments Off on Create GeoJSON in php

Postgres in python using flask-psycopg2

Not the most well-documented module I’ve ever seen… To make it connect to your database of choise, in the app-settings, feed in PSYCOPG2_DATABASE_URI=”pgsql://dbuser:dbpassword@dbhost/database” e.g. PSYCOPG2_DATABASE_URI=”pgsql://postgres:Secr1tPsswrd@localhost/postgres”

Posted in Diverse | Comments Off on Postgres in python using flask-psycopg2

.44 magnum cortado

When Clint Eastwood shows up in the foam, the coffe is strong enough to defend itself. Continue reading

Posted in Diverse | Comments Off on .44 magnum cortado