<commit_before>#!/bin/bash

#Backup original file
echo "Backing up original SystemVersion.plist to /System/Library/CoreServices/SystemVersion.plist.original"
cp /System/Library/CoreServices/SystemVersion.plist /System/Library/CoreServices/SystemVersion.plist.original

#Download SystemVersion files
echo "Downloading 7.0.4 and 7.0.6 versions of SystemVersion"
curl --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/SystemVersion.plist.7.0.4 -o /System/Library/CoreServices/SystemVersion.plist.7.0.4
curl --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/SystemVersion.plist.7.0.6 -o /System/Library/CoreServices/SystemVersion.plist.7.0.6

#Download scripts to switch SystemVersion files
echo "Downloading scripts to switch SystemVersion files"
curl --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/switch-to-7.0.4 -o ~/switch-to-7.0.4
curl --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/switch-to-7.0.6 -o ~/switch-to-7.0.6

echo "Done! You can now use the commands: switch-to-7.0.4 and switch-to-7.0.6"<commit_msg>Adding permission setting and silent options<commit_after>#!/bin/bash

echo "Backing up original SystemVersion.plist to /System/Library/CoreServices/SystemVersion.plist.original"
cp /System/Library/CoreServices/SystemVersion.plist /System/Library/CoreServices/SystemVersion.plist.original

echo "Downloading 7.0.4 and 7.0.6 versions of SystemVersion"
curl --silent --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/SystemVersion.plist.7.0.4 -o /System/Library/CoreServices/SystemVersion.plist.7.0.4
curl --silent --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/SystemVersion.plist.7.0.6 -o /System/Library/CoreServices/SystemVersion.plist.7.0.6

echo "Downloading scripts to switch SystemVersion files"
curl --silent --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/switch-to-7.0.4 -o ~/switch-to-7.0.4
curl --silent --insecure https://raw.github.com/joshstrange/simple-ios-version-hack/master/switch-to-7.0.6 -o ~/switch-to-7.0.6

echo "Setting execute permissions"
chmod u+x ~/switch-to-7.0.4
chmod u+x ~/switch-to-7.0.6

echo "Done! You can now use the commands: ./switch-to-7.0.4 and ./switch-to-7.0.6"
{'fraction_non_alphanumeric': 0.14372032801035822, 'fraction_numerical': 0.03366422097539922, 'mean_word_length': 4.328735632183908, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2153756', 'n_tokens_mistral': 829, 'n_tokens_neox': 796, 'n_words': 144}