18,918 reputation
22874
bio website
location
age
visits member for 3 years, 9 months
seen Nov 19 at 9:40

Nov
7
comment Preview.app always crashes
You could also try to delete ~/Library/Containers/com.apple.Preview/.
Oct
8
comment Rsync unhides files when syncing
It works for me at least back to 10.7. If you're using the standard non-OS X version of rsync (like the one installed by brew install rsync), use -X instead of -E.
Oct
7
comment OS X scan folder for new html files
-ctime is inode change time. -Btime would be creation time.
May
30
comment Increase the maximum number of open file descriptors in Snow Leopard?
Running echo limit maxfiles 10000 10000|sudo tee -a /etc/launchd.conf and restarting works for me in Mavericks.
May
30
comment Why does iterm2 toggle font rendering with every other boot
The second screenshot looks like LCD font smoothing (subpixel rendering) is turned off. You could try to quit iTerm and run defaults write com.googlecode.iterm2 AppleFontSmoothing -int 2 in Terminal, but it won't probably help.
May
30
comment Randomly shuffle rows in a large text file
@ddmichael Run brew install coreutils and use /usr/local/bin/gshuf.
Apr
17
comment Shift+9 not working
You could also look at what EventViewer (/Applications/KeyRemap4MacBook.app/Contents/Applications/EventViewer.app) shows when you press shift-9.
Mar
24
comment Request help/advice with my automator/applescript service
The script just terminates Automator Launcher in a really noob way. You could replace it with just killall Automator\ Launcher.
Mar
18
comment OS X Automator Shell Script for custom search with special character not encoded with utf-8
No, tr -d \\n is meant to remove linefeeds from the output of xxd -p (which prints 60 characters per line). You can use printf %s "$(cat)" to remove a linefeed from the end of the input. Or replace echo with printf %s.
Mar
11
comment How can I partially clear my terminal scrollback?
This question was one of the top Google results for iterm clear scrollback.
Feb
4
comment Mac OSX Text to Speech Batch
You're right, I got the same error. I edited the answer.
Jan
26
comment How to make a custom keyboard layout in MacOS?
You can also add an icon for an XML keylayout file by for example saving the icns file as /Library/Keyboard Layouts/My Keyboard Layout.icns.
Jan
21
comment Missing passwords from Chrome using Mountain Lion
Does codesign -vv /Applications/Google\ Chrome.app/ print something like valid on disk or are there some errors? If there are errors, try to download a new copy of Chrome.
Jan
18
comment Open iTerm2 with ctrl+ctrl?
I think it's easier to just use command-H, but I edited the answer.
Dec
19
comment Passing paths with spaces as arguments in OS X
You can use "$keyLocation" instead of $"$keyLocation". $"" is used for strings that undergo translation depending on the locale. See gnu.org/software/bash/manual/bash.html#Locale-Translation.
Dec
13
comment Terminal Problems OS X 10.8.5
What is your PS1 set to? Are the non-printing characters surrounded by \[ and \]? Can you edit the answer to include other relevant parts of configuration files like ~/.bash_profile or ~/.inputrc?
Dec
10
comment How to get notifications of SSH file transfers?
OS X's ps doesn't have --no-headers, but you can use ps -p 15115 -o user=.
Dec
7
comment Turn off snippets in mavericks
Many applications like Safari and TextEdit have that option in the menu bar. For example Chrome doesn't have that option, but it also doesn't support text replacement.
Dec
5
comment Custom keyboard layout in sandboxed app?
Try moving the keyboard layout to /Library/Keyboard Layouts/ and restarting. Keyboard layouts in the user library can't be selected in password dialogs or on the login window.
Dec
2
comment Arbitrary Key Remapping on a Mac
@studgeek Thanks, I fixed it.