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

# Show hidden files
defaults write com.apple.finder AppleShowAllFiles TRUE

# Hide desktop icons
defaults write com.apple.finder CreateDesktop -bool false

# Disable the warning before emptying the Trash
defaults write com.apple.finder WarnOnEmptyTrash -bool false

# Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -int 0

# Show all file extensions
defaults write com.apple.finder AppleShowAllExtensions -bool true

# Use column view in all Finder windows by default
defaults write com.apple.finder FXPreferredViewStyle -string clmv

# Make Dock icons of hidden applications translucent
defaults write com.apple.dock showhidden -bool true

# Remove the auto-hiding Dock delay
defaults write com.apple.dock autohide-delay -float 0

# Put dock on the left side
defaults write com.apple.Dock orientation -string left

# Auto-hide dock
defaults write com.apple.dock autohide -bool true

# Make dock tiles smaller
defaults write com.apple.dock tilesize -int 48

# Bottom right hot corner starts screen saver
defaults write com.apple.dock wvous-br-corner -int 5
defaults write com.apple.dock wvous-br-modifier -int 0

# Menu bar clock format
defaults write com.apple.menuextra.clock DateFormat -string "EEE MMM d HH:mm"

# Disable sound effects
defaults write -g com.apple.sound.beep.feedback -int 0
defaults write com.apple.systemsound "com.apple.sound.uiaudio.enabled" -int 0

# Show volume in menu bar
open '/System/Library/CoreServices/Menu Extras/Volume.menu'

# Use F1.. keys without Fn key
defaults write -g com.apple.keyboard.fnState -bool true

# Disable autocorrect
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false

#Tap to click
defaults -currentHost write -globalDomain com.apple.mouse.tapBehavior -int 1

for app in "Dock" "Finder" "SystemUIServer"; do
    killall -HUP "${app}"
done
<commit_msg>Defaults<commit_after>#!/usr/bin/env bash

# Finder
defaults write com.apple.finder AppleShowAllFiles TRUE
# Hide desktop icons
defaults write com.apple.finder CreateDesktop -bool false
defaults write com.apple.finder WarnOnEmptyTrash -bool false
defaults write com.apple.finder QuitMenuItem -bool true
# Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -int 0
defaults write com.apple.finder AppleShowAllExtensions -bool true
# Use column view in all Finder windows by default
defaults write com.apple.finder FXPreferredViewStyle -string clmv

# Dock
defaults write com.apple.dock showhidden -bool true
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.Dock orientation -string left
defaults write com.apple.dock autohide -bool true
defaults write com.apple.dock tilesize -int 48

# Bottom right hot corner starts screen saver
defaults write com.apple.dock wvous-br-corner -int 5
defaults write com.apple.dock wvous-br-modifier -int 0

# Menu bar clock format
defaults write com.apple.menuextra.clock DateFormat -string "EEE MMM d HH:mm"

# Disable sound effects
defaults write -g com.apple.sound.beep.feedback -int 0
defaults write com.apple.systemsound "com.apple.sound.uiaudio.enabled" -int 0

# Show volume in menu bar
open '/System/Library/CoreServices/Menu Extras/Volume.menu'

# Use F1.. keys without Fn key
defaults write -g com.apple.keyboard.fnState -bool true

# Disable autocorrect
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false

#Tap to click
defaults -currentHost write -globalDomain com.apple.mouse.tapBehavior -int 1

defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true

# Apps
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE

for app in "Dock" "Finder" "SystemUIServer"; do
    killall -HUP "${app}"
done

{'fraction_non_alphanumeric': 0.06847882906429692, 'fraction_numerical': 0.005227391531625719, 'mean_word_length': 4.644542772861357, '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': '5670965', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1089, 'n_words': 426}