This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Snake | |
*Implemented with eve 0.2.2 (on master: 44b086e91de8a1a70b11f12a1d0f6a08aeda6c15)* | |
Start by adding a game board wich is 30x30 big. We will place the player in the middle. | |
``` | |
search | |
x = range[from:1, to:30] | |
y = range[from:1, to:30] | |
commit | |
[#game state:"menu" frame: 0 width: 30 height: 30] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eve: | |
build: . | |
ports: | |
- 18080:8080 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenID Connect - Client | |
OpenID Connect is a protocol used for authentication and authorization. | |
We are going to implement a reusable "component" to interact with | |
an OpenID Provider. Our OpenID Provider will be Keycloak, therefore | |
many implementation Details are Keycloak specific. | |
Therefore you'll find two parts: | |
- 0. -> Using the OpenID Connect Component |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | |
As seen on: http://danielsz.github.io/2014/02/28/The-pleasantness-of-Om/ | |
Additional feature: <SPACE> and Time advance | |
Missing feature: Randomizer for List | |
-} | |
import Keyboard | |
-- Model | |
type Testimonial = { shopName:String, | |
shopOwner:String, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns tree | |
(:require [clojure.zip :as zip])) | |
(defn make-zip | |
"Returns a zipper for a given datastructure" | |
[root] | |
(zip/zipper (complement string?) | |
(comp seq :children) | |
(fn [node children] | |
(assoc node :children children)) |