0

Taking screen shots with Mac OSX

Posted by jason on Feb 25, 2010 in Mac

I seem to always forget these short cuts even though i use them frequently. With windows, it is simply “print screen” button to capture the desktop and alt-”print screen” to capture the active window.  This puts the image in the clip board.

The apple commands for capturing the screen aren’t as intuitive as the Windows version.

To capture the desktop, Command-Shift-3

To capture a portion of the screen, Command-Shift-4.

To capture a specific windows, Command-Shift-4 followed by space bar.

The Mac version will create PNG files on the desktop with these commands.  If you hold down the control key while pressing these combinations, it will put the image in the clipboard.

 
0

MacPorts mysql with GUI tools

Posted by jason on Feb 25, 2010 in MySQL

A friend had some problems installing MySql with MacPorts and asked me if I had problems installing it.  Our problems were totally unrelated but thinking back, I remembered I had problem with MySQL Query Browser.  I couldn’t get it to connect even though I could connect via the command line.  It turned out to just have the wrong path for the socket file.

Click the triangle next to the “More Options” label on the connection string an change the “Connect Using Socket” field to the path of your socket file.

To determine where your socket file is, type:

netstat -ln | grep mysql

Copyright © 2010 programming with passion All rights reserved. Theme by Laptop Geek.