Let Postfix 'listen' on 465 and 587

...

March 26, 2013 · 1 min

iTunes Match Endless Loop

...

March 9, 2013 · 1 min

Source Code Management Matrix - A CVS, Subversion, and Git Reference Table

...

December 14, 2012 · 1 min

Calling Matlab Scripts from the Command Line

As I need to call Matlab scripts from the command, e.g., for running Matlab scripts in a batch, every once in a while, I post a little reminder for my self here. Keep in mind that the called Matlab command needs to have an exit at the end, otherwise Matlab will keep running, waiting for input. In this example I am calling myscript and forward bash options $1 and $2 to it. Furthermore I am suppressing the GUI (-nodisplay), the Java Virtual Machine (-nojvm), the splash screen (-nosplash) and the Matlab Desktop (-nodesktop). Anyhow, the latte two options might be implied by suppressing the GUI already - but I’m not taking chances ;). ...

December 5, 2012 · 1 min

Shell Control & Escape Sequences for the Wilderness

...

December 5, 2012 · 1 min

Read and Write CSV Files with Matlab with Headers

This is a follow up post of a previous one just using Matlab instead of Python. In the following paragraphs, I will show my way of reading and writing CSV files using Matlab. If you happen to know a better or more elegant solution, please drop a comment! Reading CSV Files with Matlab The following Matlab function reads a CSV file with the header as a string vector and the data as numeric matrix. Note that non-numerical data returns NaN. ...

November 9, 2012 · 3 min

Push GIT branch to upstream

...

November 7, 2012 · 1 min

Read and Write CSV files with Python

Since CSV (comma-separated-values) files are supported by almost every statistics and/or math tool, I sticked to use the format for all my data collections. If you need further evidence, check out the (incomplete) list of natively CSV supporting applications: Gnu/R KNIME MS Excel LibreOffice Calc … Apart from those, a major benefit of CSV files is that you can edit them with any editor, as they are plain text files. Unfortunately, some applications have poor support for such files, e.g. Matlab and Python. Fortunately, as the file structure is so easy, you can add CSV support pretty easily. In the following I will show you my solution for Python. ...

November 7, 2012 · 2 min

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

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. ...

September 26, 2012 · 2 min

Git set upstream/tracking branch

...

September 26, 2012 · 1 min