You are here

Blogs

GD on Mac OS X/Apache 1.3/PHP 4

As my web applications for artists became more sophisticated, I realized the value in having the ability for the app to dynamically resize images, say, to create thumbnails when an image is uploaded. Under PHP, the obvious choice is the GD libraries. While GD was available on my production server, I had to install it on my Mac OS X development platform. I found the procedure which I've included below.

OS94EVR

Mac "Classic" on OS X

When OS X was introduced at the turn of the millenium, Apple provided a compatibility mode to allow software to run in "Classic" Mac OS. Even for the hard core OS X fans, there are still circumstances which require the use of OS 9 (or earlier, say, if you're a fan of "Crystal Quest".)

iPod Diagnostics

I love my iPod, and I'm glad that Apple has been so successful in this new venture. Just last week at MacWorld Expo, Steve Jobs announced this year's "insanely great" products, including the anticipated iPhone and AppleTV.

An inevitable side-effect of the iPod's success is that the small minority of users experiencing problems is much larger in number due to the overwhelming majority of market share Apple enjoys.

iPod Failures

Common iPod failures occur in the following subsystems:

  • Battery
  • Hard Drive
  • Screen
  • Scroll Wheel

Terminal Geek

Setting a User's Default Login Shell

When I became a Mac "switcher" in 1996, it took me a while to get accustomed to the GUI. My mind kept searching for the CLI "under the hood", so to speak. Gradually I came to understand the new paradigm, but now with OS X we've come full circle.

So, of couse, "Terminal" is one of my favorite apps. It's not ideal for everything, but better for some things. For example, I can often ssh to a machine on which the Finder is unresponsive, poke around, and usually fix it or at least reboot it cleanly.

Monkey's Audio

Monkey's Audio is a lossless audio compression algorithm. The codec uses the ".APE" file extension, so if you come across them, you'll know what to do.

I've found that xAct is the best GUI app for these files. But if you're looking for command-line tools, your best bet is at Sourceforge.

I had been using version 3.97 successfully until I received an "Error: 1002" while attempting to decompress an ape file. Googling turned up the following on the Monkey's Audio forum:

Internet Explorer Bugginess

I thought I was doing myself and everyone else a favor when I decided to migrate all the web sites I manage from table-based layout to CSS. In the end that might be the case, but the process was far from smooth. Part of the problem stems from the fact that HTML and CSS are moving targets, with new and sometimes conflicting standards (XHTML vs. HTML5) being proposed, adopted, and implmented to varying degrees by different browsers.

New Line/End-of-Line Characters

See Also ((StubbornMacEOL))

I run into this problem periodically with friends and clients having difficulty openning a text file. In some cases, an application will mysteriously crash or yield inexplicable results.

Most recently I encountered this issue running the ((md5sum)) utility. Last year, it was a client who was trying to read ASCII HPGL plot files on his Mac which were generated by a Windows application.

The ((crux of the biscuit ZappaApostrophe)) is the way in which operating systems encode the "End of Line" or "New Line".

Terminal Color

Sure, the green-on-green look a timeless classic. But sometimes, it's nice to have more than one color. This tutorial describes how to get colors in your terminal environment.

Terminal Type

The first requirement is that your terminal supports colors. I'm assuming that you're not running an ACTUAL vt100, but a software terminal application like Apple's built-in terminal, or perhaps iTerm (my personal favorite).

Simplify Spotlight Searches in Mac OS X 10.4

Regular readers of this blog will have discovered that I'm a late adopter. In the case of 10.4 (Tiger), I actually upgraded within the first few months of its release only to downgrade a week later due to problems I won't go into here.

Introduction to OpenSSL and Encryption on Mac OS X

The openssl utility offers an interface to a vast range of encryption on Mac OS X. This article will provide a brief introduction to the use of openssl for password generation and data encryption. As always, "man openssl" is your friend.

The Nitty Gritty

A basic knowledge of openssl is useful for two reasons. First, password files utilized by the Apache web server and often named .htpasswd implement a basic password hashing with salts. By using openssl, you can manually generate passwords and add them to an Apache password file.

Pages

Subscribe to RSS - blogs