<commit_before>#!/usr/bin/env zsh

# Ask for the administrator password upfront
sudo -v

# Keep-alive: update existing `sudo` time stamp until the script has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

# Run the main dotfiles installation script
curl -fsSL https://raw.githubusercontent.com/anvilabs/dotfiles/master/install.sh | sh

# Clone local dotfiles from Github
git clone https://github.com/maxat70baev/dotfiles.git ~/.dotfiles-local

# Synchronize symlinks
rcup -v -d ~/.dotfiles-local/symlinks

# Install apps with brew cask and mas
source ~/.dotfiles-local/apps.sh

# Install vscode extensions and settings
source ~/.dotfiles-local/vscode.sh

# Remove outdated versions from the cellar
brew cleanup

# Set up SSH
# https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
echo "** Setting up SSH"
ssh-keygen -t rsa -b 4096 -C "<EMAIL>"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

# Open the GitHub settings page
open "https://github.com/settings/keys"

# Add the SSH key to GitHub
pbcopy < ~/.ssh/id_rsa.pub
echo "SSH key copied to clipboard"
read -p "Press [Enter] key when you're done..."<commit_msg>Use correct arguments with `read` commands<commit_after>#!/usr/bin/env zsh

# Ask for the administrator password upfront
sudo -v

# Keep-alive: update existing `sudo` time stamp until the script has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

# Run the main dotfiles installation script
curl -fsSL https://raw.githubusercontent.com/anvilabs/dotfiles/master/install.sh | sh

# Clone local dotfiles from Github
git clone https://github.com/maxat70baev/dotfiles.git ~/.dotfiles-local

# Synchronize symlinks
rcup -v -d ~/.dotfiles-local/symlinks

# Install apps with brew cask and mas
source ~/.dotfiles-local/apps.sh

# Install vscode extensions and settings
source ~/.dotfiles-local/vscode.sh

# Remove outdated versions from the cellar
brew cleanup

# Set up SSH
# https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
echo "** Setting up SSH"
ssh-keygen -t rsa -b 4096 -C "<EMAIL>"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

# Open the GitHub settings page
open "https://github.com/settings/keys"

# Add the SSH key to GitHub
pbcopy < ~/.ssh/id_rsa.pub
echo "SSH key copied to clipboard"
read "?Press [Enter] key when you're done..."
{'fraction_non_alphanumeric': 0.12608875985068435, 'fraction_numerical': 0.00829531314807134, 'mean_word_length': 3.882591093117409, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '5025759', 'n_tokens_mistral': 865, 'n_tokens_neox': 806, 'n_words': 267}