Skip to content

Instantly share code, notes, and snippets.

View matthesrieke's full-sized avatar

matthesrieke matthesrieke

View GitHub Profile
@matthesrieke
matthesrieke / Java8Environment.java
Created April 18, 2018 20:39
Java8Environment.java
import java.util.Arrays;
import java.util.List;
public class Java8Environment {
public static void main(String[] args) {
List<String> testList = Arrays.asList(new String[] {"a", "b", "c"});
testList.stream().forEach(s -> {
System.out.print(s);
@matthesrieke
matthesrieke / pom.xml
Created April 18, 2018 20:35
Maven Environment Test
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.hsbochum.fbg.kswe</groupId>
<artifactId>maventest</artifactId>
<version>1.0.0</version>
<build>
<plugins>
@matthesrieke
matthesrieke / pom-snippet.xml
Last active April 27, 2017 06:16
jetty plugin
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.7.v20160115</version>
<configuration>
<stopKey>C</stopKey>
<stopPort>34343</stopPort>
@matthesrieke
matthesrieke / NOTICE
Last active December 23, 2016 15:07
empty NOTICE
Copyright 2016 Esri Deutschland Group GmbH
Licensed under the Apache License, Version 2.0 (the "License").
This project does not included third-party libraries.
@matthesrieke
matthesrieke / pubsub.yaml
Last active September 8, 2016 11:29
PubSub REST swagger
# PubSub REST API spec in YAML
swagger: '2.0'
info:
title: PubSub REST API
description: PubSub REST binding
version: "1.0.0"
# the domain of the service
host: pubsub.host
# array of all schemes that the API supports
schemes:
@matthesrieke
matthesrieke / pom.xml
Created March 31, 2016 09:47
Maven Environment Test
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.hsbochum.fbg.kswe</groupId>
<artifactId>maventest</artifactId>
<version>1.0.0</version>
<build>
<plugins>
@matthesrieke
matthesrieke / Java8Test.java
Last active April 21, 2017 09:09
Java8Test.java
import java.util.Arrays;
import java.util.List;
public class Java8Test {
public static void main(String[] args) {
List<String> testList = Arrays.asList(new String[] {"a", "b", "c"});
testList.stream().forEach(s -> {
System.out.print(s);
@matthesrieke
matthesrieke / paho-mqtt-over-websocket.js
Created March 18, 2016 14:00
paho-mqtt-over-websocket.js
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>title</title>
<style type="text/css">
</style>
</head>
@matthesrieke
matthesrieke / PahoMqttConsumer.java
Last active March 9, 2016 10:28
Mqtt Consumer using Eclipse Paho (EPL/EDL dual licensed)
/*
* Copyright 2016 52°North.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@matthesrieke
matthesrieke / CSV2TWikiProcess
Last active August 29, 2015 14:16
CSV to TWiki Table Markup
package org.n52.wps.csv2wiki;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;