With An Orchid

  • Home

  • Tags

  • Categories

  • Archives

  • About

关于 k8s 命名空间的一些思考

Posted on 2021-01-10 | In 码梦为生 | Comments:

本文介绍了 k8s 命名空间的概念以及使用方法,命名空间是一个非常简单又重要的概念,可以帮助团队更好的管理集群资源,熟悉命名空间的优点和特性可以帮助你更有效地配置集群,避免可能出现的一些问题。

Read more »

如何更优雅地切换 Git 分支

Posted on 2019-02-01 | In 码梦为生 | Comments:

在日常开发中,我们经常需要在不同的 Git 分支之间来回切换,特别是业务需求比较多的开发人员。在分支较多的情况下,分支名的 tab 自动补全会比较糟糕,切换时我们不免需要复制或手打分支名,那么有没有更优雅的方式了呢?

Read more »

Golang 标准库 log 包

Posted on 2019-01-18 | In 码梦为生 | Comments:

[toc]

Golang 标准库提供了一个简单的 log 包,方便我们记录日志。在平时写一些 demo 或小程序时,我们经常会用到 log 包,不过由于缺少结构化格式、日志级别等支持,在实际开发中则很少使用。log 包的设计非常简洁,造轮子之前可以参考下。

Read more »

Gitlab 搭建与 CI 配置

Posted on 2018-11-10 | In 码梦为生 | Comments:

最近有一个独立开发的 Golang 微服务需要上线,项目托管在内部的 GitLab 上,所以需要写一个 .gitlab-ci.yml 文件来走 CI。由于之前一直是在比较成熟的团队中,没有自己写过 GitLab 的 CI 配置,所以索性尝试下自己搭建 GitLab,然后配置一套 CI 来熟悉下。

Read more »

Markdown 代码高亮的标记大全

Posted on 2018-10-30 | Comments:

用 markdown 写文档的话经常会用到代码的语法高亮,这里列出了常用的语法高亮标签,前面是标签,括号里是对应的文件扩展名。

Read more »

《现代操作系统》第1章 习题

Posted on 2018-10-14 | Comments:

1.什么是多道程序设计?

Multiprogramming is the rapid switching of the CPU between multiple processes in memory. It is commonly used to keep the CPU busy while one or more processes are doing I/O.

Read more »

Docker 数据管理

Posted on 2018-09-15 | In 码梦为生 | Comments:

Docker 提供了3种方式将数据从Docker宿主机挂载到容器:

  • Volumes
  • Bind mounts
  • tmpfs mounts

一般来说,volumes总是最好的选择。

Read more »

Protocol Buffer Encoding

Posted on 2018-06-03 | In 码梦为生 | Comments:

本文翻译自: https://developers.google.com/protocol-buffers/docs/encoding

本文档介绍了 protocol buffer message 的二进制格式。你不需要知道这个就可以在你的应用程序中使用 protocol buffer,但如果你想了解 protocol buffer 格式对编码后的 message 大小的影响,该文档非常有用。

Read more »

Protocol Buffer 介绍

Posted on 2018-06-02 | In 码梦为生 | Comments:

protocol buffer 是一种语言无关,平台无关,可扩展的序列化结构化数据的方式,用于通信协议,数据存储等。

Read more »

微信小程序 - 便利店在哪(已上线)

Posted on 2018-02-27 | In 与日俱新 | Comments:

业余时间做了一个小程序 “便利店在哪”,功能很简单,就是找出你附近的便利店。

Read more »
123

Royeo

人生没有白走的路,每一步都算数

23 posts
3 categories
28 tags
GitHub E-Mail
© 2016 – 2021 Royeo
Powered by Hexo
|
Theme – NexT.Gemini
Hosted by Coding Pages & GitHub Pages