For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
import io.reactivex.Observable; | |
import io.reactivex.subjects.PublishSubject; | |
import io.reactivex.subjects.Subject; | |
class RxBus { | |
private static RxBus instance; | |
private final Subject bus = PublishSubject.create(); | |
static RxBus getInstance() { | |
if (instance == null){ |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"strings" | |
) | |
func main() { |
package com.emil.android.util; | |
import android.content.Context; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.telephony.TelephonyManager; | |
/** | |
* Check device's network connectivity and speed | |
* @author emil http://stackoverflow.com/users/220710/emil |
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/background_dark" | |
> | |
apply plugin: 'jacoco' | |
jacoco { | |
toolVersion = "$jacocoVersion" | |
} | |
tasks.withType(Test) { | |
jacoco.includeNoLocationClasses = true | |
} |
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
I hereby claim:
To claim this, I am signing this object:
Executing tasks: [:demo:assembleDebug] in project C:\Users\Nathan Mkaya\AndroidStudioProjects\backbase-intro | |
> Task :demo:preBuild UP-TO-DATE | |
> Task :demo:preDebugBuild UP-TO-DATE | |
> Task :demo:compileDebugAidl NO-SOURCE | |
> Task :demo:checkDebugManifest UP-TO-DATE | |
> Task :demo:compileDebugRenderscript NO-SOURCE | |
> Task :demo:generateDebugBuildConfig UP-TO-DATE | |
> Task :demo:prepareLintJar UP-TO-DATE | |
> Task :demo:generateDebugSources UP-TO-DATE |
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
stun: | |
stun.l.google.com:19302, | |
stun1.l.google.com:19302, | |
stun2.l.google.com:19302, | |
stun3.l.google.com:19302, | |
stun4.l.google.com:19302, | |
stun.ekiga.net, | |
stun.ideasip.com, |