sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
You will need the kubeconfig for the management cluster | |
and either export KUBECONFIG=mgmt.kubeconfig or add --kubeconfig mgmt.kubeconfig to the commands below | |
1. Clone the Flux2 state repo | |
2. Run the following to get the Flux2 install manifest | |
```bash | |
flux install --export > flux-components.yaml | |
``` |
"""Download all sheets of a Google Docs spreadsheet as CSV.""" | |
import contextlib, csv, itertools, os | |
from apiclient.discovery import build # pip install google-api-python-client | |
SHEET = '1dR13B3Wi_KJGUJQ0BZa2frLAVxhZnbz0hpwCcWSvb20' | |
def get_credentials(scopes, *, secrets='~/client_secrets.json', storage='~/storage.json'): |
# Assume we are in your home directory | |
cd ~/ | |
# Clone the repo from GitLab using the `--mirror` option | |
$ git clone --mirror [email protected]:mario/my-repo.git | |
# Change into newly created repo directory | |
$ cd ~/my-repo.git | |
# Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. |
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |