Skip to content

Repository files navigation

dotfiles

mac and linux setups

Apps

Development

IDE’s

  • IntelliJ Idea Community
  • Visual Studio Code

Notes

  • Sublime Text

Entertainment

  • Jdownloader
  • FreeTube
  • Youtubedl-gui

Productivity

OS Tuning

Customization

  • [ ]

ZSH

Install zsh:

sudo apt install zsh -y

Switch to Zsh shell

chsh -s $(which zsh)

sudo chsh -s /usr/bin/zsh $USER

echo $SHELL

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Powerlevel10k

git clone --depth=1 [https://github.com/romkatv/powerlevel10k.git](https://github.com/romkatv/powerlevel10k.git) ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc

command line tools

OS Tuning

Development

brew install tfenv pyenv kubectx kind lazydocker k9s go helm jq kustomize nmap openjdk redis awscli htop nvm zsh-completions watch p7zip neovim make vagrant-completion trash neofetch kubectl

APT Packges

Cloud Packages

GCP

Installation

  1. Add the gcloud CLI distribution URI as a package source. If your distribution supports the signed-by option, run the following command:
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list

If your distribution doesn't support the signed-by option, run the following command:

  • echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list

    Note: Make sure you don't have duplicate entries for the cloud-sdk repo in /etc/apt/sources.list.d/google-cloud-sdk.list.

  • Import the Google Cloud public key. If your distribution's apt-key command supports the -keyring argument, run the following command:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

If your distribution's apt-key command doesn't support the --keyring argument, run the following command:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

If your distribution (Debian 11+ or Ubuntu 21.10+) doesn't support apt-key, run the following command:

  • curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo tee /usr/share/keyrings/cloud.google.gpg

    If you can't get latest updates due to an expired key, obtain the latest apt-get.gpg key file.

  • Update and install the gcloud CLI:

sudo apt-get update && sudo apt-get install google-cloud-cli

For additional

apt-get

options, such as disabling prompts or dry runs, refer to the

[apt-get man pages](https://linux.die.net/man/8/apt-get)

.

Docker Tip: If installing the gcloud CLI inside a Docker image, use a single RUN step instead:

RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg  add - && apt-get update -y && apt-get install google-cloud-cli -y

If

apt-key

command is not supported:

  • RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | tee /usr/share/keyrings/cloud.google.gpg && apt-get update -y && apt-get install google-cloud-sdk -y

  • (Optional) Install any of the following additional components:

    • google-cloud-cli
    • google-cloud-cli-anthos-auth
    • google-cloud-cli-app-engine-go
    • google-cloud-cli-app-engine-grpc
    • google-cloud-cli-app-engine-java
    • google-cloud-cli-app-engine-python
    • google-cloud-cli-app-engine-python-extras
    • google-cloud-cli-bigtable-emulator
    • google-cloud-cli-cbt
    • google-cloud-cli-cloud-build-local
    • google-cloud-cli-cloud-run-proxy
    • google-cloud-cli-config-connector
    • google-cloud-cli-datastore-emulator
    • google-cloud-cli-firestore-emulator
    • google-cloud-cli-gke-gcloud-auth-plugin
    • google-cloud-cli-kpt
    • google-cloud-cli-kubectl-oidc
    • google-cloud-cli-local-extract
    • google-cloud-cli-minikube
    • google-cloud-cli-nomos
    • google-cloud-cli-pubsub-emulator
    • google-cloud-cli-skaffold
    • google-cloud-cli-spanner-emulator
    • google-cloud-cli-terraform-validator
    • google-cloud-cli-tests
    • kubectl

    For example, the google-cloud-cli-app-engine-java component can be installed as follows:

  • sudo apt-get install google-cloud-cli-app-engine-java

  • Run [gcloud init](https://cloud.google.com/sdk/gcloud/reference/init) to get started:

gcloud init

AWS

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

About

mac and linux setups

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages