Skip to content

Instantly share code, notes, and snippets.

View jeyj0's full-sized avatar

Jannis Jorre jeyj0

View GitHub Profile
@jeyj0
jeyj0 / haskell-crash-course.org
Created September 7, 2020 17:27
Haskell Crash Course

Haskell Crash-Course

Hello, Haskell!

putStrLn

putStrLn "Hello, Haskell!"
@jeyj0
jeyj0 / AssertAll.java
Last active August 23, 2022 11:32
JUnit5-like assertAll for JUnit4
public class AssertAll {
@Rule
public ErrorCollector collector = new ErrorCollector();
private void assertAll(Runnable... assertions) {
Arrays.stream(assertions).forEach(this::runAndCollectThrowable);
}
private void runAndCollectThrowable(Runnable runnable) {
@jeyj0
jeyj0 / useful_packages.md
Last active May 19, 2018 13:06
A list of useful packages
  • nvm : Node Version Manager
  • sdk : SDKMAN! (http://sdkman.io/) - basically the jvm equivalent for nvm