Martin Ström

  • Home
  • Blog
  • Projects
  • Information
  • Tags
  • 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

    2 comments

  • ./script/server with automatic port finder

    This is the script I’m using when I start my local Rails development server. It will automatically detect the next available port starting at the default port 3000 so I can have multiple servers running without remembering what ports that are already busy. #!/usr/bin/env ruby DEFAULT_PORT = 3000 puts (`ps aux | grep [r]uby | grep script/server`.split(”\n”).map { [...]

    Posted

    July 8, 2008

    Tags

    bash, blog, rails, ruby, terminal

    1 comment

  • 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

  • Pluxemburg upload script

    Today when working with the pluxemburg.com-site I got really tired of uploading everything with Transmit. Since our host doesn’t have support for rsync or something like that, I made this really easy bash-script that will upload everything that have been changed since last time the script was runned. cd ~/Projects/Pluxemburg/pluxemburg.com #local path to site root find . [...]

    Posted

    August 17, 2005

    Tags

    bash, blog, osx, pluxemburg

Top