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
puts 'Hello World!' # Ruby | |
System.out.println("Hello World!") # Java | |
print('Hello World!') # Python | |
echo 'Hello World!' # PHP |
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
# CoffeeScript-н бичиглэл | |
# Assignment: | |
number = 42 | |
opposite = true | |
# JavaScript-рүү хөрвүүлсэн байдал | |
var number = 42; | |
var opposite = true; | |
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 apt-get update | |
# curl: command-line tool for transferring data | |
sudo apt-get install curl | |
# git version manager system | |
sudo apt-get install git-core git-gui git-doc | |
# posgresql-н сан | |
sudo apt-get install libpq-dev | |
# nodejs | |
sudo apt-get install node |
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
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) |
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
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile |
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
rvm pkg install readline | |
rvm pkg install iconv | |
rvm pkg install zlib | |
rvm pkg install openssl | |
rvm pkg install autoconf |
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
# installing ruby | |
rvm install 1.9.2 | |
# set default | |
rvm use --default 1.9.2 |
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
rvm use 1.9.2@rails31 --create | |
rvm use 1.9.2@rails31 --default | |
# installing rails 3.1 | |
gem install rails |
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
rails new helloworld -d postgresql |
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
{ | |
"forename": "Peter" | |
, "surname": "Membrey" | |
, "phone_numbers": [ | |
"+852 1234 5678" | |
, "+44 1234 565 555" | |
] | |
} |
OlderNewer