Close and re-open tickets from tests: Fogbugz PHPUnit TicketListener

When working with unit testing in PHP, you might already be using my favorite PHP unit testing tool PHPUnit. If you are, perhaps you’ve heard of the TicketListener interface. No? Then read on. Raphael Stolt closes GitHub issues from his PHPUnit tests. Which is cool. He inspired me. I wrote some code. You can now …

Howto: Remove the 3 ring tone that plays to people calling your number

Removing the 3 ring tone that plays to people calling your number: Log in to Mitt Tre Click on the “Abbonnemang” tab Find the Settings tab, and click on the ad-like box that says “FriendTones” (or use this direct link to it) This will launch another web site, at which you can find the left-hand …

Vintage tools: ffmpeg

There is a Swiss army knife of video handling that’s called ffmpeg. A real workhorse. See examples of what it can do. Those are 19 real-world use-cases for this command-line tool. ffmpeg’s website says: FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It might sound smug, but it’s quite …

Web tools link dump from last night

Yesterday, at Forskningsavdelningen (geeking every Tuesday night!) we had a blazingly fast run-through of web tools. This link-dump will probably be amended. I had time to set up a Redis, and do a test run with Rediska – a PHP interface to Redis. It worked, and it’s in PHP. I was more impressed with the …

I’m Porticus! I’m Porticus!

I have yet to start using the popular package management system Homebrew (brew install postgres), so I was happy to find the simple, graphical Porticus package browser, written by a Richard Laing. Porticus is a Cocoa GUI for the MacPorts package manager A longer Linux Journal article has details. Oh, like journalism. I can’t find …

Using find

When not using ack, my favorite search tool, you can still exclude SVN folders. Here is an example of me looking for a file: $ find . -not \( -name .svn -prune \) -name ‘EosController*’ ./web/models/controllers/EosController.php ./web/models/controllers/EosControllerTest.php This mode of expression might be better for your scripting needs.

Workstyle: Add vendor tests before using new library code

Hello again. Here is a snag-resolving article about a maintenance problem. There should be a thick volume called “Web Maintenance Pearls”, which everyone should be forced to read. Here’s the situation: You want to throw out a dependency. It’s an older JavaScript library, and you have a replacement lined up. Some plugin for a popular …