OK, this is so old hat that it's almost silly. But I want to record this somewhere before I have to figure it out again. So here's how to resize an image quickly on a Mac: Install ImageMagick brew...
Resizing images on a MacI have been writing a little JS library to handle the usual repetitive tasks that are not in the core language, e.g., trim a string, map an array using a function. Of course this has all been done before...
RegExp in JavaScriptHere's a great description of closures in JavaScript. Very clearly explained.
JavaScript Closures
Dependency Injection
Some JS Learnings
I want to post this more for my own reference than anything else, but I’m pretty pleased with this little Ruby script. Background I have to submit a lengthy request to my operations team to open up...
Scripting my way out of a long afternoon of text editingI’ve been using Sublime Text as my main text editor for a couple of weeks. I still use Vim a lot, but I like the cross platform GUI that ST2 provides. I’ve also been using Markdown to write a lot of...
Markdown to HTML the Easy WayOK, so Ruby isn’t just a scripting language. It is a full fledged dynamically typed object-oriented language. But I’ll be darned if it just doens’t make some thing easier to get done that my trusty...
Having a scripting language in your back pocketIf I have to figure this out yet again for the nth time, I’ll get ticked off. So here is how to do a LIKE query in C# using an OracleParameter: using System;using System.Collections.Generic; using...
Parameterized Query with LIKE using Oracle.DataAccessI typically do something like this when I'm testing a WCF service (using NUnit here): namespace Tests { [TestFixture] class When_running_as_hosted_service { private ServiceHost...
Port blocking in Windows 7 makes for unhappy WCF testingThere are all kinds of discussions about how to correctly use single or double quoted strings in Ruby, especially where character escaping is concerned. I was faced with just such an issue today and...
Ruby strings on Windows. Backlashes again!Do this without compiling... Someone recently asked me about some questions to give someone during an interview. The fun part is having the interviewee do the problem on a white board without an IDE...
A little coding test
It only took me 3 hours to get Rails running on Ubuntu
I just finished setting up a new place on the web for the Independent Oracle User Group (IOUG) Oracle Spatial Special Interest Group (SIG). That’s a mouthful so luckily we abbreviate it to Spatial SIG...
Oracle Spatial SIG groupHere's an internal presentation I gave at one of our ‘DevCasts’ a few months back. I shared my successes and failures with the team in return for a great discussion on effective use of tooling, when...
Lessons learned on a project...time to 'fess up