This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
# Use OpenShift Origin (vs OpenShift Enterprise) | |
deployment_type: origin | |
# set SSH access to VMs | |
ssh_user: centos | |
ssh_key_name: deleteme | |
# Set the image type and size for the VMs | |
bastion_image: centos72 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"input": { | |
// How many files specified in the manifest below to add to the build. | |
// Zero means that all files will be added. If greater than zero, | |
// running with this configuration file multiple times will continue | |
// insertion from each previous run. | |
// | |
// This may be used to check the progress of the build without | |
// requiring configuration changes for each run. | |
"run": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object UUIDProtocol extends DefaultJsonProtocol with SprayJsonSupport { | |
implicit object UUIDJsonProtocol extends RootJsonFormat[UUID] { | |
def write(uuid: UUID) = JsString(uuid.toString) | |
def read(js: JsValue) = js match { | |
case JsString(str) => UUID.fromString(str) | |
case _ => throw new IllegalArgumentException("not a uuid") | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scalatags.Text.all._ | |
import collection.mutable | |
// http://flatuicolors.com/ | |
val red = "#c0392b" | |
val green = "#27ae60" | |
val yellow = "#f39c12" | |
val blue = "#2980b9" | |
val magenta = "#8e44ad" | |
val cyan = "#16a085" | |
val black = "#000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
### You can download all the binaries one-shot by just giving the BASE_URL. | |
### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
### Script is updated for every JDK release. | |
### Features:- | |
# 1. Resumes a broken / interrupted [previous] download, if any. | |
# 2. Renames the file to a proper name with including platform info. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Clear out all previous attempts | |
rm -rf "/tmp/source-git/" | |
# Get the dependencies for git, then get openssl | |
sudo apt-get install build-essential fakeroot dpkg-dev -y | |
sudo apt-get build-dep git -y | |
sudo apt-get install libcurl4-openssl-dev -y | |
mkdir -p "/tmp/source-git/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.airlift.airline._ | |
/** | |
* airline example in scala | |
* https://github.com/airlift/airline | |
* @author wassj | |
*/ | |
object airline { | |
def main(args: Array[String]) { |
NewerOlder