Archive

Archive for December, 2009

Fixing Parallels Desktop Start menu and Spotlight Clash

December 13th, 2009 No comments

Parallels Desktop crystal mode is awesome.  When combined with the “Mac look” option, you don’t even know you’re in Windows…

The only issue I ran into is that when you hit CMD+Space for Spotlight, the Windows Start menu pops up and makes Spotlight disappear.  The fix was easy enough:

  1. Exit crystal mode
  2. Go to Parallels Preferences menu
  3. Under the Keyboard & Mouse tab, create two shortcuts
    1. Change the Cmd -> Win shortcut to whatever you want to open the Windows Start menu (you can see I set it to Ctrl+Space above, in the spirit of Spotlight)
    2. Create a dummy Cmd shortcut to Ctrl (basically to have it od nothing in Windows).  This will just have Parallels forward the Cmd to the Mac side and open Spotlight.
Categories: Mac Tags:

Cucumber.vim

December 12th, 2009 No comments

Awesome plug-in!  Uh, ok… but what the heck does it do?!?!  Here’s a list of the goodness:

  • syntax highlighting

  • Jump to steps
    • CTRL-] opens the step definition in the current window
    • CTRL-W ] opens it in a split window (optionally hold CTRL with the ‘]’)
    • CTRL-W opens in a split preview window
  • Autocomplete – it seems from the source that it should work, but I can’t get it going.  I posted a question on the cucumber mailing list.
    Categories: Programming Tags: ,

    Ruby, Vim, and Windows

    December 11th, 2009 2 comments

    It is unbelievably easy to create a wicked setup, although I spent half a day googling to narrow it down to the exsentials:

    Downloads

    1. Ruby with the One-click installer.
    2. Vim’s self-installing Windows executable (this comes with many customizations you read about online, and ruby support, included)
    3. snipMate, a plug-in that automatically expands common Ruby constructs (e.g. you type ‘cla<tab>,’ which becomes class…end with placeholders!)
    4. AutoComplPop (must have!!!), an autocomplete plugin very much like Xcode’s – start typing and a popup list of completion options appears.  superTab, another plug-in that allows you to use tab to auto-complete Ruby code
    5. wombat, a great color scheme

    Global configurations

    Add the following settings to /path/to/vim/_vimrc.

    note: the autocomplete menu colors, and vim’s default font are disgusting, hence the changes.

    Ruby-specific Configurations

    In the vimrc above, the following is added:

    • the first line sets up superTabs to look in the right place for Ruby completions (I use AutoComplPop now, see above)
    • adds line numbers to several source code file types
    • changes the ridiculous 8-space tabs to 2

    That’s it!  Happy coding :)

    Categories: Programming, Ruby Tags: , ,

    RubyCocoa and Interface Builder

    December 4th, 2009 No comments

    There isn’t much info out there about compatibility, but here’s the rundown after a few hours of experimentation and research:

    • MacRuby: fully integrated (according to Apple’s docs), so classes, outlets and actions automatically appear in IB
    • RubyCocoa
      • Nibs: there is a utility that adds classes, actions, and outlets to IB
      • Xibs: we’re out of luck, you must add items to IB manually
    Categories: Ruby Tags: ,

    BDD in the field

    December 3rd, 2009 2 comments

    I am on fire about Ruby.  I always hated Objective-C’s weirdness (coming from C++), and read the most awesome idea recently – given the amazing power of modern computers (now pay attention, this is the good part): writing code in anything but the highest level, easiest language is… premature optimization!!!  The instant I read that statement (sorry to the author, I can’t remember where), I knew it was true.  Add that you can drop down from Ruby to lower level languages where you need extra speed, and that MacRuby and HotCoca are going to make it ridiculously easy to use Cocoa via Ruby and…

    That’s it – I’m hooked.  To get myself up to speed in Ruby and Cocoa, I’m re-writing the examples from Aaron Hillegass’s awesome book Cocoa Programming for Mac OS X.  I’ll be writing about the intricacies of BDD in Ruby using Xcode, and I’ll be posting all the code, as well as custom file and project templates for Xcode.

    windows 7 product key

    windows 7 product key

    windows 7 key generator

    windows 7 key generator

    free winrar download

    free winrar download

    winzip activation code

    winzip activation code

    free winrar

    free winrar

    winzip free download

    winzip free download

    winrar free download

    winrar free download

    winrar download free

    winrar download free

    winzip free download full version

    winzip free download full version

    windows 7 activation crack

    windows7 activation crack

    windows 7 crack

    windows 7 crack

    free winzip

    free winzip
    \n