Eclipse sandboxed by Mac OS X Gatekeeper.
After I recently reinstalled my MacBook Air with Mac OS X Mavericks, I encountered for the first time Gatekeeper – the sandbox, that won’t allow to run applications from unverified sources to improve Mac OS X security. However that also excludes the commonly used IDE Eclipse.
Problem: Eclipse (or other application) won’t launch in Mac OS X Mavericks.
Solution: delete extended quarantine attribute – which probably Safari or Finder added after the download. Enter the following command in the Terminal to allow Eclipse to launch.
$ xattr -d com.apple.quarantine eclipse.app
This way you can leave the sandbox in place and only add exceptions for applications, that you cannot live without. For further information on and graphical configuration options of Gatekeeper check out this Ars Technica article.
PostgreSQL maintains its own package repositories for binary packages for the most common Linux distributions and operating systems, which allows you to stay up to date through your familiar package manager. If you are running Debian 6 (Squeeze), you may be using the default PostgreSQL 8.4 and if you are running Debian 7 (Wheezy) it ships with PostgreSQL 9.1. Every major version of PostgreSQL comes with significant performance improvements and feature upgrades.
To update your Debian machine to the latest PostgreSQL version all you need to do is to create an additional apt-get source list
/etc/apt/sources.list.d/pgdg.list and insert the following line for Debian 6:
deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main
or the following line for Debian 7:
deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main
Furthermore you will have to import the PostgreSQL repository signing key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
apt-key add -
After updating your package repositories, and upgrading
apt-get update ; apt-get upgrade
PostgreSQL should be upgraded and you should have two database server versions running. In my case 8.4 with all the previous data and 9.2 with no data.
To migrate the database content from the old version to the new database system (8.4 and 9.2 on my machine) you switch to the postgres user and erase the database that was created during installation of the new database system. Afterwards a pg_upgrade command will dump the data of the old server and import it into the new server.
pg_dropcluster --stop 9.2 main
pg_upgradecluster 8.4 main
Finally you can uninstall your old version of PostgreSQL.
Eric Butler published an easy to use Firefox extension which captures session cookies from broadcast media such as public wifi networks. It allows anyone, to collect Facebook, Twitter, Flickr, etc session cookies and do anything with these accounts with just a click.
This is scarily easy!
I hope social network providers start implementing end-to-end encryption via https soon. Until then, be careful from where you access your social networks. On the other hand easy identity stealing brings social networking to a new level. 😉
Recently my SonyEricsson cellphone broke and I wanted to replace it by my Bluetooth enabled Motorola C390. Apple’s iSync is really great to keep your address book and calendar in sync with your cellphone. Unfortunately the C390 is not supported by default. Your Mac can pair with the phone and use it for data connections but iSync does not support it, see .
There seem to be some commercial solutions which may help, though I didn’t test one of them, just search the web for iSync and C390 and you will find them.
Luckily I also found this guy’s Howto in a forum about adding Motorola C390 support to iSync for free just by modifying a xml file . However, since I am running Mac OS X 10.4.9, I recognized slight changes in the xml tag names. That’s why I noted the instructions below.
Enabling Motorola C390 for iSync
- Right click on the iSync Application
- Show Package Contents
- Goto Contents/Plugins/ApplePhoneConduit.syncdevice/Contents/ Plugins/PhoneModelsSync.phoneplugin/Contents/ Resources
- Backup and modify the MetaClasses.plist file to make it look like below in the beginning
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<string>"Motorola CE, Copyright 2000"+C390</string>
- You will need a tiff file, with the name you entered under ModelIcon, but you can just copy it from another one in the same folder as the MetaClasses.plist file
- Start iSync
- Select Devices->Add Device from the menu
- et voilà, your Motorola C390 should show up as a supported phone
I synced my address book and calendar successfully with it, so I don’t know, why the phone is not supported by default. Anyways, use at your own risk.
I have this 2005 12″ PowerBook G4 with Mac OS X Tiger 10.4.9 and was jealous of the new MacBooks’ Remote Controls. One day I found a movie on youtube about someone controlling Front Row with a Wiimote. I just didn’t find all the links in one place. Maybe this is of help for you. It should work on other Bluetooth enabled Macintosh computers as well.
1. Get Front Row to work on a Mac without Remote Control
2. Install DarwiinRemote
- Get DarwiinRemote
- The key mapping matches the one of Front Row by default, though, you might want to change the Wiimote’s + and – buttons to change volume control as well
Works like a charme.
You can also use the Wiimote with DarwiinRemote to go through your PowerPoint Presentations 🙂
Recently it happened to me, that I removed a nVidia 3D accelerated graphics card from my computer which was supported by nVidia’s driver and I wanted to switch back to the integrated graphics chipset which is supported by X.org. However the nVidia driver, which usually comes as a package like NVIDIA-Linux-x86-x.x-xxxx-pkg1.run, has overwritten some libraries and header files so that just changing the driver name in /etc/X11/xorg.conf worked for 2D modes, though OpenGL did not work because some of the X servers lbraries and header files were replaced. Furthermore there was no uninstallation procedure included in the driver package which I had (Version 1.0-7676).
Luckiliy the nVidia installer left a log of the files which were added or replaced in /var/lib/nvidia/log. You may want to delete the mentioned files manually and reinstall the x.org and mesa packages of your distribution to make sure the OpenGL libraries and headers are restored.
Afterwards the X server should work fine again – 3D including.
When I tried to compile Xerces-C++ Version 2.6.0 from source on Mac OS X Tiger 10.4.2 with gcc-4.0.0 the compiler complained:
MacOSUnicodeConverter.cpp:78: error: 'static' may not be used when defining
(as opposed to declaring) a static data member
MacOSUnicodeConverter.cpp:84: error: 'static' may not be used when defining
(as opposed to declaring) a static data member
make: *** [MacOSUnicodeConverter.o] Error 1
make: *** [transcoders] Error 2
make: *** [Util] Error 2
The solution is easy, just delete the word static in the source code manually and build again or use this patch:
Download the Xerces-C++ source distribution from .
The sources contained in my case version 2.6.0.
Extract sources and apply patch:
tar xzf xerces-c-current.tar.gz
patch -p1 <../xerces-c-src_2_6_0-tiger.diff
Please make sure that the paths are adjusted to your system. Follow the official build instructions Building Xerces-C++ from the Mac OS X command line at  afterwards.