<commit_before># before you run this script, make it executable: chmod +x full-ubuntu-3_configure.sh

# Step 3: configure installed software

cd

echo
echo "Installing VS Code extensions"
echo

# Common
code --install-extension be5invis.toml
code --install-extension coenraads.bracket-pair-colorizer-2
code --install-extension davidanson.vscode-markdownlint
code --install-extension eamodio.gitlens
code --install-extension editorconfig.editorconfig
code --install-extension esbenp.prettier-vscode
code --install-extension johnpapa.vscode-peacock
code --install-extension ms-vsliveshare.vsliveshare
code --install-extension pkief.material-icon-theme

# Themes
code --install-extension liviuschera.noctis
code --install-extension robbowen.synthwave-vscode

# .NET
code --install-extension adrianwilczynski.user-secrets
code --install-extension ms-dotnettools.csharp
code --install-extension ionide.ionide-fsharp

# Web dev
code --install-extension angular.ng-template
code --install-extension burkeholland.simple-react-snippets
code --install-extension dbaeumer.vscode-eslint
code --install-extension eg2.vscode-npm-script
code --install-extension firefox-devtools.vscode-firefox-debug
code --install-extension johnpapa.angular-essentials
code --install-extension nrwl.angular-console

# Docker
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-vscode-remote.remote-containers

# Other Languages
code --install-extension ms-python.python
code --install-extension rust-lang.rust
code --install-extension sfodje.perlcritic
code --install-extension sfodje.perltidy

echo
echo "Installing npm global tools"
echo
npm install -g @angular/cli
npm install -g typescript

echo
echo "Installing dotnet global tools"
echo
dotnet tool install -g dotnet-ef

echo
configDir="source/devconfig/config"  # Location of my configuration files - change as needed
if [ -d  ~/$configDir ]
then
  echo "Restoring configuration files"
  cp ~/$configDir/.gitconfig ~
  cp ~/$configDir/starship.toml ~/.config
  cp ~/$configDir/Vim/.gvimrc ~
  cp ~/$configDir/Vim/.vimrc ~
  cp ~/$configDir/VSCode/keybindings.json ~/$configDir/VSCode/settings.json ~/.config/Code/User
else
  echo "Configuration files not found in $configDir"
  echo "If they're somewhere else, edit this script and try again"
fi

echo
echo "Adding Linux-specific Git configuration"
git config --global core.editor "vim"

echo
echo "All done!"<commit_msg>Restore Nushell config on Linux<commit_after># before you run this script, make it executable: chmod +x full-ubuntu-3_configure.sh

# Step 3: configure installed software

cd

echo
echo "Installing VS Code extensions"
echo

# Common
code --install-extension be5invis.toml
code --install-extension coenraads.bracket-pair-colorizer-2
code --install-extension davidanson.vscode-markdownlint
code --install-extension eamodio.gitlens
code --install-extension editorconfig.editorconfig
code --install-extension esbenp.prettier-vscode
code --install-extension johnpapa.vscode-peacock
code --install-extension ms-vsliveshare.vsliveshare
code --install-extension pkief.material-icon-theme

# Themes
code --install-extension liviuschera.noctis
code --install-extension robbowen.synthwave-vscode

# .NET
code --install-extension adrianwilczynski.user-secrets
code --install-extension ms-dotnettools.csharp
code --install-extension ionide.ionide-fsharp

# Web dev
code --install-extension angular.ng-template
code --install-extension burkeholland.simple-react-snippets
code --install-extension dbaeumer.vscode-eslint
code --install-extension eg2.vscode-npm-script
code --install-extension firefox-devtools.vscode-firefox-debug
code --install-extension johnpapa.angular-essentials
code --install-extension nrwl.angular-console

# Docker
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-vscode-remote.remote-containers

# Other Languages
code --install-extension ms-python.python
code --install-extension rust-lang.rust
code --install-extension sfodje.perlcritic
code --install-extension sfodje.perltidy

echo
echo "Installing npm global tools"
echo
npm install -g @angular/cli
npm install -g typescript

echo
echo "Installing dotnet global tools"
echo
dotnet tool install -g dotnet-ef

echo
configDir="source/devconfig/config"  # Location of my configuration files - change as needed
if [ -d  ~/$configDir ]
then
  echo "Restoring configuration files"
  cp ~/$configDir/.gitconfig ~
  cp ~/$configDir/starship.toml ~/.config
  cp ~/$configDir/Nushell/config.toml ~/.config/nu
  cp ~/$configDir/Vim/.gvimrc ~
  cp ~/$configDir/Vim/.vimrc ~
  cp ~/$configDir/VSCode/keybindings.json ~/$configDir/VSCode/settings.json ~/.config/Code/User
else
  echo "Configuration files not found in $configDir"
  echo "If they're somewhere else, edit this script and try again"
fi

echo
echo "Adding Linux-specific Git configuration"
git config --global core.editor "vim"

echo
echo "All done!"
{'fraction_non_alphanumeric': 0.10282462914041861, 'fraction_numerical': 0.00203210729526519, 'mean_word_length': 4.524130190796858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '104480', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1536, 'n_words': 420}