MLB.TV and Flash Updater on Mac OS X 10.6.8

I started having a problem streaming baseball games from mlb.tv on my Mac Mini running Mac OS X 10.6.8. The player window would top at 33% and "whirlygig" indefinitely. After a quick (unsuccessful) search on mlb's tech support page, I checked my console log (Utilities/Console) to see if there was a problem. Bingo.

7/29/14 7:27:31 PM	com.apple.launchd[1]	(com.apple.flashupdater[592])
posix_spawn("/usr/libexec/flashupdater", ...): No such file or directory

ImageMagick

ImageMagick seems to be one of the most widely supported image manipulation packages available on linux-based web services. ImageMagick is primarily has an API for server-side web scripts, but I tend to use it from the command line when fixing borked images during the development stages of a web site. Because it is such a powerful application suite, I can never remember the basic syntax. Here are the most common uses I have on a day to day basis:

Get Image Properties

Spam Assassin Training

I've used the same email address since 1997. Until recently, I have never had a problem receiving excessive spam, thanks to SpamAssassin running on my mail server. I'm not sure why, but lately I noticed much more spam getting through the filter. After a little digging, I discovered a great tutorial on training SpamAssassin to recognize the spam you receive more effectively. You must create separate mail boxes to contain ONLY spam or ONLY ham. You can then train SpamAssassin with the appropriate commands. Here is a summary of Faisal's tutorial.

Random Student Generator

I recently needed a method for choosing a student at random from my classroom roster. To add an element of interest, I wanted the computer to speak the name out loud. I came up with a simple shell script I called "sayline" which will work on Mac OS X or Linux. Mac users, you would run this from the "Terminal" app. Linux users, you know what to do.

SSH login without Password

If you regularly ssh and scp between *nix-based machines (Mac OS X/Linux), this will save you the time and effort of entering your passord every time. Let's say you want to ssh from host "A" to host "B". Here's how you set it up.

First log into host A and generate a pair of authentication keys. Note that this step only has to be performed ONLY ONCE on the host you want to SSH from, and you can copy the public key to any number of remote hosts. Do not enter a passphrase at the prompt (leave blank).

CD/DVD Sharing on Mac OS X

In the Macintosh world, when you want to do something, it's supposed to "just work". Which is why I had trouble enabling CD/DVD sharing in the control panel until I found this hint at macosxhints.com. Simply enter the following terminal commands, and relaunch the Finder.

$ defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true
$ defaults write com.apple.NetworkBrowser ODSSupported -bool true

svn propset svn:externals

Every so often when I have to set an external reference to a remote repository, it takes me a number of tries to get the syntax right, and I often stumble over the ubiquitous "svn: warning: Error handling externals definition". Here is the proper procedure and syntax.

First change to the directory where you want to create the external reference. For example, I'm using an external module called "ion_auth", and I want to put it into the "ion_auth" subdirectory.

DO NOT create the ion_auth sub-directory prior to issuing the following command:

Gnome Login Crankiness

My Linux media server currently runs Ubuntu Version 9.1 (Karmic Koala). At one point I started experiencing a problem whereby I couldn't login at the Gnome screen. After typing my password, it displayed the Ubuntu splash screen, then after a few seconds, switched back to the login screen.

Since I could login as a different user, I realized the cause must be some corrupt gnome file under the user directory, but there are so many, I wasn't sure where to start. After googling around, I came across this simple solution which fixed everything.

MySQL 5 on Mac OS 10.4/PowerPC

Although my primary development machine is an Intel-based Mac, I still use my venerable PowerBook when working at home, on the road, and so on. I still run Mac OS 10.4 (Tiger) on it, but upgraded to Apache 2 and MySQL 5. The latest pre-built version of MySQL which supports this configuration is 5.0.67. I encountered a couple of problems after the upgrade process which deserve attention.

Upgrade Script

Automount Linux NFS Shares in Mac OS X

NFS is a legacy file sharing protocol which continues to have wide support in the Linux world. Depending on your needs, there may be better alternatives to using NFS network shares. However, if you're a Mac user in the context of a mixed network environment and your Linux administrator doesn't want to support Apple's File sharing Protocol, then this solution may be for you. Included are instructions on configuring NFS shares on the server side for Linux noobs like myself.

NFS Server

Subscribe to