Screencast: LaunchBar, BibDesk and Google Scholar

Posted by matt
on Tuesday, February 03

I spend quite a bit of time looking for references on Google Scholar, and decided to see what I could do with LaunchBar 5 to make my life easier. Here’s a quick screencast to show what I’ve got going on:


LaunchBar, BibDesk and Google Scholar from Matt Foster on Vimeo.

If you view this video on vimeo you can see it in HD goodness.

Refactoring Commands in the MATLAB Bundle

Posted by matt
on Saturday, November 22

Sometimes, after seeing a few things, concepts collide (like icebergs, perhaps), and I come up with ideas I think are cool. Here’s one of those:


Refactoring with the MATLAB bundle from Matt Foster on Vimeo.

For those of you who prefer some code, say you have a big long ugly line of code. You know it’s bad, but it works and you don’t want to break it. Here’s an example, very, very loosely based on some Matlab code I saw at work:

The obvious thing to do, is pull out that evil range -pi:0.1:pi. With the new ‘Introduce variable’ command (bound to ⌃⇧C, by default), you can do this be selecting any on of them, and running the command.

You’ll see a dialogue box asking you for a name for you new variable, and after you press OK, you’ll see the following:

Much better. You can also repeat the process to further simplify the line, and the command will insert the new variable before the first instance it finds. Cool hey?!

This command is also general enough that is should work for most languages that use assignments based on =. For more info on this concept, see refactoring.com, which I shall also be scouring for more ideas.

Screencast: IPython Bundle Demo

Posted by matt
on Wednesday, November 19

I’m very pleased to announce that the IPython TextMate bundle is in a state where it can actually be used – you can probably consider it to be a pre-beta.

To celebrate this, I’ve made a simple screencast demoing some of the basic features.


IPython TextMate Bundle Demo from Matt Foster on Vimeo.

This screencast can also be downloaded, and I hope to give a quick overview of some of the more advanced features in a follow-up.

The main features of the bundle are:

  • Communication with IPython via the extension ipy_vimserver. This means the bundle should work right out of the box: just run import ipy_vimserver; ipy_vimserver.setup('session'), and you can connect.
    • running the current file in IPython
    • running the current line / selection in IPython
    • running the current file / selection / line in IPython with the profiler enabled
    • growl notification of salient points
    • rudimentary syntax highlighting of ipythonrc files, including warnings about broken comments
    • commands for editing the ipythonrc file and .ipython directory
    • built in help
    • access from a single key binding.

The bundle can be downloaded from GitHub or installed via GetBundles. For installation help, see the README.

We’d love to hear your feedback, so please send comments, suggestions and feedback to either the ipython-dev list (please prefix the subject with [TextMate]), or the [ipython-tmbundle google group](http://groups.google.com/group/ipython-tmbundle/ “ipython-tmbundle | Google Groups”) (just reply to this email).

Thanks!

Screencast: Using the Gnuplot TextMate Bundle

Posted by matt
on Sunday, November 09

I had so much fun making my previous screencast, on installing the Gnuplot TextMate bundle, that I decided to make another one. This one is about using the bundle. It includes info on snippets and commands, as well as the TM_GNUPLOT variable I introduced. Setting this variable allows you to choose the gnuplot executable.

View it below, on Vimeo directly, or download it.


Using the Gnuplot TextMate Bundle from Matt Foster on Vimeo.

Please leave comments as feedback!

Screencast: Gnuplot TextMate Bundle

Posted by matt
on Friday, November 07

I proudly present: my first foray into screencasting!

After months of umming and ahhing I finally decided to get a copy of screenflow (partially for Christmas, and with a nice educational discount!).

To ease myself into it, I decided to start with something simple, so I ended up with how to download and install my Gnuplot bundle for TextMate.


Installing Gnuplot TextMate Bundle from Matt Foster on Vimeo.

Please leave your comments below, and I’ll try to address them.

Update: as Dunc points out below, you’ll need to enable the unstable repositories in fink. You can do this by running fink configure, and telling it to enable unstable access.