Blog Archives

Transcoding Ringtones with ffmpeg

Recently, my daughter wanted a ringtone for her new favorite song, “Soulmate” by Mac Miller. Here is what I used after poking around with ffmpeg. -i – input file-ss – start time in seconds, can be other formats, i.e., 2:19-t

Tagged with:
Posted in ffmpeg

School Picture Racket

Every parent knows Lifetouch sets its prices at tolerable levels. Every year it’s the same form, exact pricing. We give in. My daughter’s school switched to a company that attempted to charge $110 for one digital image. Thanks for the

Posted in Uncategorized

Debugging Hell

I’ve dealt with a conundrum for the past 72 hours. My TouchID key had seemed to stopped working on my ’17 MacBook Pro. That meant a few difficult things: The only way of doing anything was waiting for the battery

Posted in Uncategorized

Getting Sublime’s Package Control Working

I’m trying out Sublime Text after using Atom forever and ever; even after being sunsetted years ago. The only issue was ST’s Package Control wasn’t working, which was one of Atom’s greatest features. It looks like this has plagued users

Posted in Uncategorized

Setting Version-Agnostic Environment Variables

A new job means a new development environment!  Our wiki had us setting environment variables for JAVA_HOME, etc. tied to specific versions. I poked around to see if there’s a way to do that version-agnostically.  Turns out there is! Especially

Tagged with: , ,
Posted in Mac, Scripting

Commands To Install MSMQ By OS Version

Windows XP & Server 2003 (R2) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more

Posted in Uncategorized

Using Reusable ZeroMQ C Helpers

Now it’s really easy to throw data around using the 0MQ helpers written up before! Subscribe This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file

Posted in C, Messaging, ZeroMQ

Reusable ZeroMQ C Helpers

My most recent project has involved a few common 0MQ patterns like request-reply, forwarding, and topic subscription. I was using each of these enough to move them out to a shared library that could be improved as I encountered bugs

Tagged with: , , ,
Posted in C, Messaging, ZeroMQ

Reactive Extensions, amazing

The Reactive Extensions library is amazing. It has turned what was sure to be a mess of crap code into a few lines that are easy to understand and very easy to test. I had a requirement that was very

Tagged with: ,
Posted in .Net

Order Checking in Rhino Mocks with AAA Syntax

Rhino Mocks recently switched to AAA syntax (Arrange, Act, Assert) from Record/Replay.  It’s fairly easy to make the switch.  I  did run into a problem checking the order of calls made on my mocked objects though.  It seemed my expected calls

Tagged with:
Posted in .Net, Unit Testing
Is this your new site? Log in to activate admin features and dismiss this message
Log In