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
# Aliases taken from https://github.com/PaulRoze/mezeze/blob/main/mezeze.sh | |
# To avoid cluttering the global shell namespace, only load them when `kube` is entered in the terminal. | |
function kube() { | |
alias k="kubectl" | |
alias kx="/usr/local/bin/kubectx" | |
alias kn="/usr/local/bin/kubens" | |
alias ke="kubectl exec -it" | |
alias kl="kubectl logs" | |
alias kg="kubectl get" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# This server returns an empty JSON object, no matter what. | |
from wsgiref.simple_server import make_server | |
import threading | |
def start_server(): | |
def app(environ, start_response): | |
start_response('200 OK', [('Content-Type', 'application/json')]) | |
return [b'{}'] | |
OlderNewer