最近做了一个 Keepalived 的 Docker 镜像,启动镜像的命令由 Shell 脚本封装了一下,因为我需要在启动镜像时自动生成 Keepalived 的配置文件。用 Shell 脚本在执行一些操作之后再启动真正的容器进程是非常普遍的做法。
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. It has following rc and profile files, the files begain with ~
is the user level files, the content inside only effective for the user.
从 2011 年 06 月 02 日拿到第一部 Android 手机 Moto MB525 到现在也有将近六年时间了,算上现在我一共使用了三部智能手机,第二部手机是 Xiaomi 2,现在用的 OnePlus 3。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
几个概念:角块指四个角上的块;棱块指两个角块之间的块;中心块指被角块和棱块包围的块。
三阶魔方是基础,二阶、四阶、五阶、甚至异形魔方的还原都需掌握三阶魔方的基础知识。三阶魔方的六个面颜色通常是上黄-下白、前红-后橙、左蓝-右绿,转动一般是指顶层的左右转动和左右侧层的上下转动。