![](https://img-blog.csdnimg.cn/20200315205320900.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Ruby Tips
Rub 小技巧。感谢订阅
朋朋dev
这个作者很懒,什么都没留下…
展开
-
基于rbenv的Ruby环境安装(Windows版)
Windows10 + WSL2 + Ubuntu。安装WSL2微软官方文档安装Ubuntu安装Ubuntu 18.04安装基础库sudo apt-get update -qqsudo apt-get -y install apt-transport-https ca-certificates curl software-properties-commoncurl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | su原创 2021-07-11 10:10:25 · 846 阅读 · 0 评论 -
程序员拓展视野书单
把事情做好的技艺的修炼之道,掌握如何把事情做到最好的方法。如何把事情做到最好禅与摩托车维修艺术人件集别闹了,费曼先生企业应用架构模式交互设计之路点石成金原创 2021-07-11 10:09:25 · 87 阅读 · 0 评论 -
Ruby 编程进阶书单
建议先看完基础,再去啃硬核书。Learn to ProgramRuby元编程(第2版)Ruby原理剖析松本行弘:编程语言的设计与实现Ruby程序员修炼之道Component-Based Rails ApplicationsDocker for Rails Developers理解Unix进程The Complete Guide to Rails PerformancModern Front-End Development for RailsPolished Ruby Programm原创 2021-07-11 10:08:53 · 206 阅读 · 0 评论 -
Ruby 学习资源清单
在使用 Ruby 进行网页抓取时,有时候会遇到编码问题。Ruby 默认的字符串编码为 UTF-8。如果从外部获取的字符串编码不是 UTF-8格式的,需要进行编码转化。示例1# 字符串编码a = '朋' # 默认是 utf-8p a.encodingb = a.encode('gbk')p b.encodingc = a.encode('gbk').encode('utf-8')p c.encoding执行结果peng@peng-pc:~/studio/learn-rails/原创 2021-07-11 10:07:06 · 239 阅读 · 0 评论