-
Create a new project, for example
slo-generator-demo
, and set it to the current project, for example with:gcloud projects create cloud-operations-sandbox-a5r3 --set-as-default
-
Open Cloud Shell and save the project ID and project number to environment variable with:
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
#!/usr/bin/env bash | |
# Install Zsh shell and shell utils | |
sudo apt update -y && sudo apt install -y exa bat zsh | |
# Install Oh My Zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Install and enable Spaceship prompt | |
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/spaceship-prompt" --depth=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
#!/usr/bin/env bash | |
# Instructions | |
# --- | |
# On top of a clean install of Arch Linux, for example after https://gist.github.com/lvaylet/c931e881f4038080b47646be1da6be65: | |
# | |
# 1. Download this script with: | |
# $ curl -Lo install_my_linux.sh -H 'Cache-Control: no-cache' https://gist.githubusercontent.com/lvaylet/5bad228cfb854756dac972d67dcfe969/raw | |
# or, thanks to GitHub's URL shortener: | |
# $ curl -Lo install_my_linux.sh -H 'Cache-Control: no-cache' https://git.io/JRsiW |
Following up on Arch Linux Installation Guide , lauch VM with clean install and log in as a normal user.
Install video driver, X.Org, X.Org initialization program, wallpaper manager, compositor, text editor, terminal emulator and web browser with:
From a fresh installation of Ubuntu 20.04 (ubuntu-20.04.2.0-desktop-amd64.iso
), install the base XMonad package, extra libraries/modules from the community as well as xterm
and dmenu
with:
sudo apt install xmonad libghc-xmonad-contrib-dev xterm dmenu
Log out, click your user, select XMonad
from the cog at the bottom right and type your password to log in using XMonad instead of the default window manager. The black screen you get is suckless to the extreme and completely expected :-) No wallpaper, no menu, no panel...
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
cd ~/.local/bin | |
docker run -v $(pwd):/software sethvargo/hashicorp-installer terraform 0.12.28 | |
docker run -v $(pwd):/software sethvargo/hashicorp-installer vault 1.4.3 | |
# Then make sure ~/.local/bin is added to $PATH in .profile, .bashrc or .zshrc |
NewerOlder