The ramblings of Chad Humphries

Installing Merb 1.0

with 4 comments

I saw that merb 1.0 came out and decided to install it. I jumped, nay leaped to the terminal and ran:

sudo gem install merb

I saw the following:

Successfully installed extlib-0.9.8
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.2
Successfully installed json_pure-1.1.3
Successfully installed mime-types-1.15
Successfully installed thor-0.9.8
Successfully installed merb-core-1.0
Successfully installed merb-action-args-1.0
Successfully installed merb-assets-1.0
Successfully installed merb-slices-1.0
Successfully installed merb-auth-core-1.0
Successfully installed merb-auth-more-1.0
Successfully installed merb-auth-slice-password-1.0
Successfully installed merb-auth-1.0
Successfully installed merb-cache-1.0
Successfully installed merb-exceptions-1.0
Successfully installed diff-lcs-1.1.2
Successfully installed templater-0.3.5
Successfully installed merb-gen-1.0
Successfully installed haml-2.0.4
Successfully installed merb-haml-1.0
Successfully installed merb-helpers-1.0
Successfully installed mailfactory-1.4.0
Successfully installed merb-mailer-1.0
Successfully installed merb-param-protection-1.0
Successfully installed addressable-1.0.4
Successfully installed data_objects-0.9.6
Successfully installed dm-core-0.9.6
Successfully installed dm-migrations-0.9.6
Successfully installed merb_datamapper-1.0
Successfully installed merb-more-1.0
Successfully installed do_sqlite3-0.9.6
Successfully installed dm-timestamps-0.9.6
Successfully installed uuidtools-1.0.4
Successfully installed dm-types-0.9.6
Successfully installed dm-aggregates-0.9.6
Successfully installed dm-validations-0.9.6
Successfully installed randexp-0.1.4
Successfully installed dm-sweatshop-0.9.6
Successfully installed merb-1.0

I’m all for modular, but ouch. 40 gems is quite a lot.


Written by spicycode

November 10, 2008 at 5:57 pm

Posted in programming

Tagged with ,

Using MacVim and want the same ruby bindings in console VIM?

leave a comment »

Just alias vim to the following.

alias vim='/Applications/MacVim.app/Contents/MacOS/Vim -p'

Written by spicycode

November 7, 2008 at 2:49 pm

Posted in osx, programming

Tagged with ,

Bringing VIM to the People

leave a comment »

What’s included?

  • IRB
  • Shell Mode with Syntax Highlighting for running test results
  • GUI+Terminal theme (spicycode) with nearest match color palletes
  • FuzzyFinder built-in and setup with reasonable defaults
  • User Settings file for user specific bits

How do I use it?

  • Clone the repo, or fork it if you want, then symlink .vimrc, .gvimrc, and .vim to your $HOME directory.
  • Copy the ~/.vim/example_user_settings.vim to ~/.vim/user_settings.vim and customize as necessary.

Where is it?

git clone git://github.com/spicycode/bringing-vim-to-the-people.git

Written by spicycode

November 7, 2008 at 2:25 pm

Posted in programming

Tagged with

Ghetto Project Estimation in Fibonacci

leave a comment »

From the mind of Erik Yowell, design overlord of Relevance.

Ghetto Project Estimation in Fibonacci

Written by spicycode

November 3, 2008 at 9:22 am

Posted in misc

Getting your keys tied and bound in ZSH

leave a comment »

Let’s take a little trip down to shell-ville. It’s a small town down on the coast where the locals still like to know the nitty gritty details of how their operating systems work.

Today we are going to visit Bind Key park. It’s said you can make almost anything happen there with just a keystroke or two. Why what’s this? It seems a local orator is giving a speech on the parks heritage.

To clear the line you must press Control-K.

bindkey '^K'

Lost at the end of the line? Go to the beginning with Control-A

bindkey "^A"

Having the opposite issue? Go to the end of the line with Control-E

bindkey "^E"

What’s more, you can search through your history backwards using Control-R!

bindkey "^R"

Not enough for you, how about just pressing Down?

bindkey "[B": history-search-forward

Fine, not easily impressed eh? Up will search your history back in time?

bindkey "[A": history-search-backward

Hmm, he does seem convincing. I’ve recorded the most informative bits in this post for all to see. If you wish to use this knowledge carefully inscribe it into your .zshrc file.

Written by spicycode

October 21, 2008 at 7:56 pm

Posted in programming

Tagged with

collecting the riff-raff

leave a comment »

Using the power of the internet via web.archive.org I’ve migrated all of my old posts since 2004 to my blog.

Finally, this historic collection not seen since the Franklin Mint stopped the production run in 2006 is available to the public once again.

Rejoice, and let us hope that more content comes.

Written by spicycode

October 21, 2008 at 7:36 pm

Posted in announcements

Type the project name to change to it’s directory in ZSH

Inspired by Muness I decided to implemented lazy project aliases in ZSH.  It’s a two step process.

1) Set your cd path

export CDPATH=~/programming/mine:~/programming/work:~/

2) Enable auto cd for directory names

setopt auto_cd

3) Profit?

Written by spicycode

August 7, 2008 at 6:43 pm

Posted in programming

Tagged with