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
# kn <context> [namespace] lets you quickly change kubectl's context and | |
# optionally namespace. Tab completion is supported for both. If you just want | |
# to change namespace in the same context, you can use context ".". | |
function kn() { | |
local context=$1 | |
local namespace=$2 | |
if [[ -z "$context" ]]; then | |
echo "usage: kn <context> [namespace]" >&2 | |
return 1 |
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
function cerebro() { | |
docker network inspect cerebro >/dev/null 2>&1 | |
if [[ $? -ne 0 ]]; then | |
echo -n "Creating cerebro network: " | |
docker network create cerebro | |
if [[ $? -ne 0 ]]; then | |
echo "Failed to create network, aborting" >&2 | |
return | |
fi | |
fi |
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
Sat May 2 13:55:37 UTC 2020 |
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: Set keybindings variable | |
tags: | |
- gnome | |
set_fact: | |
keybindings: | |
- name: binding | |
value: "'<Super>p'" | |
- name: command | |
value: "'passmenu'" | |
- name: name |
OlderNewer