Skip to content

Instantly share code, notes, and snippets.

Avatar
🎸
Awake and Alive

Timo Reymann timo-reymann

🎸
Awake and Alive
View GitHub Profile
@timo-reymann
timo-reymann / vue-demo.html
Created Nov 24, 2018
Vue is so easy but still powerful!
View vue-demo.html
<!DOCTYPE html>
<html>
<head>
<title>Vue is cool!</title>
<style>
textarea {
width: 100%;
}
.message {
View createSandboxedStatements.js
/**
* Compile the given inlined code to valid javascript,
* wraped into an iframe as execution context
*/
function createSandboxedStatements(args) {
// Save arguments into local constants for further usage and defaults
const code = args.code || "";
const parameters = args.parameters || [];
// Create iframe
@timo-reymann
timo-reymann / docker-compose.yml
Created Nov 17, 2019
Keycloak docker-compose
View docker-compose.yml
version: '3.2'
services:
keycloak:
image: jboss/keycloak:latest # please use fixed version for real world usage
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: changeme
DB_VENDOR: postgres
DB_ADDR: localhost
DB_DATABASE: keycloak