<commit_before># Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
function update
    switch (uname)
        case Darwin
            echo "=====[ Apple Software Update ]===================================="; and \
            sudo softwareupdate -i -a; and \
            echo "=====[ Homebrew ]================================================="; and \
            brew update; and \
            brew upgrade; and \
            brew cleanup -s; and \
            brew cask cleanup; and \
            echo "=====[ npm ]======================================================"; and \
            npm install npm -g; and \
            npm update -g; and \
            echo "=====[ Gems ]====================================================="; and \
            sudo gem update --system; and \
            sudo gem update; and \
            echo "=====[ pip ]======================================================"; and \
            python -m pip install --upgrade (python -m pip list --outdated | awk '/.*/ {print $1}'); and \
            python3 -m pip install --upgrade (python3 -m pip list --outdated | awk '/.*/ {print $1}')
            echo "=====[ Fisherman ]================================================"; and \
            fisher up
        case Linux
            echo "=====[ apt Software Update ]===================================="; and \
            sudo apt update; and \
            sudo apt -y full-upgrade; and \
            sudo apt -y autoremove; and \
            sudo apt -y remove (deborphan); and \
            echo "=====[ Homebrew ]================================================="; and \
            brew update; and \<commit_msg>Rollback to apt-get as apt is mean for user input<commit_after># Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
function update
    switch (uname)
        case Darwin
            echo "=====[ Apple Software Update ]===================================="; and \
            sudo softwareupdate -i -a; and \
            echo "=====[ Homebrew ]================================================="; and \
            brew update; and \
            brew upgrade; and \
            brew cleanup -s; and \
            brew cask cleanup; and \
            echo "=====[ npm ]======================================================"; and \
            npm install npm -g; and \
            npm update -g; and \
            echo "=====[ Gems ]====================================================="; and \
            sudo gem update --system; and \
            sudo gem update; and \
            echo "=====[ pip ]======================================================"; and \
            python -m pip install --upgrade (python -m pip list --outdated | awk '/.*/ {print $1}'); and \
            python3 -m pip install --upgrade (python3 -m pip list --outdated | awk '/.*/ {print $1}')
            echo "=====[ Fisherman ]================================================"; and \
            fisher up
        case Linux
            echo "=====[ apt Software Update ]===================================="; and \
            sudo apt-get update; and \
            sudo apt-get -y upgrade; and \
            sudo apt-get -y dist-upgrade; and \
            sudo apt-get -y autoremove; and \
            sudo apt-get -y remove (deborphan); and \
            echo "=====[ Homebrew ]================================================="; and \
            brew update; and \
{'fraction_non_alphanumeric': 0.31891891891891894, 'fraction_numerical': 0.002275960170697013, 'mean_word_length': 2.062717770034843, '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': '1263906', 'n_tokens_mistral': 820, 'n_tokens_neox': 755, 'n_words': 298}