- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 mac安装ruby rvm时遇到not writable问题
ERROR: '/usr/local/bin' is not writable - it is required for Homebrew, try 'brew doctor' to fix it!Requirements installation failed with status: 1.$ rvm autolibs read-only # read more here: https://r
2017-05-22 16:12:27 855
转载 如何在Mac 终端升级ruby版本
rvm是什么?为什么要安装rvm呢,因为rvm可以让你拥有多个版本的Ruby,并且可以在多个版本之间自由切换。第一步:安装rvm$ curl -L get.rvm.io | bash -s stable$ source ~/.rvm/scripts/rvm等待终端加载完毕,后输入:rvm -v如果能显示版本好则安装成功了。第二步:安装ruby列
2017-05-22 13:43:42 775
转载 Markdown语法参考
0. 目录0. 目录1. 斜体和粗体2. 分级标题3. 超链接3.1. 行内式3.2. 参考式3.3. 自动链接4. 锚点5. 列表5.1. 无序列表5.2. 有序列表5.3. 定义型列表5.3. 列表缩进5.4. 包含段落的列表5.5. 包含引用的列表5.6. 包含代码区块的引用5.7. 一个特殊情况6. 引用6.1. 引用的多层嵌套6
2017-05-21 22:37:20 679
原创 Jekyll背景post设置参考
1.Post 的demohttps://mmistakes.github.io/minimal-mistakes/year-archive/2. Demo参考code链接, 可编辑查看https://github.com/mmistakes/minimal-mistakes/tree/master/docs/_posts
2017-05-21 18:06:34 1507
转载 解决invalid byte sequence in GBK
在post.html模板里面加入中文之后,jekyll server命令直接报错。解决办法是在运行服务器前先运行chcp 65001命令,即可解决。在官方找到的解决办法Windows users: run chcp 65001 first to change the command prompt's character encoding (code page)
2017-05-20 14:53:36 3369
原创 解决SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.
reference: https://gist.github.com/fnichol/867550https://gist.github.com/luislavena/f064211759ee0f806c88Why?InstallationThe Ruby Way! (Fun)This assumes your have alread
2017-05-20 14:51:10 5092
转载 Problems and solutions when run Jekyll on Windows
Problems and SolutionsProblemGem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 readserver certificate B: certificate verify failed(https://rubygems.org0---------------
2017-05-20 14:11:28 858
原创 解决windows安装jekyll时的问题
1.Windows下安装jekyll建议直接安装chocolatey来装ruby。我因为在装的时候ruby和实际的gemfile版本不对,导致了很多问题。参考链接 https://chocolatey.org/install#install-with-cmdexe进入cmd,run如下命令安装chocolatey:@powershell -NoProfile -Executio
2017-05-20 14:08:46 503
转载 define SAFE_DELETE
#ifndef SAFE_DELETE#define SAFE_DELETE(p) { if(p){delete(p); (p)=NULL;} }#endif #ifndef SAFE_DELETE_ARRAY#define SAFE_DELETE_ARRAY(p) { if(p){delete[] (p); (p)=NULL;} }#endif #ifndef SAFE_RELEASE#d
2017-05-17 09:28:56 889
cacert.pem
2017-05-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人