Skip to content

Instantly share code, notes, and snippets.

@unamanic
unamanic / docker-compose.yml
Created February 7, 2020 01:27
Flowable Docker Compose With All Apps
version: '3.4'
services:
db:
image: postgres
environment:
- POSTGRES_PASSWORD=flowable
- POSTGRES_USER=flowable
- POSTGRES_DB=flowable
ports:
- 15433:5432
@unamanic
unamanic / SystemPropertiesApplication.java
Created November 11, 2016 17:43
Setting system properties from config server (or application.properties)
package com.example;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;
@SpringBootApplication
<!DOCTYPE html>
<html lang="en" ng-app="calcApp">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<style>
html, body {
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<meta charset="UTF-8">
<title>Reflector</title>
</head>
<body>
<script type="text/javascript">