随笔 - 366  文章 - 0  评论 - 101  阅读 - 30万
04 2018 档案
redis中关闭rdb跟aof
摘要:https://zm10.sm-tc.cn/?src=l4uLj8XQ0IiIiNGdip2KlJDRnJCS0JaRmZCbmouelpPSzc%2FJz8vJxtGXi5KT&uid=49e602338a34805a7ae79ef794a4d58f&hid=7c78a206af2e1fc16f5 阅读全文
posted @ 2018-04-24 19:55 寒星12345678999 阅读(3873) 评论(2) 推荐(0) 编辑
threading 多线程
摘要:# coding:utf-8 import time from threading import Thread def foo(x):#这里可以带参数def foo(x) print "foo start 启动耗时".decode('utf-8'), time.ctime() time.sleep(x) print "foo start 运行结束:".decode(... 阅读全文
posted @ 2018-04-23 20:38 寒星12345678999 阅读(151) 评论(0) 推荐(0) 编辑
我的第一个爬虫【python selenium】
摘要:去年写的一个小功能,一年过得好快,好快! 目的:爬取京东商品详情页面的内容(商品名称、价格、评价数量)后存储到xls文档中,方便商家分析自己商品的动态。 软件:chrome(windows)、chromedriver.exe、phantomjs.exe 、anaconda、pycharm 实现:用s 阅读全文
posted @ 2018-04-23 16:48 寒星12345678999 阅读(487) 评论(1) 推荐(0) 编辑
【爬虫】京东商品连接
摘要:# -*- 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 阅读(973) 评论(0) 推荐(0) 编辑
chromedriver版本问题
摘要:最新的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 阅读(2018) 评论(0) 推荐(0) 编辑
supervisord
摘要: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) 编辑
python 连接 mysql
摘要:参考 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) 编辑
grep -o -E
摘要:sed 命令可以很好的进行行匹配,但从某一行中精确匹配某些内容,则使用 grep 命令并辅以 -o 和 -E 选项可达到此目的。其中 -o 表示“only-matching”,即“仅匹配”之意。光用它不够,配合 -E 选项使用扩展正则表达式则威力巨大。 比如下面有一条文本 tmp.txt ,其中内容 阅读全文
posted @ 2018-04-03 22:58 寒星12345678999 阅读(4036) 评论(0) 推荐(0) 编辑
Minikube安装
摘要:参考 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 阅读(446) 评论(1) 推荐(0) 编辑
Centos7关闭防火墙 设置开机启动
摘要:[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 阅读(11926) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示