• Uncategorized

    On the Road: Orange County

    I know, it’s close to LA so not very big on the travel thing.  But according to what part of OC you are in you still might want to just stay down here rather than brave traffic nightly.  But the thing that strikes me so much about OC is how different it is from LA.  There are definitely different parts of OC, each with its own little thing about it to set it apart.  Anaheim seems a lot like Atlanta.  It’s not as trashy as LA anywhere here, and there is obviously a lot of money.  I like that so many people here surf.  But there’s a reason people say…

  • Uncategorized

    Logout via ARD

    The following AppleScript (via osascript) can logout of a system running OS X: tell application "System Events" to log out alias maclogout="osascript -e 'tell application "System Events" to log out'"

  • Uncategorized

    Workgroup Manager on Linux

    We looked at using Webmin yesterday. But what about when you need a lightweight client for your lightweight directory service? Well, since you’ve got php and Apache running if you’re running Webmin, then you might as well look at using phpLDAPadmin. Webmin can manage users and groups in LDAP, but phpLDAPadmin has a number of tools very specifically designed for working with LDAP. And you can manage the Apache Directory Server, Fedora and Redhat’s Directory Server, Active Directory, OpenLDAP, Sun and even IBM’s Tivoli Directory Server. In other words, phpLDAPadmin should work with any LDAP compliant server.

  • Uncategorized

    Cyrus' Reconstruct

    If you need to rebuild a user’s mailbox in Mac OS X Server, you will need to use the reconstruct command to do so while authenticated as the cyrusimap user. To do so, we will use the sudo command followed by a -u (for user) and then the cyrusimap username. Next, we will supply the path to the reconstruct command and then use the -r and -f options (recursively and filesystem checks respectively): sudo -u cyrusimap /usr/bin/cyrus/bin/reconstruct -r -f user/cedge Occasionally, you will also want to use -x as a mailbox may not be in the list and therefore may need to have the metadata rebuilt (mostly common when importing…

  • Cooking,  Uncategorized

    Charles' Pork Chops

    Put one to two pounds of pork chops into a marinade that consists of 1 cup of oil, 2 cloves of garlic and a tablespoon of salt.  Marinade for 2 hours.  Put 1 can of Guinness into a baking dish.  Place your pork chops into the dish.  Bake at 350 for one hour (or until the internal temperature hits 160, whichever comes first).  Drain out the remaining Guinness and serve.

  • Uncategorized

    Regular Expression Engines

    A regular expression “engine” is a piece of software that can process regular expressions, trying to match the pattern to the given string. Usually, the engine is part of a larger application and you do not access the engine directly. Rather, the application will invoke it for you when needed, making sure the right regular expression is applied to the right file or data.

  • Uncategorized

    Screen vs. Tabbed Terminals

    Tabbed browsers changed the way I use the Internet (and the way most of you do too).  Option click to fire up a new tab, Command-Shift-> or < to switch between tabs, forking your threads with new windows, etc.  In Leopard, Apple provided the same type of interface to working within the terminal environment for Mac OS X.  But this was a concept that had already been around for awhile with Linux and there were also people who had decided that to exit their terminal environment just to switch to another terminal was for the birds and that they’d rather just use GNU Screen, which had been around for years…