Skip to content

Instantly share code, notes, and snippets.

View cmosh's full-sized avatar

Clive Makamara cmosh

View GitHub Profile
@cmosh
cmosh / resume.md
Created February 9, 2021 18:04
Clive's Resume

Clive Makamara

Summary

Infrastructure Engineer, with experience running production systems based on Ruby, Java, Python and Kotlin. In love with kubernetes and open source.

Experience

Infrastructure Team Lead - Lorisystems

@cmosh
cmosh / resume.md
Last active February 9, 2021 18:03
Clive's Resume

Clive Makamara

Summary

Infrastructure Engineer, with experience running production systems based on Ruby, Java, Python and Kotlin. In love with kubernetes and open source.

Experience

Infrastructure Team Lead - Lorisystems

@cmosh
cmosh / kubetoken
Created February 28, 2019 12:57
Command to generate kubernetes dashboard token and copy to clipboard on OSX
#!/usr/bin/env bash
token=$(kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}') | grep token:) && echo ${token#"token:"} | xargs -n1 echo | pbcopy && pbpaste && echo "↑ token copied to clipboard"
apply plugin: 'com.jfrog.bintray'
version = libraryVersion
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
task javadoc(type: Javadoc) {
main() {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
@cmosh
cmosh / ranch
Created December 13, 2016 21:55
#cloud-config
ssh_authorized_keys:
- ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDF9Vqjr9KxzGQySfxYNI5NuLqDFRbHfw8XmgQXdQjBHNICMW2iwGNL/dQ7BCRIqLN1GTooCgcIZAGsAklQWXxw3DGH+t0juzMd+zKs0Zn59I3yPO3mRLYs5nVXTiIrWuBd4TQwX8uJtfGhzUZvWdSxTGWbPH+wGXqJGo5NGedEXfIq1d57y4hhjS2/witPSbWP/mObOwYajCgYPmqL+OanCi6WpJDrUBKQN9Im6EBqDKcrngDBWUxGRP4R+fQ4f7ifK3okr4Dl7xFtSiUHO7vUhp85f1Jaxt6ZdlnWLFD6digi4unBDXqASLNnv9DMaOaXlihK+oNcESgLMrKrOufZ your@email.com
{
"name": "interlock",
"image": "cmosh/interlock:arm-v1.3",
"version": "0.1",
"author": "cmosh",
"description": "application router and load balancer (original x86 version written by ehazlett)",
"url": "https://github.com/cmosh/interlock",
"config": {
"prompt_args": [
"-shipyard-url",