g

丘海东

读书写字 热爱生活 ⌚️📖️🖋️🏀️🚲️🚉️🎼️🍵️🏞️📷️

小时候的快乐

得到一个小电筒,晚上照亮东西
捡到两石头,黑暗中打出火花
买了个新橡皮
拿根小水管,如图,在小溪边玩了半天
water
到山上收集松香,砍竹子,找棉线,自制蜡烛,拿着蜡烛去钻排水渠
河溪边捉鱼,虾,螃蟹,钓鱼,钓青蛙

Find Myself

找回自己
找到自己
找到自己的光

计划

早早就必须计划好所有事情,所有细节。
拖延症害死人。

好好生活

好好睡
好好吃喝
锻炼身体
读书
做家务
看好的电影,电视剧,节目
好好听音乐
好好上网

2015.09.08 吃了早餐,喝了水
2015.09.09 今天凌晨1点半才睡觉,不好,吃了早餐
2015.09.10 苹果发布会,熬了半夜,其他正常
2015.09.11 看优酷,1点半晚睡,……blue
2015.09.12 还是晚睡,……blue
2015.09.13 00:52,12k,man
2015.10.05 00:30,lue,撑体向上,仰卧起坐130个
2015.10.06 00:12,溢,吃早餐,今天运动方面估计要停一停了,来了两天,劳逸结合吧。吃宵夜。
2015.10.07 00:41,今天腹肌酸疼,前天练的乳酸。晚上吃了个苹果,23:51就睡觉了。 2015.10.08 晚上吃了半个月饼作宵夜。
2015.10.09 00:33睡觉。
hold on,7/8/9/10
偷个小懒,歇了几天,现在继续
2015.10.15 别吃太饱,中午吃了8分饱,很好

2015.10.18 低谷,痛苦,逃避,麻木,更低迷……周而复始,我会毁了
2015.12.20 00:51,睡觉

大圣归来

挺好的一部动画电影。
有当年看《舌尖上的中国》时的感觉。
在一些习以为常,不以为意的东西上,可以深挖。
技术的成熟,整个制作团队的水平,中国风,国画的意境,油画的色彩,等等,构建出好东西。

运动,感动

NBA带给我们的感动,参看这条微博
还有其他的众多运动,羽毛球,林丹,斯诺克,奥沙利文等等

做优雅的人

尊重学识
整洁精致美好
教养、礼貌
见识
谈吐穿着
审美
探索,自知

How to ‘git’ Octopress

如何为已经存在于Github上的Octopress搭建本地环境
大部分步骤和全新搭建时差不多,这里只列出不同的那几步
···安装其他···
clone source 分支:

git clone -b source git@github.com:username/repositoryname.git octopress

换成我的具体命令就是:

git clone -b source git@github.com:qiuhaidong/qiuhaidong.github.com.git octopress

clone master 分支:
master 分支存放在 _deploy目录

cd octopress
git clone git@github.com:username/repositoryname.git _deploy

具体命令:

git clone git@github.com:qiuhaidong/qiuhaidong.github.com.git _deploy

if
路径权限错误,无法pull Push
fix it:

gedit octopress/.git/config
git https://github.com/qiuhaidong/qiuhaidong.github.com.git _deploy

···其他步骤···
另个重要命令:
拉取:

cd octopress
git pull origin source
cd _deploy
git pull origin master

推送:

cd octopress
git add .
git commit -m 'my message'
git push origin source

GFW Rubygems Bundle Install

2022-01-05:最新网址:https://gems.ruby-china.com/
这个不行了:2016-10-28:最新网址:https://gems.ruby-china.org 这个不行了
封网,rubygems.org 不行了
bundle install 自然也不行
点算?
https://gems.ruby-china.com/ 是一个完整的 rubygems.org 镜像,用以代替官网
用法:

gem sources --remove https://rubygems.org/
gem sources -a https://gems.ruby-china.com/
gem sources -l

输出:

*** CURRENT SOURCES ***  

https://gems.ruby-china.com  

确保只有 https://gems.ruby-china.com/

但是这样也不行,还得到octopress文件夹,打开Gemfile文件,编辑:

    source "https://gems.ruby-china.com"

Ubuntu 14.04,安装octopress,执行

bundle install

一直提示缺少各种 gem 包,例如:

```
Gem::RemoteFetcher::FetchError: SSL_connect SYSCALL returned=5 errno=0 state=unknown state (https://rubygems.global.ssl.fastly.net/gems/safe_yaml-1.0.4.gem)
An error occurred while installing safe_yaml (1.0.4), and Bundler cannot continue.
Make sure that `gem install safe_yaml -v '1.0.4'` succeeds before bundling.

```

按提示输入命令 gem install safe_yaml -v '1.0.4' 安装依赖项,但是安装了一个又一个,一个又一个,实在太多太慢太麻烦了

解决方法:

修改octopress文件夹里的Gemfile文件:

把:
source "https://rubygems.org"
改为:
source "https://gems.ruby-china.com"
再执行:

bundle install

完美通过。