Skip to content

Instantly share code, notes, and snippets.

Avatar

Oleg Lavrovsky loleg

View GitHub Profile
@loleg
loleg / hslu 2020.3.md
Last active Mar 13, 2020
Presentation on how to run an open data hackday at Hochschule Luzern
View hslu 2020.3.md
title tags description
hslu 2020.3
presentations
View with "Slide Mode".
<style>.reveal section.present img { border:0px; background:transparent; box-shadow:none } body { background: #444 }</style>

Oleg Lavrovsky Data Activist

View seasonsgreets.js
// replace this in the editor at https://www.dwitter.net/d/16799
// it's not < 140 bytes yet, improvement suggestions welcome --> twitter.com/loleg
for(i=0;i<99;i++)for(j=0;j<50;j++){x.fillStyle=`hsl(${S(i)*(i%2?10:1500)},89%,60%,.1`;x.fillRect(i*20,j*20,40*C(t+S(i*j+t/9)^2),9*S(t/11+C(t)*T(t*2+j/t)))}
x.fillStyle='white';K=99
for(i=K;i--;)x.fillRect(i*20,800+S(i/7+t*5)*55,20,500)
x.font='17em monospace'
x.fillStyle='green'; x.fillText('Seasons Greets',115,903)
x.fillStyle='red'; x.fillText('Seasons Greets',105,900)
View jamb-energyhack19.csv
id name grams watts
1 Andreas 435 148
2 Matthias 422 120
3 Dimi 1 380 130
4 Jonas 316 87
5 Goliath 308 87
6 David 304 102
7 Wolfram 300 130
8 Tatiana 300 85
9 Anna 2 297 130
@loleg
loleg / Abalone-ML-DataPackage-example.ipynb
Created Jan 28, 2019
An example of using DataHub and the Frictionless Data libraries with the Keras library for Machine Learning
View Abalone-ML-DataPackage-example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Opendata.ch MV 2018 Erfolgsrechnung.csv
Thema Kategorie Jahr Amount
Betriebsertrag Erträge aus Mitgliederbeiträge 2015 15700.00
Betriebsertrag Erträge aus Mitgliederbeiträge 2016 17979.45
Betriebsertrag Erträge aus Mitgliederbeiträge 2017 18720.00
Betriebsertrag Erträge aus Mitgliederbeiträge 2018 17035.70
Betriebsertrag Erträge aus Konferenzen 2015 42109.81
Betriebsertrag Erträge aus Konferenzen 2016 45150.88
Betriebsertrag Erträge aus Konferenzen 2017 53137.67
Betriebsertrag Erträge aus Konferenzen 2018 40000.00
Betriebsertrag Erträge aus Projekten 2015 10022.59
@loleg
loleg / datapackage.json
Created Dec 9, 2018
World map of Impact Hub locations, republished as a Data Package from impacthub.net
View datapackage.json
{
"profile": "tabular-data-package",
"resources": [
{
"name": "worldmap-geojson",
"path": "impacthub-worldmap.geojson",
"spatial-profile": "simple-vector",
"type": "fill",
"format": "geojson"
},
@loleg
loleg / datapackage.json
Last active Dec 3, 2018
List of members of the Swiss parliament attached to the Parldigi (Parlamentarische Gruppe Digitale Nachhaltigkeit)
View datapackage.json
{
"profile": "tabular-data-package",
"resources": [
{
"name": "mitglieder",
"path": "parldigi.csv",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
@loleg
loleg / scratchbook.ipynb
Last active Nov 25, 2018
(WIP) Röstigrabendetektor #plurilinguism hack
View scratchbook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@loleg
loleg / opendata.ch_flowchart.svg
Last active Mar 6, 2020
Flowchart diagram of Opendata.ch made with Mermaid.js
View opendata.ch_flowchart.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.