Posts Tagged: regex

Jenkins CI Trick to Prevent Task from Triggering Itself on SCM Commit

Posted by & filed under , .

I’ve come across this recently working on a project in Netflix and thought worth sharing. The project I was dealing with packages some JavaScript code which, before deployment, needed to be minified. We have set up our Jenkins task such that it polls Git for changes in the master branch and when the changes are […]

wc-minus-l

Posted by & filed under , , , .

Quite a while back, (and I mean quite a while back, that’s been enough water under the bridge so I can now tell the story 🙂 ) I used to work for this guy who quite frankly was way out of his depth in the position he was in. He was my (and others’) boss […]

PHP Utility to Convert Multi-line MySQL Strings

Posted by & filed under , , .

This is a very small “project” (I use quotes since the term “project” seems a bit generous here, however, it is treated as a project on GitHub!), which I found to be useful when dealing with generating MySQL scripts to insert or update text which spans over multiple lines. In most such cases, I would […]

Scripting

Groovy Scripting at the Power of Commons CLI

Posted by & filed under , , .

I’ve found myself more and more scripting stuff in Groovy — partly I’m guessing it’s cause of my Java background, partly because I’m probably not such a good bash/awk/perl/sed/etc script hacker 🙂 Nevertheless, make no mistakes, Groovy is an awesome scripting tool! (I’m not going to praise its benefits in terms of building applications — […]