<commit_before># osx.rb

dep "Dropbox.app" do
  source "https://www.dropbox.com/download?plat=mac"
end

dep "iTerm.app" do
  source "http://iterm2.com/downloads/stable/iTerm2_v1_0_0.zip"
end

dep "all-osx-apps" do
  requires "Dropbox.app"
  requires "iTerm.app"
end<commit_msg>Add some osx settings<commit_after># osx.rb

dep "Dropbox.app" do
  source "https://www.dropbox.com/download?plat=mac"
end

dep "iTerm.app" do
  source "http://iterm2.com/downloads/stable/iTerm2_v1_0_0.zip"
end

dep "all-osx-apps" do
  requires "Dropbox.app"
  requires "iTerm.app"
end

dep "auto-hide-dock" do
  met? {
    shell("defaults read com.apple.dock autohide") == "1"
  }

  meet {
    shell("defaults write com.apple.dock autohide -bool true")
    shell("killall -HUP Dock")
  }
end

dep "disable-dashboard" do
  met? {
    shell("defaults read com.apple.dashboard mcx-disabled") == "1"
  }
defaults write com.apple.dashboard mcx-disabled -boolean-neg

dep "all-osx-settings" do
  requires "auto-hide-dock"
end
{'fraction_non_alphanumeric': 0.1432865731462926, 'fraction_numerical': 0.012024048096192385, 'mean_word_length': 3.7799043062200957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1123594', 'n_tokens_mistral': 402, 'n_tokens_neox': 398, 'n_words': 86}