Where can I find a convenient list of the bash shell keybindings?

July 19, 2012 in Recipes, Shell

Here (http://weblog.topopardo.com/others/bash_cheat_sheet.pdf). Thanks Carlos (http://carlosfenollosa.com/index.en.php)!

How do I Initialize a Struct Array in Matlab/Octave?

July 9, 2012 in Matlab, Octave

Suppose that you want to create a 2D array whose entries are the structures: The easiest (in my opinion) way to to this is using the syntax: This will initialize
…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 do I generate an array from the field of a struct array in Matlab/Octave?

June 3, 2012 in Matlab, Octave, Recipes

Let’s first present the situation. Consider the following code snippet: This code will generate a 100×100 struct array containing the fields uniform and gaussian. Now imagine that you want to
…read more

How do I get a fully qualified path in Matlab/Octave?

May 29, 2012 in Matlab, Octave, Recipes, Shell

You can use this one line function (tested only on Unix like systems): For example, suppose that the current directory is /Users/zuliani/Documents/Temp. Then: octave:1> fullpath(‘.’) ans = /Users/zuliani/Documents/Temp octave:2> fullpath(‘../../Documents/’)
…read more

How can I program the Lego NXT block in C/C++?

May 29, 2012 in LEGO, NXT Brick, Tutorials

Introduction There are quite a few alternatives that one can choose to write C/C++ code to control the NXT brick (see for example the table in this wiki entry, or
…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 solve the LEGO NXT clicking brick syndrome?

March 4, 2012 in Hardware, LEGO, NXT Brick, Recipes

In a nutshell, just read this excellent post by Brian Davis. However, since one important piece of information might be hard to find inside the email thread that follows Brian’s
…read more