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
#cloud-config | |
coreos: | |
etcd2: | |
discovery: https://discovery.etcd.io/<some-discovery-token> | |
advertise-client-urls: http://\$private_ipv4:2379,http://\$private_ipv4:4001 | |
initial-advertise-peer-urls: http://\$private_ipv4:2380 | |
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
listen-peer-urls: http://\$private_ipv4:2380 | |
units: |
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 android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.view.View; | |
public abstract class Presenter<V extends View> { | |
private V view; | |
public final void takeView(@NonNull V view) { | |
if (view == null) throw new NullPointerException("View must not be null"); | |
if (this.view != view) { |
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
public class Person { | |
public final String name; | |
public final int age; | |
public final String city; | |
public Person(String name, int age, String city) { | |
this.name = name; | |
this.age = age; | |
this.city = city; | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am ryands on github. | |
* I am ryands (https://keybase.io/ryands) on keybase. | |
* I have a public key ASAPVdyMPae0mgH03qbrDAal5GKi8SkCHyIyO_56yjsL0Ao | |
To claim this, I am signing this object: |
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
version: '3' | |
services: | |
gitlab: | |
image: gitlab/gitlab-ce:latest | |
hostname: gitlab.example.com | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com/' | |
nginx['listen_port'] = 80 | |
nginx['listen_https'] = false |
OlderNewer