RSS

Category Archives: Mac

Enabling Flash logs on Mac

This is mostly a note to myself, but I thought I would share anyway. If you’re on Mac, and if you want the Flash logs, here’s what you need to do.

  1. Create a new mm.cfg file in /Library/Application Support/Macromedia/
  2. Add the following to the newly created mm.cfg file:

    ErrorReportingEnable=1
    TraceOutputFileEnable=1
  3. Find the log in /Users/username/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt

For more info on mm.cfg secreta, see this awesome post from Jean-Philippe Auclair

 
Leave a comment

Posted by on March 1, 2011 in Flash, Mac

 

JDK5 on Snow Leopard

Mac OS X Snow Leopard (10.6) comes with JDK6 but I needed JDK5 for some project. I thought it would be easy to find and install JDK5 on 10.6 but it wasn’t and I ended up spending much more time than I expected to search for JDK5. Here’s what you need to do:

1. Download JDK5 for Snow and Snow Leopard from here.
2. Unzip and copy to /System/Library/Frameworks/JavaVM.framework/Versions
3. Use “Java Preferences” app and move JDK5 to the top of the list.

 
Leave a comment

Posted by on July 20, 2010 in Java, Mac

 

Open Finder in current folder from terminal

Can’t believe that I didn’t know about this before but here is a great trick to open Finder in the current folder from terminal.

 
Leave a comment

Posted by on June 4, 2010 in Mac

 

LSColors on Mac

I find it very useful to see different colors for different kinds of files and folders when using the ls command in terminal. By default, there are no colors in Mac terminal:

Terminal without color


Fortunately, this can be changed easily. You need to add the following lines to your .profile file:

export CLICOLOR=1
export LSCOLORS=Gxfxcxdxbxegedabagacad

First line basically enables colors in the terminal, the second line determines what colors to use for what type of files/folders. There’s a nice little site that generates the LSCOLORS for you. After these changes, you have different colors for folders, executable files etc.

Terminal with color

 
2 Comments

Posted by on March 1, 2010 in Mac

 
 
%d bloggers like this: