OS X

Sync notes with iPhone 3.0 beta

I’m trying the new iPhone 3.0 OS because I’m a registered developer. So far it’s sweet! My only issues so far are that wifi had trouble connecting at first, and my notes apparently didn’t sync.
Turns out my notes were in mail. They didn’t show up in my left hand navigation bar at first, but I tried doing “new note” and just writing “test”, and then the rest of them all showed up from my iPhone. (no clue where windows would put them.)
Hurray!

Choose a random winner or randomize a list with terminal and PHP [solved]

I wrote this for my class, which needed to have a randomized order of presentations:

php -r '$order = array("person1","person2","person3","person4","person5","person6","person7","person8","person9","person10");shuffle($order);foreach($order as $number=>$name){echo $number+1 . " $name\n";}'

To run it, open up terminal (in OS X) and paste it in.

I’ve also had to choose a random winner for gift certificates before:
php -r '$order = array("person1","person2","person3","person4","person5","person6","person7","person8","person9","person10");shuffle($order);echo "$order[0]\n";'

‘No access’ greyed out for user Everyone in Leopard File Sharing [unsolved]

This is a follow up to my previous post about locking the system out of itself by trying to set “Everyone”‘s priveledges to “no access” via get info and locking Leopard out of its own system.
I recently discovered that my file sharing is not behaving like it is supposed to. “Everyone” having “read only” access indeed SHARES ALL OF MY FILES with read only access and no password required. If you try and set “Everyone” to “no access” via get info like I previously described, when you reboot Leopard fails to launch and the Leopard install disk cannot repair the permissions. (See my previous post for my fix).
But when I try and change the read only access for Everyone, “no access” is greyed out:
Leopard does not let you choose no access for Everyone
This is a huge bug apple!! Leopard has downgraded the ability to share files with a password.

iTunes for windows can’t see shared mac library [solved]

For several months I have been trying to stream my iTunes library from my iMac to my wireless laptop in the living room on the same network. I’ve streamed iTunes with various software to other devices (other PCs, Windows Mobile phone, iPhone) using SlimServer, Simplify Media and Mojo, but for some reason it would not stream over the network.
I tried updating iTunes on both machines but had no luck. I tried using Simplify Media to share instead but that didn’t work either. I double checked the preferences on both machines. I disabled the firewall and AVG antivirus. Still no luck.
Finally, I solved it: I opened up Apple Software Update and installed the Bonjour update for Windows. So it was Apple’s fault but I couldn’t find any documentation anywhere. Oh well, it’s fixed now. Hurray!

Run Parallels in Coherence Mode with Two Monitors [solved]

I’ve used parallels for years and never noticed the “Use Multiple Displays” option of Coherence mode. It’s accessible via the Edit > Virtual Machine settings when you shut down your VM, but it’s also hidden away in View > Customize… which you can access during runtime.

Now I can finally drag that word requirements doc or release note onto my second monitor while I code in the first. Sweet! It’s something I’ve missed without realizing I was missing it.

There are some bugs though. My second monitor is taller than the first because I have it rotated 90 degrees; that means the task bar mounts to the bottom of the second monitor and doesn’t display on the first, so I can’t see the start menu. I can click on the parallels icon in the dock to see the start menu, but I still can’t see quick launch. I can turn on “Exclude Dock” for usable work area, but then the task bar floats across the middle of my second monitor and applications cannot be resized past it. My solution in the mean time is to relocate my task bar and start menu to the top of the screen, where it more or less runs along the top of both of my monitors. This is a strange new workflow but I think I like it!

Stop external hard drives from spinning down on OS X [Solved]

I have my iTunes music library, samples, video files, and more on an external drive, and the 5 second delay of my drive spinning up is annoying at best and prevents me from working at worst. I finally just found the menu that disables the external drive from spinning down. I don’t know how this affects the drive life but it’s worth it for me.

System Preferences > Energy Saver > uncheck Put the hard disk(s) to sleep when possible

Use a router with AT&T DSL [solved]

What a dumb sounding title. You’d think something like this would be easy. Sorry, I’m slightly bitter at AT&T after a week’s worth of phone calls to get my DSL up and running and to get a router on the network. Even after threatening to cancel service, after telling them that I don’t know anyone who has broadband and doesn’t have a router, and that I’d tried two routers that wouldn’t work, AT&T still wanted to transfer me to their ‘premium’ tech support service for my third party router to get more money out of me. Netgear? Linksys? Ever heard of these? Deaf ears.

I tried spoofing my computer’s MAC address but it wouldn’t work. I tried using my router to dial the PPPoE connection but that didn’t work either. Yet when I plugged any computer directly into the modem it worked fine.

AT&T told me to ‘bridge’ my modem and have the router dial the PPPoE connection. Fail. It didn’t work at all. The solution is easy enough, if any of them had access to the right information: Keep the modem dialing the PPPoE connection. Then, plug in AT&T’s DNS into the router:

Primary DNS: 68.94.156.1
Secondary DNS: 68.94.157.1

and that’s it! You’re good to go. If you run a computer with a static IP, plug those DNS entries into its network settings as well.

I tried using OpenDNS first, which worked ok, but it was a little slower, it messed with my VPN, and I didn’t like seeing advertisements when I typed in addresses wrong. This solution works best.

Sync iPhone with Google Calendar and Outlook [solved]

I have too many calendars. I’ve managed to consolidate most of them though:

First, I synced my work Outlook calendar (on my PC) to my gcal with the fantastic app Google Calendar Sync. I gave it my info and told it to sync both ways every hour.

Then, I subscribed to my google calendar in iCal: First, in google calendar, click on Settings, Calendar Settings, Calendars, [your calendar], Calendar Address: and click on ICAL. Copy this URL, and then in iCal, paste it into Calendar: Subscribe… and have it update every hour.

And you’re done! My iPhone will only sync when I connect it to the computer, which is fine with me, but you can either subscribe to mobileme for push calendar notifications, set up text messaging alerts with google calendar, or use the web-based iphone version of google calendar in Safari.

-edit-
Edit: The events show up as separate calendars on your iPhone.

It looks like this currently does not work with mobileMe. You can convert the items to your personal calendar in iCal by exporting them and then importing them. See macosxhints workaround here.

How to import contacts from windows mobile to an iphone with outlook [solved]

There seem to be a variety of ways to import your contacts from your windows mobile phone to your iphone. This is how I did it. You will need: Activesync and Outlook on Windows, and Address Book and iTunes 7.7 on OS X.

1) Sync your windows mobile phone with outlook with activesync.

2) Launch Outlook (I have v. 2006) and click on contacts. Your contacts should be listed.

3) To avoid syncing all 1000+ contacts I had, I scrolled right, and clicked on the ‘Mobile Phone’ column to sort by contacts with a mobile phone number. I then selected only contacts with a mobile phone number and right clicked and chose ‘Send as Business Card’. This step might take a while because it’s creating potentially hundreds of attachments as vCards to a new email.

4) I tried emailing this to my email account on my mac. My server basically said ‘Are you crazy?’ and blocked the entire message – one for having hundreds of attachments and two because .vcf is normally a hostile file format for email attachments (lots of exploit potential in ‘em).

5) However, I still had a copy of my message in my Outlook outbox, and was able to right click on the attachments and choose ‘Save all’. Then I transferred the folder I saved them in to my mac.

6) Simply double clicking on one attachment opened address book and asked me ‘do you want to import 1 contact?’ I clicked yes. Then I selected the rest and dragged them to address book, and it asked me if I wanted to import the rest and I clicked yes.

7) Plug your iphone in, click sync in iTunes and you’re done!

Other options I can think of:

• Take your sim card and put it in the iphone with the sim card ejection tool and go to Settings > Mail, Contacts and Calendars > Import SIM Contacts. I’m not sure if it will let you get this far if the card is from another network.

This link says you can click on the ‘MessageSave’ outlook toolbar button and select ‘Save all messages in folder Contacts’ and choose vCard in the format field, but this didn’t work for me (I don’t have that icon).

Delete iTunes Duplicates For Real with iDupe on OS X [solved]

This weekend I freed up 30 GB of mp3 duplicates using a handy program called iDupe. I’d tried several programs before, including an early version of Corral all Duplicates without much luck, but iDupe was able to process songs via ID3 tags, file size, date modified, and some fuzzy logic I don’t totally understand. I don’t know how it works, but it did.

iDupe is $8 and has a simple 3 step process – selecting, analyzing and deleting. It will optionally remove items from your library and delete them, letting you review them first. Warning – it is only for OS X and windows users who accidentally buy it will not be refunded. My only complaint would be that it can only handle a maximum of 2000 files at a time, meaning even when I subselected iTunes’ ‘show duplicates’ view, I still had to manually process chunks of my library at a time. It would be nice if it selected 2000 songs for you at a time, or even automated the processing in 2000 song chunks. But I trust the decisions it made and it worked great. Oh, and it removed all my dead tracks too.

For competition’s sake, Doug’s Scripts has evolved Corral All Duplicates into Dupin, but I haven’t tried it.

« Prev - Next »