Skip to content

Instantly share code, notes, and snippets.

View jgoelen's full-sized avatar

Jurgen Goelen jgoelen

  • Goelen IT
  • Belgium
View GitHub Profile
@jgoelen
jgoelen / vrt_radio_1.json
Last active May 9, 2026 15:25
VRT Radio 1 Live Stream
{
"audio": {
"hasPlaylist": false,
"isRealtime": true,
"streamUrl": "https://icecast.vrtcdn.be/radio1-high.mp3"
},
"imageUrl": "",
"name": "VRT Radio 1",
"streamType": "liveRadio"
}
@jgoelen
jgoelen / qmusic.json
Created May 7, 2026 20:06
SoundTouch radio presets
{
"name": "QMusic",
"streamUrl": "https://21293.live.streamtheworld.com/QMUSIC.mp3",
"streamType": "liveRadio",
"isRealtime": true
}
@jgoelen
jgoelen / docker-compose.yml
Created July 31, 2018 18:31
HAProxy server-template with Docker Swarm
version: '3.3'
configs:
proxy:
file: ./haproxy.cfg
services:
haproxy:
image: haproxy:1.8-alpine
ports:
@jgoelen
jgoelen / TestHttpClientActivity.java
Created March 8, 2012 11:21
SSL + redirect handling android 4.0.3
package be.kuleuven.toledo;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.client.DefaultRedirectHandler;
import org.apache.http.protocol.HttpContext;
import android.app.Activity;
@jgoelen
jgoelen / sso_login.groovy
Created March 7, 2012 08:13
how to use the toledo mobile api using Apache HttpClient
import org.apache.http.*;
import org.apache.http.client.*;
import org.apache.http.client.entity.*
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.apache.http.message.*
import org.apache.http.protocol.*;
DefaultHttpClient httpclient = new DefaultHttpClient();