上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页
  2018年4月23日
摘要: # -*- coding: utf-8 -*- from __future__ import division from selenium import webdriver import time from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait ... 阅读全文
posted @ 2018-04-23 16:35 寒星12345678999 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 最新的chromedriver 66.0.3359.117 的对应chromedriver版本为 2.38 http://npm.taobao.org/mirrors/chromedriver/ WebDriverException: Message: unknown error: call fun 阅读全文
posted @ 2018-04-23 16:34 寒星12345678999 阅读(2015) 评论(0) 推荐(0) 编辑
  2018年4月20日
摘要: https://blog.csdn.net/xyang81/article/details/51555473 https://blog.csdn.net/fenglailea/article/details/77146248 https://blog.csdn.net/weixin_41004350 阅读全文
posted @ 2018-04-20 08:32 寒星12345678999 阅读(191) 评论(1) 推荐(0) 编辑
  2018年4月4日
摘要: 参考 https://blog.csdn.net/piglite/article/details/78474335 yum install -y MySQL-python #打开数据库连接 conn=MySQLdb.connect(host="localhost",user="root",passw 阅读全文
posted @ 2018-04-04 00:11 寒星12345678999 阅读(175) 评论(0) 推荐(0) 编辑
  2018年4月3日
摘要: sed 命令可以很好的进行行匹配,但从某一行中精确匹配某些内容,则使用 grep 命令并辅以 -o 和 -E 选项可达到此目的。其中 -o 表示“only-matching”,即“仅匹配”之意。光用它不够,配合 -E 选项使用扩展正则表达式则威力巨大。 比如下面有一条文本 tmp.txt ,其中内容 阅读全文
posted @ 2018-04-03 22:58 寒星12345678999 阅读(4019) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/liumiaocn/article/details/52041726?locationNum=4&fps=1 中文社区API http://docs.kubernetes.org.cn/638.html Package kernel-headers- 阅读全文
posted @ 2018-04-03 09:59 寒星12345678999 阅读(445) 评论(1) 推荐(0) 编辑
  2018年4月1日
摘要: [root@nmserver-7 ~]# systemctl stop firewalld.service [root@nmserver-7 ~]# systemctl status firewalld.service [root@nmserver-7 ~]# sestatus SELinux st 阅读全文
posted @ 2018-04-01 14:50 寒星12345678999 阅读(11923) 评论(0) 推荐(0) 编辑
  2018年1月30日
摘要: grant all privileges on database.table to 'user'@'ip' identified by 'passwd' with grant option; grant select,insert on mt.* to 'mtp'@'192.168.25.20' i 阅读全文
posted @ 2018-01-30 10:24 寒星12345678999 阅读(162) 评论(0) 推荐(0) 编辑
  2018年1月20日
摘要: 参考 编辑 ~/.bashrc 或 ~/.bash_profile 文件: $ vi ~/.bashrc 或, $ vi ~/.bash_profile 将下面行加入其中: TMOUT=100 这会让用户在停止动作 100 秒后自动登出。你可以根据需要定义这个值。保存并关闭文件。 运行下面命令让更改 阅读全文
posted @ 2018-01-20 21:26 寒星12345678999 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 参考 将 HISTTIMEFORMAT 变量加入 /etc/profile 文件中(或者其他 ~/.bashrc),让它对所有用户永久生效(临时生效用export HISTTIMEFORMAT='%F %T ')。 # echo 'HISTTIMEFORMAT="%F %T "' >> /etc/p 阅读全文
posted @ 2018-01-20 20:55 寒星12345678999 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页