上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
  2017年12月15日
摘要: tr.GetCell(0).SetColor("#fbd4b4"); 阅读全文
posted @ 2017-12-15 16:33 VincentZhu 阅读(3329) 评论(0) 推荐(0) 编辑
  2017年11月17日
摘要: 在工作中遇到一个小问题,需要将一个 python 的字符串转为字典,比如字符串: 我们想把它转为下面的字典: 有以下几种方法: 1、通过 json 来转换 但是使用 json 进行转换存在一个潜在的问题。 由于 json 语法规定 数组或对象之中的字符串必须使用双引号,不能使用单引号 (官网上有一段 阅读全文
posted @ 2017-11-17 11:57 VincentZhu 阅读(131893) 评论(5) 推荐(23) 编辑
  2017年11月16日
摘要: https://www.pythonxyz.com/10025-python-regex-match-date-time.xyz 阅读全文
posted @ 2017-11-16 17:44 VincentZhu 阅读(42751) 评论(0) 推荐(0) 编辑
  2017年11月8日
摘要: https://dev.mysql.com/doc/refman/5.5/en/mysql-tzinfo-to-sql.html https://stackoverflow.com/questions/15017799/how-to-convert-utc-date-to-local-time-zo 阅读全文
posted @ 2017-11-08 17:30 VincentZhu 阅读(368) 评论(0) 推荐(0) 编辑
  2017年10月19日
摘要: 版本说明: py3.6 selenium3.6 geckodriver-v0.19.0-win64 phantomjs-2.1.1-windows 阅读全文
posted @ 2017-10-19 13:03 VincentZhu 阅读(414) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 2017年10月19日 @author: zzy ''' from mongoengine import * #连接数据库 def lazy_connect(): #mongodb://dbuser:sa123@192.168.1.58:27017/db_datac... 阅读全文
posted @ 2017-10-19 12:01 VincentZhu 阅读(1118) 评论(0) 推荐(0) 编辑
  2017年9月25日
摘要: count failed: not master{ "note" : "from execCommand", "ok" : 0, "errmsg" : "not master" } at src/mongo/shell/query.js:191 在SECONDARY节点无法show dbs 主从启动 阅读全文
posted @ 2017-09-25 09:28 VincentZhu 阅读(635) 评论(0) 推荐(0) 编辑
  2017年9月21日
摘要: https://github.com/jwt-dotnet/jwt 阅读全文
posted @ 2017-09-21 17:33 VincentZhu 阅读(525) 评论(0) 推荐(0) 编辑
  2017年9月1日
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig... 阅读全文
posted @ 2017-09-01 10:14 VincentZhu 阅读(601) 评论(0) 推荐(0) 编辑
  2017年8月28日
摘要: firewall-cmd --query-port=27017/tcp yum install system-config-firewall-tui firewall-cmd --zone=public --add-port=27017/tcp --permanent # systemctl unm 阅读全文
posted @ 2017-08-28 16:57 VincentZhu 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页