Skip to content

Instantly share code, notes, and snippets.

@kirel
kirel / cfde.md
Last active September 18, 2015 09:53

Auschnitt aus einer Mail an Daniel D. (OKF) am 10.Juli

Anlass war die "Bewerbung" zum CfA Summit zu fahren.


[...]

Ich hab mit Mila das OK Lab Münster damals gegründet nachdem ich das erste Mal von DataKind gehört hatte. Ich wusste sehr bald, dass sich so etwas in der Art - also Data Science for Social Good - in Deutschland haben wollte - ich hatte bloß keine Mitstreiter. Mit Mila hatte ich aber zumindest einen Mitstreiter für das Schwester-Thema: Civic Hacking. Im Kern haben beide Themen, DSSG und Civic Hacking, ein gemeinsames Ziel: Die Gesellschaft durch Tech besser zu machen und zwar nicht nur für uns Privilegierte sondern für alle Schichten. Die Angriffspunkte und Werkzeuge unterscheiden sich geringfügig.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kirel
kirel / index.html
Created June 20, 2015 11:17
Convex polygon offset
<!DOCTYPE html>
<html>
<head>
<title>Convex polygon offset</title>
</head>
<body>
TODO
</body>
</html>
@kirel
kirel / README.md
Last active August 29, 2015 14:09 — forked from mbostock/.block

Experimenting with Branding/Logo choices for Data Science for Social Good in Germany.

times prices status: base power: base status: peaker power: peaker power: wind load power: Ireland
2010-04-27 00:00:00 30.0 1.0 2197.0 -0.0 0.0 303 2500
2010-04-27 00:15:00 30.0 1.0 2178.0 1.0 0.0 311 2489
2010-04-27 00:30:00 30.0 1.0 2092.0 1.0 0.0 340 2432
2010-04-27 00:45:00 30.0 1.0 2012.0 1.0 0.0 360 2372
2010-04-27 01:00:00 30.0 1.0 1975.0 1.0 0.0 345 2320
2010-04-27 01:15:00 30.0 1.0 1918.0 1.0 0.0 348 2266
2010-04-27 01:30:00 30.0 1.0 1824.0 1.0 0.0 411 2235
2010-04-27 01:45:00 30.0 1.0 1804.0 1.0 0.0 405 2209
2010-04-27 02:00:00 30.0 1.0 1759.0 1.0 0.0 411 2170
@kirel
kirel / .gitignore
Last active August 29, 2015 14:07
R und Leichtathletik: Staffelzeiten
.Rhistory
.Rproj.user
def tree_depth tree
# use recursion
# have a look at Array#max
# Hash#empty? might help, too
# your implementation here
end
if __FILE__ == $0
require 'rspec/autorun'
module ExponentialBackoff
def self.retry_with_exponential_backoff *args
opts = { max: 3 }
opts.merge!(args.pop) if args.last.is_a?(Hash)
attempt = 0
begin
yield
rescue *args
if attempt < opts[:max]
attempt += 1
@kirel
kirel / server.js
Last active August 29, 2015 13:56
Modulo Kalenderserver - /5/4?topic=Küchendienst trägt für jede i-te Kaldenderwoche für die gilt `i%5=4` einen Termin "Küchendienst" ein.
var express = require('express');
var moment = require('moment');
var ical = require('ical-generator');
var app = express();
moment.lang('de'); // make monday start of week
app.get('/', function(req, res){
res.send('Subscribe to /:modulo/:residual?topic=topic i.e. <a href="http://modulocal.herokuapp.com/5/4?topic=Küchendienst">http://modulocal.herokuapp.com/5/4?topic=Küchendienst</a>.');
});