One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/bin/bash | |
| set -o errexit | |
| clear | |
| # Set versions. Check http://openresty.org for latest version and bundled version of nginx. | |
| OPENRESTY_VERSION=1.9.3.1 | |
| NGINX_VERSION=1.9.3 | |
| OPENSSL_VERSION=1.0.2d | |
| NPS_VERSION=1.9.32.10 |
| editor.zero.latency.typing=true |
| import queues | |
| import locks | |
| import macros | |
| import sequtils | |
| type | |
| SchedulerCommandType = enum | |
| scDone, | |
| scYield, | |
| scWaitForCoroutine, |
| image: python:2.7 | |
| before_script: | |
| - echo "deb http://packages.cloud.google.com/apt cloud-sdk-jessie main" | tee /etc/apt/sources.list.d/google-cloud-sdk.list | |
| - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
| - apt-get update && apt-get install google-cloud-sdk | |
| after_script: | |
| - rm /tmp/$CI_PIPELINE_ID.json |
| { | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "dev": "webpack-dev-server --config webpack.dev.js" | |
| }, | |
| "devDependencies": { | |
| "babel-core": "^6.14.0", | |
| "babel-loader": "^6.2.5", | |
| "babel-preset-es2015": "^6.14.0", | |
| "html-webpack-plugin": "^2.22.0", |
###Install docker-machine-driver-xhyve docker-machine-driver-xhyve is a docker machine driver plugin for xhyve native OS X Hypervisor. xhyve is a lightweight OS X virtualization solution. In my opinion, it's a far better option than virtualbox for running minikube. ####Brew On MacOS sierra, download latest using
brew install docker-machine-driver-xhyve --HEAD
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

| import jsffi | |
| type Promise*[T] = ref object of JsObject | |
| proc newPromise*[T](executor:proc(resolve:proc(val:T), reject:proc(reason:auto))): Promise[T] {.importcpp: "new Promise(#)".} | |
| proc resolve*[T](val:T):Promise[T] {.importcpp: "Promise.resolve(#)",discardable.} | |
| proc reject*[T](reason:T):Promise[T] {.importcpp: "Promise.reject(#)",discardable.} | |
| proc race*[T](iterable:openarray[T]):Promise[T] {.importcpp: "Promise.race(#)",discardable.} | |
| proc all*[T](iterable:openarray[Promise[T]]):Promise[seq[T]] {.importcpp: "Promise.all(#)",discardable.} |
Suppose you have weird taste and you absolutely want: