自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

修复SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.工具

2017-05-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除