CS and the City

  • rss
  • Home
  • Resume

Open New Window links in Safari as Tabs

Sean Lynch | September 25, 2008

Without having to use Saft either! (Though I think this will only work on Safari 3.1)

Here’s the magic, just pump this into your terminal, restart Safari and you’ll be ready to go:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Comments
No Comments »
Categories
Apple, How-to
Comments rss Comments rss
Trackback Trackback

Removing iTunes duplicates

Sean Lynch | June 15, 2008

I recently had to rebuild my iTunes library to solve some weird situation that was preventing my iPhone from syncing with iTunes after a reformat and upgrade. In the process I managed to add about 25 albums to the library twice. Instead of Apple noticing that the action is simply going to result in byte-for-byte duplicates of entire albums, it decides to continue with the addition and just append ” 1.mp3″ to all of the filenames. Why the genius coders over at Apple decided this was a reasonable outcome I’ll never know, but it frustrates a music library neat freak like myself to no end.

After trying to convince various AppleScripts to make iTunes clean itself up, I stumbled across these instructions on the blog of Todd George on how to find and remove byte-for-byte duplicates from iTunes. It saved my sanity. Note that this simply removes the files from the filesystem, and not the entries from the iTunes library itself. Thankfully, Todd provides a link to a great method of finding the now dead entries in your library and removing them WITHOUT any additional scripts or programs.

iTunes is happy again!

Comments
1 Comment »
Categories
Apple, How-to
Tags
hacks, How-to, iTunes
Comments rss Comments rss
Trackback Trackback

OSX 10.5 not ejecting mounted .DMGs

Sean Lynch | November 8, 2007

I’ve found that Mac OSX 10.5 (Leopard) isn’t always ejecting mounted DMG files in the usual methods (i.e. dragging to trash, right clicking and choosing eject, you know, the way it should work).

I found the following command works until Apple fixes the bug. Next time, I’ll also try using Disk Utility (thanks to the guys on Apple support forums for both tips).

Open up a terminal, cd to /Volumes, get the name of a mounted DMG file, and try like this:

(in my case the volume was /MailTags2.2b4):

maggie:Volumes blloyd$ hdiutil detach MailTags2.2b4
“disk1″ unmounted.
“disk1″ ejected.

Link to specific message

Comments
3 Comments »
Categories
Apple, How-to
Tags
DMG, Fix, Leopard, OSX 10.5, Trouble
Comments rss Comments rss
Trackback Trackback

Using source control in Eclipse with OSX’s built-in CVS

Sean Lynch | May 24, 2006

I've been using source control for a while now, but I've only recently discovered that my little iBook comes pre-installed with a working copy of CVS. In fact, Apple's developer site has a great article on how to set up CVS on OSX.

Unfortunately, the article doesn't take the user beyond using CVS at the command line. Ideally, you'll want to connect to your CVS repository using a much more flexible GUI tool. I forcibly recommend using Eclipse. The integration of CVS directly into an IDE has been a long time coming, but I can't give it up now that it's here.

Read the rest of this entry »

Comments
1 Comment »
Categories
Apple, Development, How-to
Tags
Apple, CVS, Eclipse, How-to, OSX
Comments rss Comments rss
Trackback Trackback

Now that you’ve switched… Switch everyone else

Sean Lynch | January 22, 2006

Switching is just a matter of willpower and finances (Although the price premium is not as a large as people think). There are all sorts of arguments for and against the switch, all of which have been blogged to death so they won't be covered here. For the sake of this article, I'm going to assume you're come across that fork in the road and chosen the iPath as I did.

Of course, now that you've switched your personal machine, you probably feel motivated to spread the wealth to your friends and family. Alternatively, you're like me and you're sick of having to fix those old PC that belong to your friends and family. Stick with the spread the wealth one, trust me.

Here's how to approach switching all those other computer users in your life. Hell, it might even help make your own hypothetical transition a little more managable.

Read the rest of this entry »

Comments
No Comments »
Categories
Apple, How-to
Comments rss Comments rss
Trackback Trackback

Navigation

  • Business
    • Apple
    • Google
    • Microsoft
    • Yahoo
  • Canada
  • Copyleft
  • Development
    • Interfaces
    • Protocols
    • Python
  • How-to
  • Reviews
  • School
  • Technology
    • Gadgets
    • Software
  • Truthiness

Search

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox