<commit_before>#!/bin/bash
# Script: install_freemind_1.0.1.sh
echo === Install & remove freemind 0.9.0 - this leaves the .desktop file
sudo apt-get install -y openjdk-7-jre
sudo apt-get install -y freemind
sudo cp /usr/share/applications/freemind.desktop /usr/share/applications/freemind.desktop.bak
sudo apt-get remove -y freemind
# Command to remove all freemdind.desktop: `locate freemind.desktop | xargs sudo rm`
echo
echo === Download freemind
wget http://sourceforge.net/projects/freemind/files/freemind/1.0.1/freemind-bin-max-1.0.1.zip
unzip freemind-bin-max-1.0.1.zip -d freemind
chmod +x freemind/freemind.sh
sudo mkdir /usr/share/freemind
echo
echo === Copy freemind to /usr/share/freemind/
sudo cp -r ./freemind/* /usr/share/freemind/
echo
echo === Create link to /usr/share/freemind/ in /usr/bin
pushd .
cd /usr/bin && sudo ln -s /usr/share/freemind/freemind.sh /usr/bin/freemind
sudo apt-get install -y desktop-file-utils
cd /usr/share/applications && sudo mv freemind.desktop.bak freemind.desktop && sudo desktop-file-install freemind.desktop
popd
sudo jar xf ./freemind/lib/freemind.jar images/FreeMindWindowIcon.png
sudo mv ./images/FreeMindWindowIcon.png /usr/share/pixmaps
sudo rm -rf ./images
echo "=== Please note that it often takes a few seconds before FreeMind shows up under Applications->Office"
<commit_msg>Update install_freemind_1.0.1.sh<commit_after>#!/bin/bash
# Script: install_freemind_1.0.1.sh
echo === Install & remove freemind 0.9.0 - this leaves the .desktop file
sudo apt-get update
sudo apt-get install -y openjdk-7-jre
sudo apt-get install -y freemind
sudo cp /usr/share/applications/freemind.desktop /usr/share/applications/freemind.desktop.bak
sudo apt-get remove -y freemind
# Command to remove all freemdind.desktop: `locate freemind.desktop | xargs sudo rm`
echo
echo === Download freemind
wget http://sourceforge.net/projects/freemind/files/freemind/1.0.1/freemind-bin-max-1.0.1.zip
unzip freemind-bin-max-1.0.1.zip -d freemind
chmod +x freemind/freemind.sh
sudo mkdir /usr/share/freemind
echo
echo === Copy freemind to /usr/share/freemind/
sudo cp -r ./freemind/* /usr/share/freemind/
echo
echo === Create link to /usr/share/freemind/ in /usr/bin
pushd .
cd /usr/bin && sudo ln -s /usr/share/freemind/freemind.sh /usr/bin/freemind
sudo apt-get install -y desktop-file-utils
cd /usr/share/applications && sudo mv freemind.desktop.bak freemind.desktop && sudo desktop-file-install freemind.desktop
popd
sudo jar xf ./freemind/lib/freemind.jar images/FreeMindWindowIcon.png
sudo mv ./images/FreeMindWindowIcon.png /usr/share/pixmaps
sudo rm -rf ./images
echo "=== Please note that it often takes a few seconds before FreeMind shows up under Applications->Office"

{'fraction_non_alphanumeric': 0.11968969338751385, 'fraction_numerical': 0.012929442186922793, 'mean_word_length': 4.0616822429906545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '890832', 'n_tokens_mistral': 1037, 'n_tokens_neox': 971, 'n_words': 262}