Skip to content

Instantly share code, notes, and snippets.

View ocindev's full-sized avatar
🚀

Nico Stoppel ocindev

🚀
  • Bremen
View GitHub Profile
@ocindev
ocindev / short_4.java
Created May 13, 2020 16:03
short_4 recursive function to determine the shortest ways through directed graph.
import java.util.*;
public class Algorithm {
private List<Point> V;
private List<Edge> E;
Algorithm(List<Point> V, List<Edge> E){
this.V = V;
this.E = E;
@ocindev
ocindev / init.sh
Last active December 12, 2021 10:32
Convenient script to setup a WSL dev environment with Docker, sdkman.io, Maven, AdoptOpenJDK 1.8, NPM and Node.js
# Replace with your windows username
win_user=<replace>
# Update the apt package list.
sudo apt-get update -y
# Install Docker's package dependencies.
sudo apt-get install -y \
apt-transport-https \
ca-certificates \