Infrastructure Engineer, with experience running production systems based on Ruby, Java, Python and Kotlin. In love with kubernetes and open source.
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
#!/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" |
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
apply plugin: 'com.jfrog.bintray' | |
version = libraryVersion | |
task sourcesJar(type: Jar) { | |
from android.sourceSets.main.java.srcDirs | |
classifier = 'sources' | |
} | |
task javadoc(type: Javadoc) { |
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
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)" |
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 | |
ssh_authorized_keys: | |
- ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDF9Vqjr9KxzGQySfxYNI5NuLqDFRbHfw8XmgQXdQjBHNICMW2iwGNL/dQ7BCRIqLN1GTooCgcIZAGsAklQWXxw3DGH+t0juzMd+zKs0Zn59I3yPO3mRLYs5nVXTiIrWuBd4TQwX8uJtfGhzUZvWdSxTGWbPH+wGXqJGo5NGedEXfIq1d57y4hhjS2/witPSbWP/mObOwYajCgYPmqL+OanCi6WpJDrUBKQN9Im6EBqDKcrngDBWUxGRP4R+fQ4f7ifK3okr4Dl7xFtSiUHO7vUhp85f1Jaxt6ZdlnWLFD6digi4unBDXqASLNnv9DMaOaXlihK+oNcESgLMrKrOufZ [email protected] |
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
{ | |
"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", |