blog:Cogley
100% Indispensible or 100% Optional?
ArticlesConsultingCyclingGadgetsHumorInterestingJapanLeisureManagementPassionsPeoplePhotographyProductivitySoftware
Got Mojibake in Mail.app? Here's a Cure.
Wed, Apr 14 2010 16:09
| mojibake, tip, 10.6.3, garbled japanese, terminal, mail.app, apple
| Permalink
If you use OS X Mail to send Japanese email, you may find that some recipients complain that your Japanese is "mojibake" or garbled. If you are getting this feedback you can set your default Character Set encoding in the terminal.
How to Set Mail.app's Default Charset
Here's how to change it. Shut down mail, then in Terminal:
$ defaults write com.apple.mail NSPreferredMailCharset "ISO-2022-JP"
That
Comments
Opening a Tab-Delimited "CSV" in Apple iWork Numbers
Tue, Mar 16 2010 15:12
| tab-delimited, productivity, CSV, TXT, TSV, tip, tips, software, Numbers, iWork, apple
| Permalink
I like Numbers, from Apple's competent and beautiful iWork suite, but there are still things where it is different from Microsoft Excel, and hence it feels somewhat unfamiliar at times. For example, although Excel has never been good at handling text files saved in UTF-8 format (a big deal for those of us who work in Asia), it does have a nice Wizard for importing CSV or TSV text files.
Some applications
Fixing an Unexpected Prompt Hostname in OS X
Tue, Feb 23 2010 15:07
| productivity, 10.6, hostname, software, automatic, prompt, apple
| Permalink
In Mac OS X, you may have noticed if you use the Terminal that OS X automatically picks up what it thinks your hostname should be and sets it. This is nice, but the problem with it is if any utility uses your hostname to set config files, you'll have a different config file every time.
How to fix a "Strange Hostname" in an OS X Prompt
If you are getting varied prompts that look like this...:
rcogley@em60-123-194-6
Comments (2)
Aperture 3 Upgrade Observations
Mon, Feb 15 2010 08:42
| photography, 3.0, apple, aperture
| Permalink
My upgrade to Apple's Aperture 3 came over the weekend so I upgraded and started letting it analyze faces using the iPhoto-inspired "Faces and Places" feature.
Here's a few observations from the upgrade process and just a little use of the Faces feature.
Aperture 3's icons are colorful, compared to its predecessor. I think they still look professional, but they are a little "friendlier" and more
Comments (2)
Set MBR Correctly to Backup Successfully with OS X Time Machine
Fri, Feb 12 2010 09:40
| 10.6, backup, software, Time Machine, osx, mbr, partition map, apple
| Permalink
If you use Time Machine on OS X, you need to ensure your target drive is formatted with the correct Master Boot Record type. Time Machine requires either "Apple Partition Map" (works with PowerPC or Intel but is best for PowerPC) or "GUID Partition Table" (works with Intel).
There are a couple of problems which lead to this requirement biting people on the you-know-where.
Pre-formatted drives
Fixing Aperture Vault Errors from Terminal
Sun, Jan 24 2010 15:23
| Vault, chown, chmod, posix, permissions, cli, apvault, terminal, Package, apple, aperture
| Permalink
Apple's pro photo management application Aperture 2 is long overdue for an upgrade, and I hope that we'll see Aperture version 3 before long. But while I'm itching for new features and functions, Aperture 2 covers the bases for me, in spades. Aperture has a nice feature called Vaults, which lets you automatically back up your photo library with all metadata to an external drive or drives. Except when
Handle Leading Zeros in iWork Numbers
Fri, Jan 15 2010 22:05
| productivity, Leading Zeros, Text Format, Numbers, iWork, apple
| Permalink
Apple's iWork '09 Numbers spreadsheet is a versatile app with a lot of power available if you open your mind and don't expect it to be Excel. It does not quite do everything Excel does, but it handles UTF-8 well (where Excel does not and has never), and I take advantage of that often. I also love the formatting options and the multiple-sheets-per-document paradigm, but that is a different post.
One
Comments (4)
Corrupt Apple Leopard Server Open Directory Services
Thu, Oct 15 2009 22:24
| LDAP, Open Directory, tips, software, Troubleshooting, apple
| Permalink
I had a Leopard Server crash and burn so that nothing was responding, and when I forced the server to reboot (as well as rebooting a bunch of other ancillary servers and services just in case), I found an ominous sign in Server Admin, along with no user accounts in Workgroup Manager. Eek! Server Admin's Open Directory showed:
LDAP Server is: stopped
Password Server is: running
Kerberos is: stopped
Not
Comments (1)
Linking File Types and Apps in OS X
If you are an OS X user, and you find files of a certain type, say PDFs, are opening in one applications but you want them to open in a different one, you can easily change the association using Finder.
How to Re-associate File Types with Applications in OS X
Here's how:
Select a file in Finder and ctrl-click it.
Select "get info" from the context menu.
Find the "open with" section in the "get
Directory Utility MIA in Snow Leopard?
Wed, Sep 9 2009 09:57
| Snow Leopard, Directory Utility, os x, software, apple
| Permalink
Is Directory Utility, which has been available in /Applications/Utilities, missing in action in Snow Leopard? No, it's just been moved to Core Services. Access it this way:
Open Apple Menu, System Preferences.
Enter Accounts, clicking the lock to authenticate as needed.
Click Login Options at the bottom of the accounts list.
Click Edit, to the right of "Network Account Server."
Click Open Directory
Fixing EMobile USB Dialup on Snow Leopard
Tue, Sep 1 2009 00:32
| Snow Leopard, productivity, D02HW, os x, EMobile, software, apple
| Permalink
I just installed Snow Leopard OS X 10.6 with no problems after getting a replacement for a bad Family Pack install disk (the Shibuya Apple Store said that many people reported the same), and found that my EMobile Huawei D02HW USB Wireless Dialup card, which was fine in Leopard, died when Snow Leopard was installed.
Reinstalling the EMobile Huawei D02HW on Snow Leopard
Here's how I fixed it:
Deleted
Comments (21)
Shared iTunes Music Storage
My family has a shared iMac G5 running Leopard OS X 10.5.7 and iTunes 8.2 (both the latest as of 13 July 2009), and recently I noticed we were running low on disk space, so I did some digging via du at the command line. I found that we were eating space by ingesting CDs into iTunes, which would get copied to our respective local user folders.
After a little research, I found the Apple KB article
iPhone 3GS Unfairly Expensive in Japan for Upgraders
I went to a Softbank shop in Shibuya, Tokyo and asked how much it would cost to upgrade an iPhone 3G to an iPhone 3GS. The clerk told me that for the 16GB model it would be an additional JPY 780 per month for 24 months, totaling JPY 18,720, assuming the continuation of my current contract. That sounded about right to me, given the US prices.
I wanted to see if I could just buy one outright, and slipped
Comments (2)
iPhone OS 3.0 Tips on Parade
Apple released yesterday an updated iPhone operating system, iPhone OS 3.0, with a number of useful improvements. For me, the update itself was seamless, and took about 15 minutes after clicking the update button in iTunes. I upgraded first thing in the morning, but colleagues who tried later in the day had some delays. I guess it's to be expected when so many people try to download at the same time.
Comments (2)
Restoring Mail, but not via MobileMe Account Backups
Sun, May 31 2009 01:56
| productivity, os x, plist, software, Time Machine, mail, 10.5.7, mail.app, apple
| Permalink
So much for MobileMe backing up my Mail account data! I had a another weird crash, which has been plaguing me since I upgraded OS X Leopard to 10.5.7. The crash happens when I wake the computer from sleep, and plug in my firewire then USB hard drives. When the USB hits the socket, sometimes I get the grey screen of death, in which the only way to recover is a hard reset. This happened again today,
Mac OS X Leopard 10.5.7 Update
I updated my MacBook Pro's OS X from 10.5.6 to 10.5.7 today, and there was a little hiccup. Here's what happened, but see UPDATES below:
I noticed there was an update available, so I shut down all the user applications and things like ExpanDrive and Plaxo, then tried Software Update from the Apple menu. Software update started to work, then stalled at around 150 MB of 450 MB downloaded, claiming
Comments (1)
Does my SuperDrive do "dual-layer"?
If you are wondering whether the SuperDrive in your Mac is dual-layer capable, or whether it can store 8+ GB of data on a data DVD rather than 4+ GB, have a look at the System Profiler app (you can Spotlight it to easily find it if you use Leopard), and check Hardware, Disc Burning, DVD-Write. If you see the tell-tale DLs in the description, you're good to go. Just buy the appropriate media.
Migrating User Folders in OS X Leopard Server
I did an experiment on my test Leopard Server to migrate User Folders from the default /Users to another direct-attached volume based on some questions that came up.
The problem is, OS X Leopard Server defaults to using the system disk as the Users partition, and this disk is not often your largest disk. It can fill up quickly if users start storing their photos or music. Long story short, the trick
Splitting Long Videos for YouTube in iMovie
Sun, Apr 12 2009 19:03
| iMovie, productivity, iLife, tip, tips, software, youtube, apple
| Permalink
iMovie, included among other excellent consumer applications in Apple's iLife 09, now provides an easy way to share your videos on Google's YouTube video sharing service. You just prep your video, and then use the Share menu to share it in various ways. However, YouTube has a 10 minute, 1GB limit.
Using iMovie 09 with YouTube
Here's a few tips to work with those YouTube limits:
Confirm the total
Happy 25th Birthday, Macintosh!
Wed, Jan 28 2009 21:11
| 25th Birthday, mac, apple
| Permalink
It's the 25th birthday of the Mac, and I for one hope I can use a system as good as my Mac for 25 more years. Omedetou! Thank you Apple, for bringing so many good things into this world.
Address Book vCard to Windows User - Garbled Japanese Fonts etc.
Fri, Oct 31 2008 20:57
| vCard, outlook, ical.app, ical, software, garbled japanese, apple, productivity, VCF, fonts, Address Book, mail, 2.1, mail.app
| Permalink
Apple's "Address Book" is included with OS X and is part of the "triumvirate" which also includes Mail.app and iCal.app, gives you the ability to drag address cards to Mail, where they are automatically pasted in their vCard, or VCF, form.
Problems Sending vCards to Windows Users
In trying to send VCFs to Windows Outlook users, I discovered two problems by trial and error. First, the Windows users
Upload Photos in Specified Order to Flickr from Aperture for Better Visibility
Wed, Oct 29 2008 20:38
| productivity, flickrexport, thomas hawk, connectedflow, flickr popularity, apple, aperture
| Permalink
Pro photographer Thomas Hawk gives good advice in his article about getting attention on Flickr (whether that's a good thing or not is a different matter!) that you should upload fewer shots with the best one last.
So if you're an Aperture user, how do you accomplish this sort of forced upload order to Flickr without having to upload each photo individually? I'm using the Connected Flow FlickrExporter
Finding Photos within a Date Range in Aperture
Thu, Oct 9 2008 08:57
| smart album, photography, tips, apple, aperture
| Permalink
A friend using Apple's powerful Aperture photo management application asked me how to sort photos into date ranges, such as an entire year, a calendar month, or by day. Here's how to do it with Aperture's Smart Album feature.
First, create the Smart Album by ctrl-clicking on the Library folder and choosing "New Smart" then "Album". The same thing is available from the File menu.
A grey-black semi-transparent
SproutCore - Apple's Open Source Javascript Development Platform
Tue, Jun 17 2008 08:27
| javascript, sproutcore, software, web, apple
| Permalink
If the new desktop-like apps in MobileMe, Apple's replacement for its .mac service, are any indication, SproutCore is going to be the source of some really incredible apps. AppleInsider calls it Cocoa for the Web.
Large 450MB Upgrade to Leopard 10.5.3
This AM I upgraded my two macs, a first generation MBP and a G5 iMac, to Leopard 10.5.3. Please note, the upgrade is large, at 450 MB, and when you finally restart it seems to cause Mail and iCal to freeze. You need to allow it to perform its processing on those apps, because it apparently does some kind of check on the mail and calendar contents. After the upgrade, I noticed that Option-Cmd-Eject
Flushing DNS
Sat, Feb 9 2008 08:27
| resolver, dns, productivity, cli, tips, command line, cache, apple
| Permalink
When accessing websites or mailservers, your DNS resolver caches the request so that future lookups are fast. However, sometimes when a zone on DNS is being changed while you work, you want to be able to clear the cache to force the resolver to get the latest name:IP address pair mappings. Here are some command line commands for flushing the DNS cache on your local machine:
On Mac OS X Tiger:
lookupd
Tip - Get the OS X Version from CLI
Thu, Feb 7 2008 16:45
| productivity, cli, tip, os x, command line, terminal, apple
| Permalink
If you are logged into OS X as usual, you can get your system version from "About This Mac" in the Apple menu. This is not helpful when you are remotely connected to a server via SSH, however. So how do you do it? You can get OS X's version from the command line, like this:jrclt2007:~ rcogley$ sw_versProductName: Mac OS XProductVersion: 10.5.1BuildVersion: 9B18
Tip - OS X Leopard Screen Sharing Tweaks
The default Leopard screen sharing app can be made a little more ARD-like, if you add some parameters via the "defaults write" command in Terminal. Check out the default style by sharing the screen of a neighboring computer in Finder. You can enable Screen Sharing on a machine in System Preferences, Sharing.
Now, to add the extra settings, first, open Terminal from your Applications, Utilities folder,
Comments (1)
Tutorial - Making Nice with Mail.app Rules
Mon, Jan 21 2008 13:32
| rules, yai, tutorials, mail scripts, mail act on, mailtags, articles, omnifocus, mail.app, gtd, apple
| Permalink
Tutorial Introduction
I got Mail.app set up to use Gmail's IMAP, and wrote a bit about it in this tutorial. One of the next steps I wanted to take, was to somehow manage all the mail that comes in from subscriptions, or, regular announcements from colleagues regarding common reporting milestones. In Microsoft Entourage, I was using an AppleScript and Rules, so I reckoned I could use a similar approach
Comments (5)
Apple - MacBook Air
Apple - MacBook Air - wow! How do they do it?! What an incredibly slim laptop. I like my MacBook Pro because it has the ports I need in it already, but, this is typical Apple pushing (er, forcing?) the envelope by removing the network port and optical drive. Perhaps this will drive WiFi innovation or perhaps Apple has something else up their sleeves?! By the way, TimeMachine now works over wireless
Very Sexy - Apple Docking Patent Works Perfectly with Ultra-Slim MacBook
Just saw Gizmodo's article on the Apple Docking Patent for a slim notebook that docs inside an iMac. Wow, that's sexy!
Mail.app 3.x in Leopard - Rule to Tag Mail as "Expiring" Takes Advantage of Address Book Groups
Tue, Jan 1 2008 21:18
| productivity, filter, software, mail, entourage, scripting, apple
| Permalink
As a New Year's project, besides biking a lot up and down along the Sakai River on my new Centurion, I decided to try switching from Entourage 2004 and its monolithic mail store file, to the Mail.app that comes with OS/X Leopard and use Gmail IMAP. One thing I have set up in Entourage is a rule that runs an AppleScript to search a long list of sender email addresses from which comes mail I want to
Comments (2)