<commit_before># https://github.com/tadija/AEDotFiles
# Copyright (c) <NAME> 2015-2018
# Licensed under the MIT license. See LICENSE file.

echo ""
echo "Updating system settings..."

###############################################################################
# Security & Privacy
###############################################################################

echo ""
echo "Requiring password 1 minute after sleep or screen saver begins"
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 60

###############################################################################
# Finder
###############################################################################

echo ""
echo "New Finder window show $HOME folder"
defaults write com.apple.finder NewWindowTarget -string "PfHm"

echo ""
echo "Showing status bar in Finder by default"
defaults write com.apple.finder ShowStatusBar -bool true

echo ""
echo "Displaying full POSIX path as Finder window title"
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true<commit_msg>Added setting for enabling simulator beside Xcode in full screen<commit_after># https://github.com/tadija/AEDotFiles
# Copyright (c) <NAME> 2015-2018
# Licensed under the MIT license. See LICENSE file.

echo ""
echo "Updating system settings..."

###############################################################################
# Security & Privacy
###############################################################################

echo ""
echo "Requiring password 1 minute after sleep or screen saver begins"
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 60

###############################################################################
# Xcode
###############################################################################

echo ""
echo "Enabling simulator beside Xcode in full screen mode"
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES

###############################################################################
# Finder
###############################################################################

echo ""
echo "New Finder window show $HOME folder"
defaults write com.apple.finder NewWindowTarget -string "PfHm"

echo ""
echo "Showing status bar in Finder by default"
defaults write com.apple.finder ShowStatusBar -bool true

echo ""
echo "Displaying full POSIX path as Finder window title"
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
{'fraction_non_alphanumeric': 0.358278402481582, 'fraction_numerical': 0.009305932531989143, 'mean_word_length': 7.32258064516129, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5786061', 'n_tokens_mistral': 613, 'n_tokens_neox': 565, 'n_words': 207}