cekong

导航

2018年11月16日 #

mysql知识积累

摘要: 验证mysql工作状态 systemctl status mysql.service 启动 sudo systemctl start mysql 停止 service mysql stop 重启mysql:/etc/init.d/mysql restart 登录 mysql -u root -p 重 阅读全文

posted @ 2018-11-16 13:50 cekong 阅读(116) 评论(0) 推荐(0) 编辑

redis知识积累

摘要: redis 安装包:redis-3.0.6.tar.gz 打开 redis: cd /media/deepl/文档/ubuntutools/redis-3.0.6/src/ ./redis-server 进入redis: redis-cli -h 127.0.0.1 -p 6379 -a fooba 阅读全文

posted @ 2018-11-16 13:49 cekong 阅读(122) 评论(0) 推荐(0) 编辑

mongodb知识积累

摘要: 1: 安装mongodb https://www.cnblogs.com/zhangdaicong/p/7492494.html 2:配置文件 vi /etc/mongodb.conf https://www.jianshu.com/p/83d0561f951e bind_ip = 127.0.0. 阅读全文

posted @ 2018-11-16 13:41 cekong 阅读(109) 评论(0) 推荐(0) 编辑

linux知识积累

摘要: find / -name “filename”查找文件#查看系统限制 ulimit -a #设置“open files”数量 ulimit -n 10032 查看软件版本: aptitude show xxx 查看软件安装位置: dpkg -L xxxx 查看软件是否安装: dpkg -l | grep filename sudo nautilus获得管理员权限sudo gedit 文件 以... 阅读全文

posted @ 2018-11-16 13:32 cekong 阅读(113) 评论(0) 推荐(0) 编辑

python3 提示 name ‘reload’ is not defined

摘要: import importlib importlib.reload(sys) 阅读全文

posted @ 2018-11-16 13:28 cekong 阅读(240) 评论(0) 推荐(0) 编辑

opencv知识积累

摘要: 1.OpenCV 3计算机视觉:Python语言实现 https://github.com/techfort/pycv 2.OpenCV3编程入门 opencv 均值模糊:一般用来处理图像的随机噪声 中值模糊:一般用来处理图像的椒盐噪声 自定义模糊:对图像进行锐化之类的操作 高斯模糊: 减少图像层次和深度 hist1 = create_rgb_hist(image1)"""创建rgb 三通... 阅读全文

posted @ 2018-11-16 13:27 cekong 阅读(164) 评论(0) 推荐(0) 编辑

深度学习 知识积累

摘要: 吴恩达教学视频及其课件 http://mooc.study.163.com/smartSpec/detail/1001319001.htm 吴恩达教学视频及其课件 http://mooc.study.163.com/smartSpec/detail/1001319001.htm 阅读全文

posted @ 2018-11-16 13:26 cekong 阅读(197) 评论(0) 推荐(0) 编辑

百度图片http://img[0-9]\.imgtn.*?g此形式的链接图片下载方式

摘要: """给出图片链接列表, 下载图片""" print(pic_urls) for pic_url in pic_urls: try: host = get_url_host(pic_url) headers["Host"] = host req = urllib.request.Request(pic_url, headers=headers... 阅读全文

posted @ 2018-11-16 13:18 cekong 阅读(599) 评论(0) 推荐(0) 编辑

scrapy知识积累

摘要: Scrapy爬虫入门教程十三 Settings(设置) 通过python代码运行spider项目: 在scrapy.cfg同一目录下创建python文件 阅读全文

posted @ 2018-11-16 13:13 cekong 阅读(140) 评论(0) 推荐(0) 编辑

pyinstaller基本操作

摘要: pyinstaller 打包错误http://www.fmwei.com/linux/pyinstaller-lib-error.html 阅读全文

posted @ 2018-11-16 13:09 cekong 阅读(145) 评论(0) 推荐(0) 编辑