Posted by Cameron Stokes
on August 16, 2008
howto,
mac os x /
No Comments
I constantly have to look these up so am putting these here as a reference for myself.
| Shortcut |
Copies… |
Where… |
| Command + Shift + 3 |
Entire Screen |
File |
| Command + Control + Shift + 3 |
Entire Screen |
Clipboard |
| Command + Shift + 4 |
Cropped Area |
File |
| Command + Control + Shift + 4 |
Cropped Area |
Clipboard |
| Command + Shift + 4 + Space Bar |
Window, Menu, Desktop Icon, or Menu Bar |
File |
| Command + Control + Shift + 4 + Space Bar |
Window, Menu, Desktop Icon, or Menu Bar |
Clipboard |
Tags: howto, mac os x
Posted by Cameron Stokes
on August 10, 2008
geek,
update /
No Comments
Disaster! I plugged my BlackBerry in the other day and the glue around the 3.5MM adapter didn’t hold and the plug pushed right through the hole in the dash. After another trip to Home Depot I picked up some Loctite Superglue which seems to be holding strong.

Loctite Superglue
Tags: geek, howto, mp3 player, update
Posted by Cameron Stokes
on August 02, 2008
geek /
No Comments
I’ve been using a cassette tape adapter in my truck for the past few years to hook up my MP3 player, initially an iPod but now my new BlackBerry 8120. I’ve always wanted to install an auxiliary input adapter, and today I’ve finally done it.
I ordered the TOY03-AUX adapter made by P.I.E. which I found was known to work with the JBL system in my 2004 Tundra. I ordered the adapter from MyRadioStore and a few cables from DeepSurplus and had all the pieces shipped in by yesterday.

Supplies.
The install took a couple hours as I disassembled the dash and spent a while trying to figure out the best place to install the 3.5MM adapter. After deciding on a spot I realized I didn’t have the right drill bit to drill the hole for the adapter to fit in and took a quick trip to Home Depot. Once back home I drilled the hole and glued the adapter in using my favorite Gorilla Glue.

Gorilla Glue doing its thing.
An hour later the adapter is inseparable (see update) from the dash, I hook up the P.I.E. adapter and all the cables and am listening to MGMT from my BlackBerry. I should have done this years ago.

The end product.
Tags: geek, howto, mp3 player
Posted by Cameron Stokes
on July 27, 2008
geek,
howto,
technical /
No Comments
I ran into a fairly ironic error message when using the SAP Memory Analyzer to do some memory analysis of one of our applications at work. The reason given for the error was “Java heap space”.

"Java heap space" error from SAP Memory Analyzer.
The heap dump I was trying to analyze was around 1 gigabyte so I took the error to mean that the process ran out of memory. I finally figured out how to change the memory settings for the Mac OS X package by finding how to do the same thing for Eclipse (I’m only 2 months in using OS X as my primary OS).
In any case, to increase the heap size available to the program you have to edit the MemoryAnalyzer.ini file in the ./MemoryAnalyzer/Contents/MacOS/ folder. You can do this through Finder by right-clicking on the MemoryAnalyzer package and clicking Show Package Contents.
Here’s what my MemoryAnalyzer.ini looked like after the change.
-showsplash
org.eclipse.platform
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms40m
-Xmx1024m
-XX:MaxPermSize=256m
-Dorg.eclipse.swt.internal.carbon.smallFonts
Changing the maximum heap setting value -Xmx to 1024m allowed me to open the heap dump without a problem.
Tags: geek, howto, java, mac os x