This file contains 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
#!/bin/sh | |
bundle install --binstubs | |
bundle exec rake db:drop RAILS_ENV=development | |
bundle exec rake db:drop RAILS_ENV=test | |
bundle exec rake db:create:all | |
bundle exec rake db:setup | |
bundle exec rake db:development:accounts | |
echo " |
This file contains 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
drawLandmarks: function() { | |
var parent = this; | |
var createListenter = function(shapeMarker, landmark) { | |
google.maps.event.addListener(shapeMarker, 'click', function() { | |
parent.setLocation('activity', landmark.id, landmark.name, shapeMarker); | |
}); | |
} | |
for (var i = 0, landmark; landmark = this.landmarkData[i]; i++) { | |
if(landmark.type == "circle") { |
This file contains 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
#!/bin/bash | |
# CentOS rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
# Install pre-requirements | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison iconv-devel git-core |