Fork me on GitHub

写博客的道德底线和意图

Why I write blog

The bottom line of morality

  1. Don’t write advertorial. 拒绝软文,浪费时间
  2. Don’t cheat readers. 不欺骗读者

The intention

  1. Share experience in life. 分享生活经历或体会
  2. Share experience of work. 分享工作中的经验
Continue reading →

时间管理工具就是一场游戏

时间没有被工具节约

  1. 时间没有被节约,工具调整了我们对时间的支配,但是又吸引我们到其他地方花了时间。并且把玩工具的过程也会浪费时间。

无所事事的快乐

  1. 不要让时间工具把你是时间填的满满的,我们需要一点空间和时间,去无所事事地享受快乐。

计划还是要的

  1. 每天醒来一天中有几件重要的事情要干,用纸写出来,一项项去实现。
  2. 长期的目标,就在你每天的空闲里花点慢慢练习着去实践并接近目标。

举例说明

  1. 早上起来,看下邮件,了解下项目上要做的事情,可能常规来讲4-5个小时能干完。剩下的几个小时,可以网上冲浪,也可以办公室里找人谈谈,当然也可以去研究下长期来讲个人比较感兴趣的东西。
Continue reading →

How To Focus

Why lot of people fail to focus

  1. Too much choices.

How to focus

  1. Immerse yourself in something first.
  2. Extend it with the trend.
Continue reading →

github-pages as blog

GitHub Pages Guide

Follow the guide at GitHub Pages to set up GitHub Pages as the personal blog. Next step is to investigate how to generate RSS support.

http://jmcglone.com/guides/github-pages/ http://www.pchou.info/ssgithubPage/2013-01-05-build-github-blog-page-02.html http://www.pchou.info/ssgithubPage/2014-07-04-build-github-blog-page-08.html http://www.ruanyifeng.com/blog/2012/08/blogging_with_jekyll.html

jekyll Guide

http://jekyll.com.cn/docs/structure/

http://jekyllrb.com/docs/structure/

Add images into the page

First, add images under folder ./images then from your post reference the images by using https://liuning0820.github.io/images/xxx for example: DescriptionOfImg

Google Analytics setup

I Reference Google Analytics setup for Jekyll to setup Google Analytics for my blog.

Another useful link 使用Google Analytics监控GitHub Pages访问流量

After the setup, you can navigate to Google Analytics Portal to see the measure of your website.

添加Disqus评论系统

  • Sign up new disqus profile
  • Install Disqus on my site. Give a Website name where to install disqus. And follow the UI Instruction to complete the installation and setup.
  • Open _config.yml, 修改comment下面的disqus的值为自己上一步填的Website Name.

# Comment 这是disqus的评论系统
comment:
    disqus: liuning0820

You can see your site’s comment activity here.

Troubleshooting

对于中文的支持必须是utf-8 编码,在visual studio里直接写中文,貌似不是utf-8的编码,用文本编辑器打开发现是乱码, 然后用 bundle exec jekyll serve 本地启动发现报错。

Previous

Continue reading →

All Tags

mindset

devops

book

ci

communication

jenkins

自媒体

hometown

geek life

cloud

ai