I hereby claim:
- I am n2o on github.
- I am n2o (https://keybase.io/n2o) on keybase.
- I have a public key whose fingerprint is AC6C D93A 2193 BCEA E693 92D4 DC36 932E EAE5 4549
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
" ========================================================== | |
" Vundle | |
" ========================================================== | |
set encoding=utf8 | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim/ | |
call vundle#rc() |
Task: Read a CSV file and correctly parse it. Then calculate the sum of those students, who achieved 50 points or more in the exam.
The CSV file is located in resources/punkte.csv
.
App.java
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import java.io.FileReader;
import java.io.Reader;
There are only few tutorials showing a step-by-step guide for datomic. This Gist might give you some exemplary code to get started with this interesting type of database.
Require the datomic api from [com.datomic/datomic-pro "0.9.5561"]
:
(require '[datomic.api :refer [q transact] :as d])
Today, we played around with Unirest, gson and a sample API to address our requests to. This is just a simple and small example, because we had not much time to live-code this problem.
import com.google.gson.Gson;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
This week we started with JavaFX and created a simple HelloWorld-Application. Later, we created a more advanced UI with the Gluon SceneBuilder. But I will only upload our hello-world example, since working with the SceneBuilder is straightforward.
This is a gradle project and the source code is based on the standard JavaFX template by IntelliJ.
// build.gradle
Results (so far) from our practical exercises: Solving the Mars Rover Kata
// build.gradle
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'jacoco'
repositories {
Today we extended the project from week 11 and created a base template. This base template contains an AnchorPane, where FX-elements from other FXML files can be appended to. Therefore, we can change on click our UI and load new elements to it.
// src/main/java/Main.java
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
We played around with clojure.spec and followed the post Interactive Development with clojure.spec.
In the beginning, we started to get to know the semantics of clojure.spec and looked at some specs. After this, we solved the codebreaker-example and successfully defined some specs for it.
REPL Session from Clojure Meetup Düsseldorf, Germany, 6th July 2017