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
root - admin123 | |
developer - admin123 | |
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm | |
yum install --enablerepo=webtatic git | |
sudo yum install curl | |
sudo su - | |
groupadd rvm | |
usermod -a -G rvm root |
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
user1: | |
email: [email protected] | |
encrypted_password: <%= User.new.send(:password_digest, "user123") %> | |
confirmed_at: <%= Time.now %> |
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
uncomment gem 'capistrano' in Gemfile | |
bundle install | |
bundle exec capify . | |
set :application, "test" | |
set :scm, :subversion | |
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | |
set :svn_user, ENV['svn_user'] || "default_svn_user" |
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
sudo apt-get install apache2 | |
sudo apt-get install ruby | |
sudo apt-get install rubygems | |
sudo gem install rubygems-update | |
sudo update_rubygems | |
sudo gem install passenger | |
if you encounter 'extconf.rb:8:in `require’: no such file to load' | |
then type: sudo apt-get install ruby1.8-dev |
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
#Useful Linux Comments | |
find -name mongrel* | |
netstat | |
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
//To remove watermark on Flex Data Visualization components | |
(chartComID.getChildAt(chartComID.numChildren-1) as TextField).htmlText = ""; | |
(salesChart.getChildAt(salesChart.numChildren-1) as TextField).htmlText = ""; |
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
//retrieve XML from restfulx service update the details | |
var xmlOpts:Object = { URL: "people/summary_by_city.xml", method: "POST", | |
data: {city: 'chennai'}, unmarshall: false}; | |
Rx.http(function(result:XML):void { | |
cityWiseSummary = result; | |
for each (var city:XML in cityWiseSummary .*) { | |
child['city_name'] = Rx.models.showById(City, child['city_id']); | |
} | |
}).invoke(xmlOpts); |