摘要: windows from selenium import webdriver from selenium .webdriver.common.by import By import ttime chrome_options =webdriver.ChromeOptions() chrome_opti 阅读全文
posted @ 2020-05-31 17:14 快乐的平头哥 阅读(348) 评论(0) 推荐(0) 编辑
摘要: name: Jack ; salary: 12000 name :Mike ; salary: 12300 name: Luk ; salary: 10030 name :Tim ; salary: 9000 name: John ; salary: 12000 name: Lisa ; salar 阅读全文
posted @ 2020-05-31 15:08 快乐的平头哥 阅读(691) 评论(0) 推荐(0) 编辑
摘要: #磁盘空间 df -h 显示已经挂载的分区列表 du -sh [file] 估算当前使用磁盘空间 du -sk * | sort -rn 以容量大小递减排序 文件搜索 find find [file_path] -name test 从指定路径下开始找 名称 为test 文件和目录 find / - 阅读全文
posted @ 2020-05-19 17:28 快乐的平头哥 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 国内的其他镜像源清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(doub 阅读全文
posted @ 2020-04-17 11:44 快乐的平头哥 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: #新建第一个脚本 #!/bin/bash # 使用/bin/sh来解释执行 # auto echo hello world! # 解释这个脚本是干什么的 # by authors cuzz # 作者和时间一些信息 echo "hello world!" #脚本赋权 chmod +x hello.sh 阅读全文
posted @ 2020-04-17 09:45 快乐的平头哥 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 常用库导入 from selenium import webdriver #导入webdriver模块 from selenium.webdriver.common.by import By # XPATH 定位模块 from selenium.webdriver.remote.webdriver 阅读全文
posted @ 2020-03-31 20:01 快乐的平头哥 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #创建一个工作目录在所需要得位置 for example:git_test #初始化版本库git init会出现一个.git隐藏文件,该文件是就是控制版本 #添加暂存空间git add#提交到版本库git commit -m "discrible"#查询当前仓是否需要提交文件git status # 阅读全文
posted @ 2020-03-25 15:00 快乐的平头哥 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 安装Jenkins出现的问题rpm安装新建路径存放地址mkdir /home/jenkins 下载地址https://pkg.jenkins.io/redhat-stable/jenkins-2.204.5-1.1.noarch.rpm Jenkins】# yum install -y jenkin 阅读全文
posted @ 2020-03-17 13:00 快乐的平头哥 阅读(3007) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #阿里云初始安装MySQL #step1:查寻MariaDB 并卸载 MariaDB_filename=`rpm -qa|grep mariadb` if [ -d "$MariaDB_filename" ] then echo "存在文件名为$MariaDB_filenam 阅读全文
posted @ 2020-02-29 17:16 快乐的平头哥 阅读(149) 评论(0) 推荐(0) 编辑