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
https://www.youtube.com/watch?v=Hzp2vMpAaOY&list=RDtu1AF6zCdEY&index=14 | |
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
Meteor 1.0.2.1 has been installed in your home directory (~/.meteor). | |
Writing a launcher script to /usr/local/bin/meteor for your convenience. | |
To get started fast: | |
$ meteor create ~/my_cool_app | |
$ cd ~/my_cool_app | |
$ meteor | |
Or see the docs at: |
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
Create three ruby classes: | |
1. Point | |
- Need x and y to initialize a Point instance | |
- “to string” method displays “(x, y”) | |
- The Point instances can be sorted by its distance to the original point (0, 0) |
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
这两天开发的时候总是遇到数据库的问题,可能是我以前没学扎实,重新再安装一次postgresql,发现了如下问题: | |
这是老师的运行结果 | |
limingth@gmail ~/Github/myRoR$ ls /Applications/Postgres93.app/Contents/MacOS/bin/ | |
clusterdb gdalsrsinfo pg_receivexlog | |
createdb gdaltindex pg_resetxlog | |
createlang gdaltransform pg_restore | |
createuser gdalwarp pg_standby | |
cs2cs geod pg_test_fsync | |
dropdb initdb pg_test_timing |
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
Last login: Mon Mar 17 07:59:51 on console | |
zhichengs-air:~ zhichengwei$ cd code | |
zhichengs-air:code zhichengwei$ ls | |
<form>.html apple hello usershub | |
Ruby basketball lesson3.html wikiful | |
UserHub developer teacher_wiki | |
zhichengs-air:code zhichengwei$ cd wikiful/ | |
zhichengs-air:wikiful zhichengwei$ ls | |
dvdrental wikiful | |
zhichengs-air:wikiful zhichengwei$ cd wikiful/ |
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
Last login: Sun Mar 16 19:43:41 on ttys000 | |
zhichengs-air:~ zhichengwei$ cd code | |
zhichengs-air:code zhichengwei$ sl | |
-bash: sl: command not found | |
zhichengs-air:code zhichengwei$ ls | |
<form>.html apple hello usershub | |
Ruby basketball lesson3.html wikiful | |
UserHub developer teacher_wiki | |
zhichengs-air:code zhichengwei$ cd wikiful/ | |
zhichengs-air:wikiful zhichengwei$ ls |
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
Last login: Sun Mar 16 16:51:39 on ttys000 | |
zhichengs-air:~ zhichengwei$ rvm list | |
rvm rubies | |
ruby-2.0.0-p247 [ x86_64 ] | |
=* ruby-2.0.0-p353 [ x86_64 ] | |
# => - current | |
# =* - current && default |
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
Last login: Sun Mar 16 16:32:36 on ttys000 | |
zhichengs-air:~ zhichengwei$ ls dvdrental.tar | |
ls: dvdrental.tar: No such file or directory | |
zhichengs-air:~ zhichengwei$ cd code | |
zhichengs-air:code zhichengwei$ ls dvdrental.tar | |
ls: dvdrental.tar: No such file or directory | |
zhichengs-air:code zhichengwei$ cd wikiful/ | |
zhichengs-air:wikiful zhichengwei$ ls dvdrental.tar | |
ls: dvdrental.tar: No such file or directory | |
zhichengs-air:wikiful zhichengwei$ ls |
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
第一部分Create the Wikiful Rails App | |
Last login: Sun Mar 16 10:52:00 on ttys000 | |
zhichengs-air:~ zhichengwei$ cd code | |
zhichengs-air:code zhichengwei$ cd wikiful/ | |
zhichengs-air:wikiful zhichengwei$ rails new wikiful | |
create | |
create README.rdoc | |
create Rakefile | |
create config.ru |
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 used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, | |
you can ignore these warnings with 'rvm rvmrc warning ignore /Users/zhichengwei/code/for-my-girl/Gemfile'. | |
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'. |
NewerOlder