This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thiago@ubuntu:~$ sudo apt-get update | |
thiago@ubuntu:~$ sudo apt-get install git-core curl build-essential openssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thiago@ubuntu:~$ git clone http://github.com/joyent/node.git && cd node | |
thiago@ubuntu:~/node$ ./configure | |
thiago@ubuntu:~/node$ make | |
thiago@ubuntu:~/node$ sudo make instal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thiago@ubuntu:~/node$ node -v | |
v0.5.0-pre |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thiago@ubuntu:~/node$ cd | |
thiago@ubuntu:~$ curl http://npmjs.org/install.sh | sudo sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://npmjs.org/install.sh | npm_install=rc sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm install <nome_do_pacote> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm install <nome_do_pacote>@<versão_do_pacote> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t@art-is-t:~/Dropbox/shop/shopapp$ gem env | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 1.3.7 | |
- RUBY VERSION: 1.8.7 (2010-06-23 patchlevel 299) [i686-linux] | |
- INSTALLATION DIRECTORY: /var/lib/gems/1.8 | |
- RUBY EXECUTABLE: /usr/bin/ruby1.8 | |
- EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin | |
- RUBYGEMS PLATFORMS: | |
- ruby | |
- x86-linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nada |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fibo(n) | |
if(n==0) | |
return 0 | |
elsif (n==1) | |
return 1 | |
else | |
return fibo(n-1) + fibo(n-2) | |
end | |
end | |