Monthly Archives: October 2013

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

Eplelogg 2013

Eplepressingen er i gang igjen, nå med nyinnkjøpt kvern 13. oktober 12+16 kg james grieve presset til 15 liter juice 27 oktober 32 kg James Grieve presset til 19 liter juice 8 kg James Grieve + 8 kg torstein 9 … Continue reading

Posted in epler | Comments Off on Eplelogg 2013

Eplepresserioppgradering

Årets oppgradering i eplepresseriet er en fruktkvern. til erstatning for tidligere bruk av en vanlig kjøkkenmaskin Etter to runder med pressing må det sies at dette var en svært god investering. Jeg plasserte kvernen oppå en plastkasse og satt en … Continue reading

Posted in epler | 2 Comments

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