How to disable a CPU core in Windows
Thanks to my co-worker, I read this really useful article on how to disable a CPU core on Windows without having to use the BIOS: http://solidlystated.com/software/how-to-disable-a-cpu-core/
Thanks to my co-worker, I read this really useful article on how to disable a CPU core on Windows without having to use the BIOS: http://solidlystated.com/software/how-to-disable-a-cpu-core/
I found this cool tip on how to see the alt text on images that you would normally see when you hover the mouse cursor over an image… which as we know, there is no mouse on an iPad: hints.macworld.com
Here is a shell script that finds an application on my hard drive using a nifty call to Finder using AppleScript: #!/bin/sh result=`exec osascript
I have Word 2011 installed on my Mac. Joy. Anyway, I have 2 monitors on my MacPro. I create a new Window ( Window->New Window ) to view my Table of Contents on the secondary monitor. When I switch to another app, like Google Chrome, then click on that new window in the secondary monitor, … Read more
Thanks to Raymon Chen for posting this link on his blog: Star Wars Theme Song
I had to do some fancy debugging of a C++ dylib and while I was searching around the internet, I came accross this article from Apple: C++ features in MacOS X. I also found two cool articles that describe well how the dlopen application works and what happens to your symbols when an application bundle … Read more
Xcode 4 has a lot of cool new features. One of my favorites is it’s ability to tell you when you introduced a bug in your code; the feature is similar to a spell check found in a word processor. Usually, these cool tools are only available for Objective-C, but because of LLVM, this feature … Read more
Last year, I had the great privilege of attending “Effective Concurrency” by Herb Sutter; I say great because it was an eye opener for me. Now, you all know that I’m a Mac developer, so, seeing that I was the only guy in the room with a MacBookPro, I got a humorous look from Herb. … Read more
Thanks to my coworker for showing me this: pbpaste | c++filt | mate I use this to take a really long text output from GDB and de-mangle the code into something I can read. I copy the output in the GDB console to the clipboard and the command takes those contents and pastes the results … Read more
I found some pages on the web on how to run an AppleScript from the terminal, but this seems to be the only one that works in my situation: echo ‘tell application “Google Chrome” to quit’ | /usr/bin/osascript In my case, my keyboard stopped working so I wanted to safely shut down the programs via … Read more