check out my new blog at gmarik.info/blog

Thursday, November 15, 2007

VirtualBox seamless mode


VirtualBox's Seamless mode is just amazing feature.
You just have to check it out!

1. Boot your guest OS(windoze only i guess)
2. Devices > Install Guest Additions
3. FOllow the instructions
4. Machine > Seamless Mode

Enjoy!

VirtualBox rox!

Labels: ,

 check out my new blog at gmarik.info/blog

Howto: run both 1.* and 2.* capistrano versions

Assuming you already have 1.* capistrano version.
To make sure you'll need to:
$ cap --version
Capistrano v1.4.1


then query for required 2.* version:

$ gem search capi -r
*** REMOTE GEMS ***
capistrano (2.1.0, 2.0.0, 1.4.1, 1.4.0, 1.3.1, 1.3.0, 1.2.0, 1.1.0)
Capistrano is a utility and framework for executing commands in
parallel on multiple remote machines, via SSH.


and install:

$ gem install capistrano -v 2.1.0
Successfully installed capistrano-2.1.0


Now check capistrano version again:

$ cap --version
Capistrano v2.1.0


Note that now we have capistrano 2.* by default

Now we need to get runner for capistrano 1.*:

$cp `which cap`{,2}
creates cap2 executable

For capistrano 1.* we need to

$vim `which cap`

and change line

version = "> 0"
to
version = "< 2"

Now check version again:

$ cap --version
Capistrano v1.4.1


To have capistrano 2.* it's required to
$vim `which cap2`
and change line

version = "> 0"
into
version = ">= 2"

Now check:

$ cap2 --version
Capistrano v2.1.0


PS: ofcourse you can use "official" way for having 2 version

Labels: , ,

 check out my new blog at gmarik.info/blog

Tuesday, November 06, 2007

gruff 0.2.9 side_bar (stacked) patch


I've extracted gruff patch (applied, thanks Geoffrey) which fixes sidebar to look like side-bar and not a stacked-bar.

Labels: , ,