I had this issue today where both fans in my rMBP spun up to full speed and would not stop. I checked the processes in activity monitor and CPU usage was very low so that wasn’t it. I live in Ireland so ambient temperature wasn’t the culprit either!
The problem persisted through a restart, which was worrying but a manual sleep and resume fixed it. To do this click the apple button, choose sleep, wait for it to turn off and then press a key to wake it up.
I usually only blog about technical things but here’s one that is personal. I quit smoking in late 2012 and I have been using nicotine gum to help keep the cravings at bay. I thought that paying ~€33.36 for a pack of 105 gums was decent value until I saw what they cost online…
All Android devices offer the user some form of external storage. The storage may be a separate partition of flash memory in the device or bone-fide external storage like an SD-memory card. As developers we need to be aware of the pros and cons of using this type of storage.
This guide will explain how to share the Android SDK between multiple users on an OS X system. Most of the concepts will be similar on other Unix or Linux systems.
I dont think this would work for multiple concurrent users updating the SDK. This blog post is more about the journey of making the SDK more suitable for multiple users rather than an endorsement of the methods below.
By default OS X assigns special actions to F keys like
- F1, F2: Brightness
- F3, F4: Dock, Expose
- And so on…
These are great when you’re browsing and consuming media but when you start working in IDEs and other applications with complex keyboard shortcuts I want the F keys to behave like standard F keys.
This behaviour can be changed easily under ‘Keyboard‘ in ‘System Preferences‘, but changing this frequently is annoying and time consuming.
I found an app called Paula that could do this but it wasn’t free and I thought that this would be something that would be easy to automate. I spent a few minutes looking at AppleScript and pushed it to GitHub which is simple but does the trick for me. Maybe it’ll be good enough for you too.
Disclaimer: I only tested this on OS X 10.8.3 but it should be easy to adapt the script to work with other versions too.
OS X has had a very useful utility, since 2003, that allows you to easily generate a path to a JDK. The simplest usage of the tool will return the default JDK, which in my case is update 17 of JDK 1.7.
➜ ~ /usr/libexec/java_home
I had been experiencing this problem recently where I would no longer get search suggestions in Chrome’s omnibar. The type of completion that was not working was the one where you might type ‘great’ and be offered ‘great wall of China’, and not a suggestion from your bookmarks or history. Note that this solution is based on using Google as your search engine although others may work similarly.