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
# to know more detail visit http://www.itstory.tk/entry/Ubuntu-%EC%97%90%EC%84%9C-Ruby-Rails-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0 | |
$ curl -sSL https://get.rvm.io | bash -s stable | |
$ source ~/.rvm/scripts/rvm | |
$ rvm get stable | |
$ rvm requirements | |
$ apt-get install libyaml-dev | |
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr | |
rvm use 2.0.0@railstutorial_rails_4_0 --create --default | |
$ which gem | |
/Users/mhartl/.rvm/rubies/ruby-2.0.0-p0/bin/gem |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
var map; | |
$ (function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523), | |
level: 2 | |
}); | |
var marker = new daum.maps.Marker({ |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$(function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523), | |
level: 4 | |
}); | |
var points = [ | |
new daum.maps.LatLng(37.538779843072824,127.00200500605618), |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$(function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523) | |
}); | |
var marker = new daum.maps.Marker({ | |
position: new daum.maps.LatLng(37.537123, 127.005523) |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$(function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523), | |
level: 3 | |
}); | |
}) |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$(function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523) | |
}); | |
var zoomControl = new daum.maps.ZoomControl(); # Creat Zoom Control | |
map.addControl(zoomControl, daum.maps.ControlPosition.RIGHT); # Add Zoom Control | |
var mapTypeControl = new daum.maps.MapTypeControl(); # Create Map Type Control |
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$( function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523), | |
level: 3 |
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
# view all ansible installation guide -- http://www.itstory.tk/89 | |
git clone git://github.com/ansible/ansible.git | |
cd ./ansible | |
source ./hacking/env-setup | |
pip install paramiko PyYAML jinja2 httplib2 |
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
# http://www.itstory.tk/88 | |
# [Head & Compute Node] | |
# 1. Download torque-3.0.5.tar.gz with wget | |
$ wget -O torque-3.0.5.tar.gz "http://wpfilebase.s3.amazonaws.com/torque/snapshots/torque-3.0.5-snap.201203201448.tar.gz?AWSAccessKeyId=AKIAJN2PZU37BETGCSOQ&Expires=1429823823&Signature=WWw28UBfaJeR6tB5Nekcm49htKQ%3D" | |
# 2. Unzip torque-3.0.5.tar.gz | |
$ tar zxvf torque-3.0.5.tar.gz | |
# 3. Configure torque with appropriate options |
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
# 1. Download JDK 6 using wget/curl (cli) | |
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin" | |
# 2. Change mode to excute | |
chmod +x jdk-6u45-linux-x64.bin |