Is there a python equivalent of the matlab command keyboard?

February 16, 2013 in Python, Recipes

Sort of. Wherever you want to stop the execution of your code to have access to the python prompt (and to the current local variables) just insert the lines: To
…read more

What is the recommended shebang line for Python?

November 30, 2012 in Coding, Python, Recipes, Shell

#!/usr/bin/env python

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 do I install the cocos2D templates for Xcode?

October 13, 2012 in cocos2D, iOS, Recipes, Xcode

cocos2D is an open source framework for creating 2D games on a variety of different platforms. The Mac OS X / iOS porting includes some useful templates for Xcode providing
…read more

How do I search a set of files and batch process them?

August 11, 2012 in Content Type, Python, Shell, Tutorials

Let’s consider the following scenario. You have a folder containing, amongst the others, a specific subset of files to which you want to apply a command and collect the output
…read more

How do I set up a USB communication with an NXT brick running nxtOSEK?

July 21, 2012 in LEGO, NXT Brick, Python, Tutorials

Introduction In this tutorial we will implement a simple application to study how to establish a communication between a Mac (running Snow Leopard, but everything should apply to newer versions
…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 set up Eclipse as a PHP development environment?

February 21, 2012 in Coding, Eclipse, PHP, Recipes

Follow these steps to set up Eclipse as a full-featured PHP development environment, complete with debugging features. If you don’t have Eclipse already installed, download it from this download page.
…read more

How do I enable the column selection mode in Eclipse on Mac OS?

June 21, 2011 in Eclipse, Mac Tips, Recipes

You can toggle rectangular text selection using option+command+A. This is great feature for a coder.

I cannot remove projects, folders or files inside a workspace in Xcode 4. What should I do?

February 8, 2011 in Coding, Mac Tips, Recipes, Xcode

In the Project Navigator pane, select your main project with a single left-click, then choose File > Save As Workspace. You will now be able to delete things inside the
…read more