摘要: puts "Mary had a little lamb. "puts "It's fleese was white as #{'snow'}."puts "And everywhere that Mary went."puts "." * 10 # what'd that do?end1 = "C... 阅读全文
posted @ 2014-09-01 20:53 SchrodingerCat 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 英文版:http://ruby.learncodethehardway.org/book/繁体版:http://lrthw.github.io/(繁体+英文-》简体)现在添加一批练习,在练习过程中写代码,并让你的代码运行起来。这里不会有很多详细的解释,因为大部分都是以前的内容。这次练习的目的是为了巩... 阅读全文
posted @ 2014-09-01 17:16 SchrodingerCat 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 源码ex6-2.rb :types_of_people = 10x = "There are #{types_of_people} types of people." binary = "binary"do_not = "don't"y = "Those who know '#{binary}... 阅读全文
posted @ 2014-09-01 16:47 SchrodingerCat 阅读(125) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-09-01 14:24 SchrodingerCat 阅读(7) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/pkueecser/article/details/8836973重要:存放路径 cd /etc/yum.repos.d首先备份CentOS-Base.repomv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.re... 阅读全文
posted @ 2014-08-29 19:38 SchrodingerCat 阅读(260) 评论(1) 推荐(0) 编辑
摘要: 国内的:中国科学技术大学镜像网站:http://centos.ustc.edu.cn/163开源镜像站:http://mirrors.163.com/搜狐开源镜像站:http://mirrors.sohu.com/ 阅读全文
posted @ 2014-08-29 19:33 SchrodingerCat 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 英文版:http://ruby.learncodethehardway.org/book/繁体版:http://lrthw.github.io/ 这里是将英语转为简体,一边看一边译。有的比较生硬,毕竟只过四级 :( ......我们现在要输入更多的变量并且将他们输出出来,这次我们将使用一种叫做“格... 阅读全文
posted @ 2014-08-29 16:00 SchrodingerCat 阅读(197) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-08-28 16:41 SchrodingerCat 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一、安装VMware Tools 因为比较简单,所以就直接附上命令,先将VMware Tools复制出来,只能直接对cd文件直接操作,复制后解压:tar -zxvf VM(tab) -C ./没有添加-C的话会出现错误,提示: tar: .: Not found in archive tar:... 阅读全文
posted @ 2014-08-27 22:39 SchrodingerCat 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 简体中文(学习阅读来源):http://blog.itpub.net/11379785/viewspace-1199963/英文版:http://ruby.learncodethehardway.org/book/繁体版:http://lrthw.github.io/代码:1 puts "Hello... 阅读全文
posted @ 2014-08-25 21:45 SchrodingerCat 阅读(216) 评论(0) 推荐(0) 编辑