当然,通过增强自己的意志力来强迫自己去提升生产效率,这种事情实际上是很难的。我们充其量也就是保证自己在做这些事情的时候,尽可能少地被干扰,不让自己的生产效率降下去,这已经是非常不错了。要想成倍的去提升人类的工作效率这是非常难的。

Compose 是 Docker 公司推出的一个工具软件,可以管理多个 Docker 容器组成一个应用。你需要定义一个 YAML 格式的配置文件docker-compose.yml,写好多个容器之间的调用关系。然后,只要一个命令,就能同时启动/关闭这些容器。 Mac 和 Windows 在安装 docker 的时候,会一起安装 docker compose。记录在 Linux 系统 (Ubuntu) 中安装 docker compose 并且启用 OH-MY-ZSH 的 Docker 命令自动补全功能 。

Read more »

So I just wish our youth could get rid of this indifference and keep away that self-abandonment. Make your voice heard and your action seen, like a firefly shining itself in the darkness of night, independent of a bigger source of light. Such fireflies shall be the only brightness if brighter future doesn’t come; And if a torch or the Sun does arrive, they will disappear with gladness and gratitude to the latter for it illuminates the whole world, fireflies included.

Read more »

The GitHub Pages service is open to every user for domain name resolution and hosting of username.github.io. If you are an ordinary user, the Github-Page service will only be open to public repositories. After the repositories are converted to private, Github-Page will stop parsing And updates; for student Pro and paid Pro users and above, the Github-Page service will provide services for both public and private repositories, but Travis CI is only free for public repositories. In summary, this article is for guys who want to use GitHub Pages service for private repositories.

P.S. Privatizing the repository hosting Github-Page can reduce privacy leakage. However, all files (of the deployment branch) can still be crawled/scanned.

Read more »