摘要: (一)安装NFS服务器1.1-安装Ubuntu nfs服务器端: sudo apt-get install nfs-kernel-server 1.2-安装nfs的客户端: sudo apt-get install nfs-common​ (在安装nsf-kernel-server的时候,也会安装n 阅读全文
posted @ 2019-04-24 08:23 jiu~ 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 整理了Ubuntu Linux操作系统下apt-get命令的详细说明,分享给大家。常用的APT命令参数:apt-cache search package 搜索包apt-cache show package 获取包的相关信息,如说明、大小、版本等sudo apt-get install package 阅读全文
posted @ 2019-04-24 07:54 jiu~ 阅读(20457) 评论(0) 推荐(0) 编辑
摘要: 修改cpplint.py:1. main()中注释掉 # sys.stderr = codecs.StreamReaderWriter(sys.stderr, # codecs.getreader('utf8'), # codecs.getwriter('utf8'), # 'replace')2. 阅读全文
posted @ 2019-04-24 07:48 jiu~ 阅读(834) 评论(0) 推荐(0) 编辑
摘要: The following command in a job script: Seems to be causing the following ci lint error: The colon (:) makes the line be interpeted as yaml map. The so 阅读全文
posted @ 2019-04-24 07:45 jiu~ 阅读(1927) 评论(0) 推荐(0) 编辑
摘要: This article introduces git pre-push hook. Problem In Lean project, we use a modified version of Google’s C++ style checker. I want to automatically r 阅读全文
posted @ 2019-04-24 07:41 jiu~ 阅读(1462) 评论(0) 推荐(0) 编辑
摘要: 【转自:http://dockone.io/article/8174】 在构建Docker容器时,我们应尽可能减小镜像的大小。使用共享层的镜像尺寸越小,其传输和部署速度越快。不过在每个RUN语句都会创建一个新层的情况下,如果我们需要获取镜像完成前的中间产物,又如何控制其大小呢?你可能已经注意到市面上 阅读全文
posted @ 2019-04-24 07:32 jiu~ 阅读(1599) 评论(0) 推荐(0) 编辑
摘要: import platform print platform.python_version() 阅读全文
posted @ 2019-04-24 07:22 jiu~ 阅读(4483) 评论(0) 推荐(0) 编辑
摘要: 1. echo的参数中, -e表示开启转义, /c表示不换行: 2. -n不换行: 阅读全文
posted @ 2019-04-24 07:20 jiu~ 阅读(4734) 评论(0) 推荐(1) 编辑
摘要: echo "2014年7月21日" | tr -cd "[0-9]" 这样就可以提取出2014721 阅读全文
posted @ 2019-04-24 07:17 jiu~ 阅读(15946) 评论(0) 推荐(2) 编辑
摘要: eg: 需要将模糊搜索词用引号括起来: 阅读全文
posted @ 2019-04-24 07:16 jiu~ 阅读(2121) 评论(0) 推荐(0) 编辑