Functions
WebDev/*nix assorted functions & hacks
Search
find all
Array
-
Bash
-
Classes
-
Config
-
DateTime
-
Debug
-
dotjs
-
File
-
foooo
-
Git
-
HTML
-
Images
-
Javascript
-
Linux
-
Math
-
Misc
-
MySQL
-
OS X
-
Reading
-
Redis
-
Shell scripts
-
snippets
-
SQL
-
Strings
-
TextMate
-
Web
-
\(^o^)/ Fun!
-
_Misc hacks
-
_Pages
OS X
defaults write & shell
Get & set the keyrepeat value
iTunes crontab alarmclock
screencapture
Screensaver as Desktop background
5
found
auth
Name:
Category: OS X
Body:
# remove iTunes links to the iTunes Store defaults write com.apple.iTunes show-store-arrow-links -bool FALSE # re-enable repeating keys (FFS, Apple!) defaults write -g ApplePressAndHoldEnabled -bool false # TextWrangler: comply with soft_wrap preference EVEN ON LARGE DOCUMENTS wtfbbq defaults write com.barebones.textwrangler Editor_SoftWrapLengthThreshold -int 0 # FYI: setting softwrap to a number of columns is obviously LOTS faster than to "window width". # Also, that -int value at the end is filesize threshold in bytes; defaults to whatever 1MB is again, 0 means unlimited # Notes, add default font sudo nano /Applications/Notes.app/Contents/Resources/en.lproj/DefaultFonts.plist # open an application from the commandline open -a ApplicationName # disable spellingcheck # The first one is most bruteforce, use Activity Monitor to quit the AppleSpell service process. It'll start again, but .. not work! Surprise surprise. $ sudo mv /System/Library/Services/AppleSpell.service/Contents/Resources /System/Library/Services/AppleSpell.service/Contents/Resources.disabled # rename it back to make it work again, obv. # this worked on OS X 10.8 $ defaults write -g NSAllowContinuousSpellChecking -bool false # this did not, at least not for Stickies. $ defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool NO
Footer