Skip to content

Instantly share code, notes, and snippets.

View volschin's full-sized avatar

St. Veit volschin

  • Görlitz, Saxony, Germany
View GitHub Profile
@volschin
volschin / java-sd_notify.java
Created November 14, 2017 05:00 — forked from yrro/java-sd_notify.java
The poor Java programmer's alternative to calling sd_notify
package systemd;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.nio.file.Files;
import java.nio.file.LinkOption;
import java.nio.file.Paths;
import java.util.function.Supplier;
@lombok.extern.slf4j.Slf4j
@volschin
volschin / blog.md
Created November 13, 2017 15:35 — forked from vietj/blog.md

Vert.x the perfect reactor for IoT devices

When you build an IoT device, you need to verify than the main goal can be reached: ours is analytics capabilities. Without timeseries analytics, no valuable service can be build!

So far we've been doing all of that, with a simple PI, Warp10 and a first stage analysis with Warscript.

But in our IoT device, we have to manage the BLE connection, expose a REST API, receive messages from Beddit sensor, decode and send them into Warp10’s Ingress endpoint, serve a progressive webapp, authenticate the user, etc...

@volschin
volschin / synology-pushover.php
Created May 20, 2017 14:58 — forked from styxit/synology-pushover.php
A php script that can be used on a Synology Nas to revive Pushover notifications. https://styxit.com/2014/05/10/synology-pushover.html
<?php
/************************************/
/********** CONFING START ***********/
// Only allow request made by localhost?
// Set this to false if this script is not running on your synology webserver (less secure)
$localOnly = true;
/********** CONFING END *************/
/************************************/