git commit -m "added a check for nil"
105 git remote
106 git push origin master
119 git push origin master
120 git pull origin master
Wednesday, March 3, 2010
Tuesday, March 2, 2010
ubuntu resolution
cvt 1900 1200
creates modline
xrandr --newmode 1900x1200 63.50 1900 1072 1176 1328 1200 771 775 798 -hsync +vsync
xrandr --addmode VBOX1 1900x1200
creates modline
xrandr --newmode 1900x1200 63.50 1900 1072 1176 1328 1200 771 775 798 -hsync +vsync
xrandr --addmode VBOX1 1900x1200
Since above command is not permanent sollution to add new resolution, you need to edit /etc/gdm/PreSession/Default
Enter followings at the end of file /etc/gdm/PreSession/Default
- xrandr --newmode "1240x1024_60.00" 105.50 1240 1320 1448 1656 1024 1027 1037 1063 -hsync +vsync
- xrandr --addmode VGA1 1240x1024_60.00
setting up rails on ubuntu
install mysql-server
install mysql-admin mysql-query-browser
sudo apt-get install git-gui
sudo apt-get install ruby-full build-essential
sudo gem install rails
sudo apt-get install libmysql-ruby libmysqlclient-dev
sudo gem install mysql
database.yml
adapter: mysql
username: hospital
password: hospital
database: hospital
encoding: UTF8
timeout: 5000
database: mynewapp_development
pool: 5
socket: /var/run/mysqld/mysqld.sock
IMPORT data
mysql --verbose --user=XXXXXXXX --password=XXXXXXXX DB_NAME < /PATH/TO/DUMPFILE.SQL gem install mongrel sudo apt-get install apache2
install mysql-admin mysql-query-browser
sudo apt-get install git-gui
sudo apt-get install ruby-full build-essential
sudo gem install rails
sudo apt-get install libmysql-ruby libmysqlclient-dev
sudo gem install mysql
database.yml
adapter: mysql
username: hospital
password: hospital
database: hospital
encoding: UTF8
timeout: 5000
database: mynewapp_development
pool: 5
socket: /var/run/mysqld/mysqld.sock
IMPORT data
mysql --verbose --user=XXXXXXXX --password=XXXXXXXX DB_NAME < /PATH/TO/DUMPFILE.SQL gem install mongrel sudo apt-get install apache2
sudo apt-get install apache2 sudo apt-get install libapache2-mod-proxy-html
sudo a2enmod proxy
sudo ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.loadListen 8000
nano /etc/apache2/sites-available/hospitalcompare
<VirtualHost *:8000> <
# ServerName otherserver.me
ProxyPass /hospital_compare http://localhost:3000/hospital_compare
ProxyPassReverse /hospital_compare http://localhost:3000/hospital_compare
ProxyPreserveHost onProxy *> <
Order allow,deny
Allow from all/Proxy> </VirtualHost>
copy and untar drupal stuff to /var/www/drupal
http://mugdemo.info/drupal.tarsudo a2ensite hospitalcompare
Subscribe to:
Posts (Atom)