摘要: 求一个日期相加两个月后的日期 record['x_probation_end_date']=record['x_hire_date']+dateutil.relativedelta.relativedelta(days=2)#加两天 record['x_probation_end_date']=re 阅读全文
posted @ 2019-12-31 10:34 奇微 阅读(410) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_32820767/article/details/81196250?utm_source=blogxgwz0 du -hs /var/lib/docker/ 命令查看磁盘使用情况。 docker system df命令,类似于Linux上的d 阅读全文
posted @ 2019-12-27 15:09 奇微 阅读(2540) 评论(0) 推荐(0) 编辑
摘要: 出错提示:error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` 解决办法:sudo apt install gnupg2 pass 阅读全文
posted @ 2019-12-24 08:51 奇微 阅读(810) 评论(0) 推荐(0) 编辑
摘要: http://cnblogs.com/sixiweb/p/7048914.html 进入下面的网址下载目前的最新版: https://github.com/docker/compose/releases/tag/1.14.0-rc2 网页拉到最下面,下载: docker-compose-Linux- 阅读全文
posted @ 2019-12-24 08:47 奇微 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: /etc/apt/sources.list 18.04 16.04 阅读全文
posted @ 2019-12-19 13:33 奇微 阅读(2123) 评论(0) 推荐(0) 编辑
摘要: 16.05 sudo vim /etc/network/interfaces# 修改打开的文件 The primary network interface下的配置auto enp0s3# 设置静态方式iface enp0s3 inet static# 设置IP地址address 192.168.0. 阅读全文
posted @ 2019-12-19 13:24 奇微 阅读(589) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/Siegel/p/6917213.html 1、安装 使用如下命令,会自动安装最新版,这里为9.5 sudo apt-get install postgresql 安装完成后,默认会: (1)创建名为"postgres"的Linux用户 (2)创建名为 阅读全文
posted @ 2019-12-02 11:40 奇微 阅读(3000) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/sss1849/article/details/84875834 阅读全文
posted @ 2019-11-25 11:27 奇微 阅读(428) 评论(0) 推荐(0) 编辑
摘要: C# 之 Math取整 https://www.cnblogs.com/xinaixia/p/4834271.html 主要用到 System 命名空间下的一个数据类 Math ,调用他的方法。 C#取整函数使用详解: 1、Math.Round是"就近舍入",当要舍入的是5时与"四舍五入"不同(取偶 阅读全文
posted @ 2019-11-21 10:04 奇微 阅读(661) 评论(0) 推荐(0) 编辑
摘要: https://github.com/chenxuhua/issues-blog/issues/3 打开在Hosts文件,在文件尾部插入新行,添加以下代码并保存 mac ox下修改hosts文件: 进入访达,commnad+shift+g ,前往文件夹输入 “/private/etc”,找到host 阅读全文
posted @ 2019-11-14 11:16 奇微 阅读(424) 评论(0) 推荐(0) 编辑