-
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 sh | |
# For commit messages like `2024-11-28T11:06:52`, inside the Vault directory: | |
# Source: https://phoenixnap.com/kb/linux-date-command | |
git add . && git commit -m "$(date +"%Y-%m-%dT%T")" && git push |
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
nix-shell -p git curl vim | |
git clone https://gitlab.com/zaney/zaneyos.git | |
cd zaneyos | |
cp -r hosts/default hosts/desktop | |
# Update configuration variables and options. | |
sed -i 's/aarch64-linux/x86_64-linux/g' flake.nix | |
sed -i 's/nixbook/desktop/g' flake.nix |
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:
NewerOlder