Skip to content

Instantly share code, notes, and snippets.

Nathan Mkaya nathanmkaya

Block or report user

Report or block nathanmkaya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nathanmkaya on github.
  • I am nathanmkaya ( on keybase.
  • I have a public key ASB-am6MDA_ivzGFPOb-lcN27TNFKed9oxWGEhTNFeVUtAo

To claim this, I am signing this object:

nathanmkaya / Subfolder to git
Created Jan 3, 2019 — forked from korya/Subfolder to git
Convert subfolder into Git submodule
View Subfolder to git
nathanmkaya /
Created Nov 1, 2018 — forked from soarez/
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

View jacoco.gradle
apply plugin: 'jacoco'
jacoco {
toolVersion = "$jacocoVersion"
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
View layout.xml
<?xml version="1.0" encoding="utf-8"?>
nathanmkaya /
Created Jun 13, 2017 — forked from emil2k/
Android utility class for checking device's network connectivity and speed.
import android.content.Context;
import android.telephony.TelephonyManager;
* Check device's network connectivity and speed
* @author emil
nathanmkaya / main.go
Created Sep 11, 2016 — forked from eduncan911/main.go
Go/Reading Console Inputs
View main.go
package main
import (
func main() {
nathanmkaya /
Created Aug 28, 2016
RxJava 2 implementation of a bus
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){
You can’t perform that action at this time.