How do I duplicate the permissions of one file to another file from Mac OS shell?

February 18, 2013 in Mac Tips, Recipes, Shell

Like this: chmod `stat -f %A srcFile` dstFile The same command can be used also on folders. Note that the option –reference discussed here will not work on Mac OS.
…read more

How do I solve the “unrecognized project; missing plug-in?” error in NetBeans?

October 24, 2012 in Glassfish, Mac Tips, NetBeans, PrimeFaces, Recipes, Windows Tips

A NetBeans project is basically a standard folder with a nbproject folder inside it. When opening a project using the Open Project dialog window, NetBeans should be able to automatically
…read more

How can I add Facebook sharing in Safari 6?

August 9, 2012 in Browsers, Mac Tips, Recipes, Safari, Software

Share with Facebook is a small extension that adds Facebook Sharing in Safari 6. Once installed, it will display a button with the Facebook logo in the browser toolbar. Tip:
…read more

Google Chrome is displaying a blank page icon in the address bar when I visit a webpage. What happened?

August 5, 2012 in Browsers, Chrome, Mac Tips, Recipes, Windows Tips

Starting from version 21.0.1180.57, Chrome is displaying a blank page icon in the address bar that looks like this: This is NOT a bug, but just a new feature introduced
…read more

How do I disable Google Chrome’s custom print preview screen?

July 9, 2012 in Browsers, Chrome, Mac Tips, Recipes, Software, Windows Tips

This post collects methods to remove Google Chrome’s custom print preview screen, which is usually displayed when the user tries to print a web page or a pdf document using
…read more

How can I access the user’s Library folder on Mac OS X?

May 20, 2012 in Mac Tips, Recipes, Shell

The user’s Library folder is a hidden folder in the home directory. To access it, follow one of these three methods: 1) Open a Finder window, and press Command +
…read more

Google Chrome is not showing any favicons in the bookmark bar anymore. How can I fix this?

May 10, 2012 in Browsers, Mac Tips, Recipes, Software, Windows Tips

In certain situations, Google Chrome may cease to show the favicons of your bookmarks. The favicon will be replaced by a white globe icon, and clicking on the bookmark will
…read more

Where do I find older versions of Xcode?

April 24, 2012 in Coding, Mac Tips, Recipes, Software, Xcode

In some cases, you may want to use an older version of Xcode (e.g. Intel Compiler, as of today, does not support the latest version of the IDE). An archive
…read more

How do I clean unused stuff installed by MacPorts?

January 30, 2012 in Mac Tips, Recipes

Read Jan’s blog entry. sudo port -f clean –all all sudo port -f uninstall inactive

How can I move one word left or right in the mac OS terminal?

August 4, 2011 in Mac Tips, Recipes, Shell

You need to set up a couple of key bindings. Go to Preferences->Settings->Keyboard pane in your terminal application. Add the following key bindings: option + cursor left to ESC+b option
…read more