Skip to content

Instantly share code, notes, and snippets.

View Zaijo's full-sized avatar

Dominik Zajíček Zaijo

View GitHub Profile
@Zaijo
Zaijo / keybase.md
Last active December 4, 2018 11:21
It's me

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@Zaijo
Zaijo / history-timeline-zeman-export.json
Created October 3, 2017 13:18
History timeline for don Zeman export
[
{
"title": "Narodenie don Zemana",
"location": "",
"gps": "",
"description": "",
"started_at": "1915-01-04T00:00:00.000+01:00",
"ended_at": null,
"type": "",
"until_now": false,
@Zaijo
Zaijo / Main.luna
Created February 2, 2018 11:58
Compute bank note count
«0»def main:
«4»inputAmount = 12345
«2»values = [500, 200, 100, 50, 20, 10, 5, 2, 1]
«26»mappingFunction = «28»computeSentenceForValue inputAmount values
«29»computedForAll = values . each mappingFunction
None
«6»def computeSentenceForValue inputAmount values value:
«14»filteringPredicate = item:
«15»item > value