Utak Atik

Tinker with something

  • About Me
  • Github Me
    • Edit
    • Delete
    • Tags
    • Autopost

    勉強になった #1: MAMP, Komodo, Git, FileMerge

    VirtualHost with MAMP

    Spent a long time to setup a virtual host using MAMP, turned out just needed to add the nonstandard port when connecting. For example,

    http://virtualhost.local:8888

    Step by step tutorial here.

    Showing Git’s branch in Mac’s Terminal

    alt git branch terminal

    1. Add the following to .profile file in your home directory

      parse_git_branch() {
          git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ →\ \1/'
      }
      export PS1='\[\e[1;37m\][\[\e[1;35m\]\u\[\e[1;37m\]@\[\e[1;32m\]\h\[\e[1;37m\]:\[\e[1;36m\]\w\[\e[1;33m\]$(parse_git_branch)\[\e[1;37m\]]$ \[\e[0m\]'
    2. Logout then login. Or reboot.

    Komodo Edit is a Cool Editor

    alt Komodo Edit

    I’ve been using TextWrangler as my default editor for some time, but I’m not really satisfied somehow. After looking around, some suggestions came out, like TextMate, Coda, Komodo Edit, etc. Since I cannot afford TextMate nor Coda, I gave Komodo Edit a try. And I liked it. It’s pretty light, fast, cool name, and has Project management. And it’s FREE. Remember, it’s not the Komodo IDE. It’s the Komodo Edit.

    Use FileMerge to graphically compare or merge file or directories

    alt compare files using FileMerge

    In Mac, if you have installed XCode, you can use FileMerge to graphically compare file/directories. FileMerge can be executed from command line using opendiff

    opendiff file1.txt file2.txt
    • 4 July 2011
    • Views
    • 0 Comments
    • Permalink
    • Tweet
    • 0 responses
    • Like
    • Comment
  • Nico Prananta's Posterous

    http://about.me/nico.prananta

    Archive

    2012 (9)
    May (4)
    April (2)
    March (1)
    January (1)
    January (1)
    2011 (27)
    October (6)
    September (4)
    July (6)
    June (6)
    May (5)
  • About Nico Prananta

    http://about.me/nico.prananta

  • Get Updates

    Follow this Space »
    You're following this Space (Edit)
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
    Loading...
    Subscribe via RSS
  • Follow Me

Theme created for Posterous by Obox