Skip to content

Instantly share code, notes, and snippets.

View jampekka's full-sized avatar

Jami Pekkanen jampekka

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 31 columns, instead of 1. in line 4.
oppilaitostyyppi_nimi,oppilaitosnumero,on_alt,oppilaitoksen_nimi,oppilaitostyyppi,postinumeroalue,postinumeroalue_nimi,kunta,asukkaat_yht,koulutus_kantaluku,koulutus_alempi_kork,koulutus_ylempi_kork,asukkaiden_mediaanitulo,tyollisyys_tyolliset,suomen_kieli_ja_kirjallisuus,suomi_toisena_kielena_ja_kirjallisuus,suomi_s2_osuus,ruotsin_kieli_ja_kirjallisuus,ruotsi_toisena_kielena_ja_kirjallisuus,ruotsi_s2_osuus,oppilaita_yhteensa,oppilaat_opla,erotus,kunta_nimi,maakunta,maakunta_nimi,kieli,tyollisyys_18_74,ka_pitka,keskiarvo,luokat
Peruskoulut,08871,8871,Aapiskujan koulu,11,62800,Vimpeli Keskus,934,2155,1770,166,104,20781,839,111,,0,,,0,111,158,47,Vimpeli,14,Etelä-Pohjanmaa,1,1478,,0,1–4
Peruskoulut,03117,3117,Aarnivalkean koulu,11,02100,Tapiola,049,6025,5291,907,1928,30435,2846,270,33,11,,,0,303,296,−7,Espoo,01,Uusimaa,1,4455,,0,1–6
Peruskouluasteen erityiskoulut,03874,3874,Aavan koulu,12,12380,Leppäkoski,165,493,386,40,18,23916,222,12,,0,,,0,12,22,10,Janakkala,05,Kanta-Häme,1,342,"6,591911765","6,59",4–9
Perusk
@jampekka
jampekka / kansainvalinen.txt
Last active April 30, 2023 10:09
Kansainvälinen sanat ja soinnut (chords)
G C
Työn orjat, sorron yöstä nouskaa,
Am D7 G D7
maan ääriin kuuluu kutsumus.
G C
Nyt ryskyin murtuu pakkovalta,
D7 G
tää on viime ponnistus.
D A D
@jampekka
jampekka / löylymittari.txt
Created November 4, 2023 22:49
Sauna steam meter/löylymittari
This document is to establish prior art on a method and apparatus to measure estimates of subjective sauna steam (löyly) effects in real time or from a recorded log.
There's no intent to patent or otherwise restrict the use of this invention. The purpose is to allow free use and further development of the idea, invention and/or apparatus to anybody for any purpose.
Subjective effects of sauna steam (löyly) are quantified by a transformation of instantaneous temperature, moisture and optionally air pressure with a mathematical or computational formulation. These can be based on for example existing "heat indices" commonly used to quantify the feel of the weather. In implementations these have been recorded with commercial temperature, moisture and pressure sensors
The measurements are combined with a computer program for quantifications of the subjective effects. This estimate can be presented in various formats. Numerical display and light color modulation have been implemented
Furthermore, the progressio
@jampekka
jampekka / facade_poc.js
Created March 23, 2024 16:36
node-web-audio-api facade binding
// Wraps GainNode and OscillatorNode using JS-only class hierarchy
// Requiring needed internal things. Done from the "outside", so very ugly.
const napiBinding = require('./node_modules/node-web-audio-api/node-web-audio-api.linux-x64-gnu.node')
const {
throwSanitizedError,
} = require('./node_modules/node-web-audio-api/js/lib/errors.js');
const {