Instructions for installing Kubelogin / oidc-login: https://github.com/int128/kubelogin.
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
# add to your shell startup script (e.g: $HOME/.bashrc). | |
# install [fzf](https://github.com/junegunn/fzf) | |
# e.g: brew install fzf | |
kctx() { | |
( | |
cd ~/.kube/ || exit 1 | |
# shellcheck disable=SC2012 | |
KUBE=$(ls kube-* | fzf) | |
[[ -n "$KUBE" ]] && ln -sf "$KUBE" config |
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
# add debugging | |
# and fix for bug | |
apiVersion: pkg.crossplane.io/v1alpha1 | |
kind: ControllerConfig | |
metadata: | |
name: jet-aws-config | |
spec: | |
args: ['-d'] | |
env: | |
- name: AWS_REGION |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: spectro-debug | |
name: spectro-debug | |
namespace: kube-system | |
spec: | |
replicas: 1 | |
selector: |
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
got 8 from server |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIMagentaColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw | |
LjgxMDcyMjgzMjIgMC4zMDQ5NDg5MTUzIDAuNzk2NTYxODY2NgAQAYAC0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
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
import org.scalatest.{AsyncWordSpec, Matchers} | |
import play.api.libs.json._ | |
import reactivemongo.api.{Cursor, MongoDriver, ReadPreference} | |
import reactivemongo.play.json._ | |
import reactivemongo.play.json.collection.JSONCollection | |
import scala.concurrent.Future | |
class ExampleSpec extends AsyncWordSpec with Matchers { |
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
sdfsdfsdfsf |
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
# Setting the prefix from C-b to C-a | |
set -g prefix C-a | |
# Free the original Ctrl-b prefix keybinding | |
unbind C-b | |
#setting the delay between prefix and command | |
set -s escape-time 4 | |
# Rest the cursor back to input mode |
NewerOlder