I hereby claim:
- I am seglo on github.
- I am seglo (https://keybase.io/seglo) on keybase.
- I have a public key ASD7-GoMNYaK8RYkX_lUtYmq_VdooJ70Sqg8UdVRG-6gUwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# See dockerhub for different versions of kafka and zookeeper: | |
# https://hub.docker.com/r/wurstmeister/kafka/ | |
# https://hub.docker.com/r/wurstmeister/zookeeper/ | |
# Usage notes: | |
# https://github.com/wurstmeister/kafka-docker/ | |
version: '2' | |
services: | |
zookeeper: | |
image: wurstmeister/zookeeper:3.4.6 | |
ports: |
package object controllers { | |
private def rel(url: String)(implicit request: Request[AnyContent]): String = { | |
val count = request.uri.count(c => c == '/') | |
(url, count) match { | |
/** | |
* Requested url is '/' and we are at the root of the app. Link to root route with '.'. | |
*/ | |
case ("/", 1) => "." | |
/** |
import scala.io.Source | |
import scala.util._ | |
import scala.math.BigDecimal.RoundingMode | |
import java.io.File | |
import scala.collection.immutable.HashMap | |
object AssetRiskApp extends App { | |
val dataDir = """C:\Users\MyUser\Desktop\data""" | |
val marksDataFile = """C:\Users\MyUser\Desktop\data\marks.txt""" |
'use strict'; | |
/* | |
* DisplayModeService is a service that will notify consumers when the bootstrap display mode changes. | |
* - heavily inspired by the following post: http://www.dnasir.com/2013/10/09/display-mode-detection-for-responsive-websites-using-angularjs/ | |
*/ | |
angular.module('myApp') | |
.service('DisplayModeService', function($window, $log) { | |
var markers = angular.element('<div class="visible-xs"></div><div class="visible-sm"></div><div class="visible-md"></div><div class="visible-lg"></div>'); |