The purpose of this gist is to capture the installation steps used to install Jenkins "in the cloud".
The goal of this exercise is to host a Jenkins master in the cloud (OpenShift) and Jenkins slaves on AWS EC2.
| ... | |
| ; Secure the RPC API by specifying the username and password. You can also | |
| ; specify a limited username and password. You must specify at least one | |
| ; full set of credentials - limited or admin - or the RPC server will | |
| ; be disabled. | |
| rpcuser=w1/AxcoqWFqsey/x7C9drhaaWl8= | |
| rpcpass=zGnTDRT4a7Pzn9j31n6D0c3S0vs= |
| Verifying my Blockstack ID is secured with the address 12fmp8MHaSmzZbR3iu77hysmd9C5zpLKPs https://explorer.blockstack.org/address/12fmp8MHaSmzZbR3iu77hysmd9C5zpLKPs |
| package com.mitchwongho.test.observablerealms.realms; | |
| import android.support.annotation.NonNull; | |
| import java.util.UUID; | |
| import io.realm.RealmObject; | |
| import io.realm.annotations.PrimaryKey; | |
| /** |
| package com.mitchwongho.test.observablerealms; | |
| import android.os.Bundle; | |
| import android.support.annotation.NonNull; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.util.Log; | |
| import com.mitchwongho.test.observablerealms.realms.Person; | |
| import java.util.concurrent.TimeUnit; |
| # Setting Up ExpressVPN (OpenVPN) On OSMC | |
| ## References | |
| - [Brian Hornsby' Kodi OpenVPN plugin](http://brianhornsby.com/blog/how-to-setup-your-vpn-client) | |
| - [Install and Configure OpenVPN on OSMC/Kodi](https://nerddrivel.com/2016/03/25/install-and-configure-openvpn-on-osmckodi/) | |
| - [ExpressVPN - High speed, ultra secure, and easy to use. Instant setup.](https://www.expressvpn.com/) | |
| - [[HOWTO] OSMC/Rasp Pi as OpenVPN client](https://discourse.osmc.tv/t/howto-osmc-rasp-pi-as-openvpn-client/1844/71) | |
| ## Steps |
| package com.github.mitchwongho.android.beacon.database.rx; | |
| import android.content.Context; | |
| import android.support.annotation.NonNull; | |
| import io.realm.Realm; | |
| import io.realm.RealmChangeListener; | |
| import io.realm.RealmObject; | |
| import io.realm.RealmResults; | |
| import rx.Observable; |
| apply plugin: 'com.android.application' | |
| apply plugin: 'kotlin-android' | |
| apply plugin: 'me.tatarka.retrolambda' | |
| buildscript { | |
| ext.kotlin_version = '1.0.0-beta-4584' | |
| ext.android_support_lib_version = '23.1.1' | |
| ext.retrolambda_version = '3.2.4' | |
| repositories { | |
| jcenter() |
| import com.google.auto.value.AutoValue; | |
| /** | |
| * | |
| */ | |
| @AutoValue | |
| public abstract class PseudoEnum { | |
| public static PseudoEnum MONDAY() { | |
| return new AutoValue_PseudoEnum(0); |
| /** | |
| * Compare two {@code double} values | |
| * @param a some <i>double</i> value | |
| * @param b some other <i>double</i> value | |
| * @return {@code true} if the two values are equal | |
| */ | |
| public static boolean equals (final double a, final double b) { | |
| if (a==b) return true; | |
| return Math.abs(a - b) < EPSILON; //EPSILON = 0.0000001d | |
| } |