This file contains 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
#!/bin/bash | |
export _SSH_COMPLETE_F_CACHE="/tmp/_ssh_complete" | |
export _SSH_COMPLETE_HOSTS="" | |
[[ ! -f "$_SSH_COMPLETE_F_CACHE" ]] && touch "$_SSH_COMPLETE_F_CACHE" | |
_ssh_complete() { | |
if [ -z "$_SSH_COMPLETE_HOSTS" ]; then |
This file contains 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
// With trilopin fixes | |
package main | |
import "fmt" | |
import "net/http" | |
import "log" | |
type Middleware func(http.Handler) http.Handler | |
type MiddlewareManager struct { |
This file contains 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
# Kubernetes config | |
__kube_ps1() | |
{ | |
# Get current context | |
CONTEXT=$(cat ~/.kube/config | grep "current-context:" | sed "s/current-context: //") | |
if [ -n "$CONTEXT" ]; then | |
echo "(k8s: ${CONTEXT})" | |
fi | |
} |
This file contains 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
#!/bin/sh | |
_sigterm() { | |
echo "Recieved SIGTERM" | |
exit 1 | |
} | |
_sigint() { | |
echo "Recieved SIGINT" | |
exit 1 |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlScEYGnkNUC9th68Oy0DWqjQnohAbDW7JwzxpPbqN0GBVll45pLOQSlcDap6UAq82vSWf2rM1J6T4wWT9LzR+WWwOW5gS5xnvBeLu/cWIlmFVZ830IE4ndBrTsLL1g77Outt7FvEF9QLHdllwM7ILNi/8m9VmcqzijL9LfAPHuEuCUGtauzDTWF1E5racmqkdgnMuCyXZZLGxb5DXJ3Fkf5+fcrfbSg7uBYcCW3zjjL4jyQ4ZF6EsEZrvxSYWrcZT1AW4jutBOyDCWYBbj7YvA0MgCfMPmcXsnF5vaaDOJwvYlcRy/DrVQYFUPa99Q6ag1IeEhfRroGwDIYWot3LlPVogm35kvgvg8PLvHbGILh/wOsKv5Zm4HK0Hxk0rQDXsIxCb1YlO+P5Y2MbTTgCoXCSDRe3dSFQImGcQwxENdYtTqNIPRmLOGWuR/+Oxrb+mpwkaUmE1nXKkAnabc7A49j+qgEKBoIKEJZPI/sOfcoa4L27Aow0udzZuyR2Td1i3ngBGLiQT9zGDsxSgUBLN1/x+fsGJ+VWGbk2rSUJPmQJTswtVcng1xTyhnG251kchJyZIx9kf0OQGuErDE0OFckHzrk02yeiNl9rbMNzsVmB+D96w6VBwIQeNhL7je/+iYr3QNWi9wk0STWN9qhEDUJz6dZknTyS/vUzM2FfTew== mibaroma@MacBook-Pro-de-Miquel.local |