Tag Archives: Mac OS X
Thank to a tip at MacWorld, I was able to find out what process was locking a file I wanted to delete. lsof | grep [whatever]
Thanks to foundationphp.com for this tutorial!
Here is a tool that allows you to do some cool things with the windows in Mac OS X: moom
On the Mac OS, if you need to know what files are open and by what application and on what disk, you can use the lsof command in Terminal. Pair that command with grep and you can isolate things like this: ?View Code BASHlsof | grep "Snow Leopard" This will show you what files are […]
Cool command line I can run from DTerm on the contents in my clipboard, outputted from Xcode: ?View Code BASHpbpaste | c++filt | mate This command will take my clipboard contents, which were originally created from Xcode, pass that to the c++filt command and then create a new file in TextMate with the resulting contents.
A co-worker of mine had trouble debugging his library in Xcode. For some strange reason, GDB would not stop at any of his breakpoints. He did the usual printf and NSLog to see if the code was even being called, and sure enough… it was. The only way he was able to fix it was […]
This is one of those things that has been really bugging me. I know it bugs other people but they have given up trying to figure out a solution. I have to hand it to the nikonians for showing me how to stop this problem on my computer. This trick may or may not work […]
I found this tip from osxhelp.com, where you can get a pop-up dictionary window in Mac OS X by clicking Command+Control+D while hovering the cursor over a word. I found though that this does’t work with every application, like in Google Chrome when I’m editing a blog entry, but almost every other application seems to […]
Recently I worked on a project that had a NIB and XIB in it and for some strange reason I was getting a EXC_BAD_ACCESS error message in GDB with NSPopAutoReleasepool being the culprit. The best part about the problem was that the only indicator I had for the call stack was was four question marks […]