OS X

t

related to the Mac OS X operating system

Creating a bootable USB Stick on Mac OS X from an ISO Image

Blog categories: 

This is actually just a copy of an article from ubuntu.com, but they tend to move things around and I like to have short search times. Apart from that, this works for FreeBSD and even for Windows (tested with Windows 7) as well. Sorry for this this blatant plagiarism, but it might be also to your advantage ;)

One more note: If you want to create a bootable USB stick to be used on a Mac/OS X, do not forget to format the stick with Disk Utility to HFS+ with a GUID partition table.

Brew install R fails - Updated right away

Blog categories: 

I just cleaned up my home brew cellar and had problems reinstalling R. I got the old well-known error message:

brew install r
==> Downloading http://cran.r-project.org/src/base/R-2/R-2.15.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/r-2.15.1.tar.gz
Error: This formula requires a fortran compiler,...

Reinstalling gfortran (which was actually installed already) did not help and so I decided to trick home brew until the problem is fixed, with the following:

Reusing Persistent SSH Connections for Performance Reasons

Blog categories: 

Some weeks ago I had to run a simulation for my research which has been very elaborate and involved externally invoked scripts on remote machines (so-called Wuchtbrummen). These external calls were dispatched by a central main script, that was running on my local PC. To avoid a complete SSH session setup and teardown every time a new call should be invoked on a Wuchtbrumme, I wanted to have a persistent SSH connection, where all subsequent commands can be tunneled through.

Eclipse with PyDev under OS X Lion

Blog categories: 

Yesterday I wanted to start using the Eclipse extension PyDev, because I was tired of using the pdb module. Even more sophisticated debugging modules like pudb did not satisfy my need for intuitive and comfortable python debugging. Even though I heard of the PyDev extension quite a while ago, I never gave it a try, as I was reluctant using the Eclipse Framework for Python.

rm2trash for OS X update

I recently updated the shell add-on for OS X, that overloads rm to not remove the items, but move them into trash instead. Before the update, a for loop moved every single item given in the command line into trash using one osascript (Apple Script) call per item. This caused a blocking shell with one ‘flupp’ sound effect for each moved item, which can be quite tedious, when removing many items, even if they are small. Now, after the update, a item list is created and filled with all given items to remove and in the end passed to one osascript call.

Pages

B