Ding! Poppin' fresh binary in the oven!

Remember, nothin' says lovin' like bakin' in the oven.

Somewhere along the line, I figured out that 5551234567@vtext.com would send an SMS message to a Verizon cell phone at 555-123-4567 (which, obviously, is not my number).

Anyway, a month or two ago, when staring at a console window waiting for a compilation, I remembered this fact, and wrote a little script called sms that looked like this:
#!/bin/bash
echo $1 | mail 5551234567@vtext.com
I also wrote two other scripts named smsdone and smserror that would send the strings "done" and "error" (sms "done" and sms "error").

Then, when need to do a compilation, I string together whatever commands I need to run and form a boolean expression that will call either smsdone or smserror:
([[[cmd1] && cmd2] && ... ] && smsdone) || smserror
Then I walk to the kitchen, go on a walk, or swordfight on office chairs until I get a text message to come back.

Comments:
QA: "Dude, this feature is all full of bugs."
Developer says: "No it's not."
QA: "Look at all these errors."
Developer: "Uhh....Over there! Binaries!
 
I'm not smart enough for this post. :)
 
Post a Comment

Subscribe to Post Comments [Atom]





<< Home