码迷,mamicode.com
首页 >  
搜索关键字:ruby debian    ( 7102个结果)
LRTHW笔记二
简体中文(学习阅读来源):http://blog.itpub.net/11379785/viewspace-1199963/英文版:http://ruby.learncodethehardway.org/book/繁体版:http://lrthw.github.io/代码:1 puts "Hello...
分类:其他好文   时间:2014-08-25 22:36:24    阅读次数:219
Ruby新手教程和技巧
...
分类:其他好文   时间:2014-08-25 21:01:34    阅读次数:238
有Linux使用基础不可不尝试的两个版本
如果你使用过Linux,而且已经超过半年,那么你一定积累了一些Linux基本技能,又或者你想试用纯种的Linux版本,那么我推荐两个版本给你。 一个是Debian,另一个是Linux from Scratch。 为什么要推荐Debian?建议你先去http://www.debian.org/了解.....
分类:系统相关   时间:2014-08-25 20:49:24    阅读次数:230
Ruby零星笔记
chomp:去掉字符串末尾的\n或\rchop:去掉字符串末尾的最后一个字符,不管是\n\r还是普通字符to_s:转换成字符串to_i:转换成数值object.nil?:判断是否为空,空返回:true
分类:其他好文   时间:2014-08-25 16:37:34    阅读次数:208
惯例优于配置原则(学习笔记)
惯例优于配置(Convention over Configuration)来源于Ruby On Rails框架的设计理念,也被认为是Rails大获成功的关键因素之一。这里所谓的惯例,可以理解为框架对编程的一些约束,我们可以根据实现制订的默认准则,通过反射技能完成对象的建立,对象的协作,甚至是使用程序...
分类:其他好文   时间:2014-08-25 16:29:54    阅读次数:160
projecteuler---->problem=34----Digit factorials
Problem 34 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits. Note: as 1! = 1 and 2! = 2 are...
分类:其他好文   时间:2014-08-25 11:59:14    阅读次数:243
projecteuler---->problem=36----Double-base palindromes
Problem 36 The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2. (Please...
分类:其他好文   时间:2014-08-25 10:06:04    阅读次数:198
[Ruby on Rails Issue] When Setting Sqlite version on the Gemfile, Show error "An error occurred while installing sqlite3 ",
Issue:Gem files will remain installed in /tmp/bundler20140825-31835-p0c0p/sqlite3-1.3.9/gems/sqlite3-1.3.9 for inspection.Results logged to /tmp/bundl...
分类:数据库   时间:2014-08-25 01:10:23    阅读次数:284
Ubuntu下如何使用unetbootin制作Linux的U盘启动盘
本文介绍在Ubuntu(基于Debian的操作相同)使用unetbootin将Linux操作系统的安装镜像烧录到U盘中,使得U盘成为安装介质。 首先准备好要烧录到U盘中的目标ISO镜像,将其拷贝到当前使用的操作系统中(linux和windows下都可以使用unetbootin来烧录Linux)...
分类:Web程序   时间:2014-08-24 15:27:02    阅读次数:238
Capistrano+Nginx+Unicorn 自动部署Rails
配置你的服务器 你需要在你的服务器上安装Ruby的环境,你可以使用RVM或者是rbenv. 上传到github 这步需要将你的应用上传到github,在你的github上创建新的repository,然后在你本机代码位置执行下面的命令,初始化g...
分类:Windows程序   时间:2014-08-24 00:25:32    阅读次数:856
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!