This file contains hidden or 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
#!/bin/bash | |
repo="https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/" | |
file="JetBrainsMono.zip" | |
font_name="JetBrainsMono" | |
sudo rm -rf $font_name | |
sudo rm -rf $file | |
echo "Get JetBrains Mono Fonts" |
This file contains hidden or 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
#!/bin/bash | |
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin | |
PATH=$PATH:/home/$USER/bin | |
oh-my-posh font install JetBrainsMono | |
SHELL_TYPE=$(oh-my-posh get shell) | |
# Detect the shell type | |
SHELL_TYPE=$(basename "$SHELL") |
This file contains hidden or 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
#!/bin/bash | |
echo "installs nvm (Node Version Manager)" | |
# installs nvm (Node Version Manager) | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash | |
# download and install Node.js (you may need to restart the terminal) | |
nvm install 20 | |
# verifies the right Node.js version is in the environment | |
node -v | |
# should print `v20.17.0` |
This file contains hidden or 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
#!bin/bash | |
sudo apt-get update | |
sudo apt-get install -y wget apt-transport-https software-properties-common | |
sudo curl -sL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sleep 4 | |
sudo apt-add-repository "deb [arch=amd64] https://packages.microsoft.com/linux/repos/microsoft-powershell/ubuntu $(lsb_release -cs) main" | |
sudo apt-get update | |
sudo apt-get install powershell | |
# Start PowerShell |
This file contains hidden or 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
#!/bin/bash | |
declare -a azure_repos=("azure-powershell" "azure-cli") | |
for i in "${azure_repos[@]}" | |
do | |
echo "$i" | |
gh repo clone Azure/"${azure_repos[i]}" | |
done |
This file contains hidden or 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
#!/bin/bash | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | |
sudo apt-get update | |
az upgrade | |
echo "Install azure devops extension" | |
sleep 4 | |
az extension add -n azure-devops | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash |
This file contains hidden or 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
#!/bin/bash | |
sudo mv /etc/apt/preferences.d/nosnap.pref ~/Documents/nosnap.backup | |
sudo apt update | |
echo " " | |
sleep 4 | |
echo "Installing snapd .." | |
sudo apt-get install snapd |
This file contains hidden or 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
#!/bin/bash | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install -y software-properties-common apt-transport-https wget | |
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" |
This file contains hidden or 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
#!/bin/bash | |
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \ | |
&& sudo mkdir -p -m 755 /etc/apt/keyrings \ | |
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \ | |
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \ | |
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \ | |
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ | |
&& sudo apt update \ | |
&& sudo apt install gh -y |