Here’s a nasty little annoyance I get whenever I install/reinstall Eclipse on an Ubuntu box: The Ctrl+Alt+Down keybinding to copy a line down doesn’t work!
Luckily, it indeed works but is being blocked by part of the default Compiz configuration that ships with Ubuntu (and I believe has been being shipped since version 7.10).
If you install the CompizConfig Settings Manager (see above), the binding can be disabled in Desktop Wall -> Bindings -> ‘Move within wall' -> ‘Move Down'. Notice also that the ‘Move Up' option blocks Eclipse's default mapping for the copy line up command as well so it may behoove you to disable or change that setting too.
Using the dot prefix for folder names is pretty standard fare in the Unix/GNU world. The folder is hidden and forgotten, but perfectly accessible if you wish to do something with it. I demonstrate with the typical location of a Betaville cache folder:
Cool! I just deleted my cache folder. Now let’s try a similar feat from the Windows command line:
Uh-oh, The folder couldn’t be found. What gives? After too much guesswork, wrapping the path in quotes seemed to do the trick and I was able to get on with my day. Such is life in Windows.
If you saw my last post on MEL syntax highlighting then you may have guessed that I’ve been doing some MEL scripting lately. Here’s my first mini-gem, a batch exporter for a group of objects. To use it, simply run the script with a group selected.
Note: This currently requires the OpenCOLLADA exporter, I’ll work up a small post for changing the exporter to use in the near future.
I’ve been doing some new Maya work the last few days and have gotten the chance to do some MEL scripting. I figured it would be nice to share some of what I’m doing but soon realized that the SyntaxHighlighter plugin for WordPress probably didn’t have a brush built-in for MEL. Since I couldn’t find one online, I took the liberty of creating my own Its still simplistic, just supporting commands and not flags, but I’m planning on writing something that will script the Autodesk documentation pages and strip out all of the flag names.
Update: March 1, 2011 – Added flags (or at least most of them, the parser I wrote for the Autodesk docs is acting a bit strange) support in version 1.0.3. Since there are a number of commands that share the same names as flags I’ve decided to make their colors the same so as not to be distracting.
Without further ado, the MEL brush and a quick example:
Today I needed a simple way to store current ISO 3166 country codes (to be specific, this would actually be ISO 3166-2) in a Java class so I threw this together quickly. I hope it saves someone some typing! Note that there are special characters included.