Martin Ström

  • Home
  • Blog
  • Projects
  • Information
  • Tags
  • Clean up your Spotlight search results

    By default, Spotlight will index all your mail Mail.app messages and attachments, even those in your Trash and Spam folders. To exclude these folders from the Spotlight results you can add the folders to the “Privacy” section of the “Spotlight” pane in “System Preferences”. I’m using IMAP on Gmail so your path may be a little [...]

    Posted

    August 15, 2008

    Tags

    gmail, mail, mail.app, osx, spotlight

  • My Terminal Setup for Rails Development

    I’m quite happy with my Terminal.app setup right now for the Rails projects I’m working on and wanted to share the bits and pieces I use. First, I found a SIMB plugin for Terminal that’ll show the tab’s title in the tab instead of the running process. I use the plugin with a simple title helper [...]

    Posted

    July 12, 2008

    Tags

    bash, leopard, osx, rails, terminal

    1 comment

  • iCal & iPhone syncing in Leopard

    Looks like I’m not the only one having problems with my iCal to/from iPhone syncing. After trying almost every possible solution I found in various forums and google, I finally came up with a fix that works for me. Like many others, I suspected the subscribed calendars were the problem and the iPhone synced fine after [...]

    Posted

    November 22, 2007

    Tags

    blog, ical, iphone, osx, syncing

    1 comment

  • Mac OS X 10.5.1 and Multi-Safari

    Seems like Multi-Safari (at least 2.0.4) broke when upgrading to Mac OS X 10.5.1. I get this error: “You cannot use the application ‘Safari 2.0.4′ with this version of Mac OS X.” Luckily, I’ve found a workaround. Just launch Safari from the command line (Terminal.app that is) and it should work for you: /Applications/Safari\ 2.0.4.app/Contents/MacOS/Safari &

    Posted

    November 21, 2007

    Tags

    blog, leopard, osx, safari, webdev

  • OmniFocus to iPhone bookmark exporter

    Since the iPhone lacks the possibility to export tasks from iCal I made hack/script to export all tasks from OmniFocus to a Safari bookmark and therefore be syncable with Safari. Read more in the OmniGroup forums and/or download the latest version here. Update: On request, here are some screenshots of how the todo list looks like:

    Posted

    November 9, 2007

    Tags

    blog, hack, iphone, osx, ruby, safari, script

    4 comments

  • AppleScript to open iTerm tabs for Rails development

    Update: This script is ported (and improved) to work with OSX Leopards’ Terminal.app. I never really liked iTerm because of slow redrawing, ugly text anti aliasing and not reflowing text when resizing the window. After reading some interviews on a Rails site today and saw that a lot of people are using iTerm i wanted to give [...]

    Posted

    July 19, 2007

    Tags

    applescript, blog, iterm, osx, rails, terminal

    4 comments

  • TextMate Prototype & Scriptaculous Bundle

    This the first version of a TextMate bundle for Prototype and script.aculo.us JavaScript libraries. The language grammar is based on from Justin Palmers Prototype Bundle but the other commands/snippets are all new. Please let me know if you have any comments and/or improvements. Download here Update 2006-07-16 The bundle is [...]

    Posted

    July 14, 2006

    Tags

    blog, javascript, osx, prototype, script.aculo.us, textmate

    9 comments

  • AutoPair functionality using Cocoa KeyBindings

    I’ve been using the application “AutoPairs” since it was mentioned on 43folders some time ago. Yesterday (via the Macromates TextMate blog) I found an article on the Cocoa Text System and realised I could recreate AutoPairs’ functionality by just using native Cococa Keybindings found in OSX. Add these lines to your ~/Library/KeyBindings/DefaultKeyBinding.dict (create the file if [...]

    Posted

    July 11, 2006

    Tags

    blog, cocoa, osx, productivity

    7 comments

  • Autonamed dump/temp folder

    To keep my desktop nice and clean I have a folder called “Dump” where I put temporary stuff like apps I want to try, PDF:s to read later that day or files I’m currently working with. But sometimes I forget to look inside that folder to find out what’s there so I wrote this Folder [...]

    Posted

    July 7, 2006

    Tags

    applescript, bash, blog, osx, shell

  • Terminal.app usage

    The other day, Oskar Karlin asked me how and when I use the OS X Terminal app instead of e.g. the Finder. I’m not by any means a hard core command line guy but ther are often and often situations where the Terminal is faster or/and easier to use for the specific thing. To resize all [...]

    Posted

    April 7, 2006

    Tags

    bash, blog, geek, osx

Top