Friday, October 31, 2008

Happy Halloween

Thursday, October 30, 2008

vim.merge!(rails)

After meeting tpope and pair programming with reinh I got to see the power of vim.  I have never used vim before so this is all new to me.  I've been using TextMate exclusively since starting Rails a few years ago.  I came to work and started in on a pursuit of how I can do in vim what I do in Textmate.  While on this quest, I will document along the way some useful tips that may help you too. 
I'll document some vim things I've learned so far:
Vim commands I use often:
  • gf - when cursor is on class name it'll take you to that class definition
  • yyp - duplicate current line
  • :AS - I use a lot to look at code and spec at the same time
  • ^p - autocomplete word from any open file
  • control + shift + 6 - switch between two buffers
  • shift + s - to delete current line
  • :%s/old/new/g - to change text to new text
  • / - to go to line number on page
  • /text, then enter key - to find text in file, n to find next
  • :split - split screen
  • :Rake - run specs in current file
  • :on - if in split screen, will make selected buffer the only buffer
  • escape key - to exit insert mode
  • o - create new line below existing line and enter insert mode
  • v aw - select a word
  • v ap - select paragraph (works well for method definitions too)
What are your favorite commands?  I'll post more as I learn.

Friday, October 3, 2008

The Me Meme

From Blogger Pictures


  1. Take a picture of yourself right now.

  2. Don’t change your clothes, don’t fix your hair…just take a picture. (should be super-easy with Photobooth)

  3. Post that picture with NO editing.

  4. Post these instructions with your picture.


http://blog.obiefernandez.com/content/2008/10/the-me-meme.html

Friday, September 26, 2008

My interview up on FiveRuns

http://blog.fiveruns.com/2008/9/26/rails-takefive-five-questions-with-karmen-blake

Sunday, June 1, 2008

Rails Chops: Nested Routes

Please view in full screen

Wednesday, May 28, 2008

Rails Chops: Model Associations

Ok, remind me not to create screencasts after 10:00 p.m. I have another 5 minute spot towards the end where I’m off in lala land. You can fast forward through it or use it as ammunition for our next conversation. :)

Please view in full screen.

Thursday, May 22, 2008

Rails Chops: RESTFul Authentication

Please view in full screen.