Why Ruby?
I’ve come to the realisation that unix shell scripts though workable are not really the way to go with driving the MovingImages LaunchAgent and I needed an alternative scripting environment. It very...
View ArticleDiscovering ruby
Now that I’ve made the decision to go down the ruby path. A new language to learn, and how do I get it to work in the way I need it to. I’ll be calling ruby scripts from the command line so I’ll need...
View ArticleRuby: Hashes containing hashes
I’ve recently noticed when using Ruby Hashes that whether they store values by reference or make a copy depends on whether the hash contains another hash. For example: contextWidth = 256 contextHeight...
View ArticleA few ruby notes
Mostly for my own benefit, but my use of ruby is intermittent enough that the fundamentals aren’t remembered as well as they should be. Global variables are preceded with a dollar sign. “$”. Class...
View ArticleMovingImages CoreImage Transition Filter Example
I’ve written a number of ruby scripts that use MovingImages. One of the recent ones takes advantage of the CoreImage filter functionality that I’ve recently hooked into Moving Images. You’ll get to see...
View ArticleUseful Ruby links
Understanding Ruby Blocks, Procs and Lambdas Community Ruby Style Guide A Ruby static code analyzer, based on the community Ruby style guide. Ruby named parameters with defaults plus Keyword arguments...
View ArticleSmall things I like about ruby
The interactive ruby shell (irb) is really great tool to get comfortable with trying out features of ruby. There are a couple of things that really help to make irb interactive. These come from ruby’s...
View ArticleAccessing CoreImage transition filters from the command line
As part of MovingImages I wrote a number of command line tools that can take advantage of MovingImages. The command line tools are written in ruby and most of them come with the MovingImages ruby gem...
View ArticleScale and watermark script from TextWrangler
If you haven’t done so already please download and install Movingimages. There are two versions of the Scale and Watermark script. One that you can run from the command line, and one you can run from...
View Article
More Pages to Explore .....