摘要: 安装信息 版本: 系统:win7 64 如果之前电脑安装过git 修改Docker Quickstast的属性, bash.exe 指向之前安装的git的绝对路径。 如果Looking for vboxmanage.exe 提示找不到 修改start.sh的内容: STEP="Looking for 阅读全文
posted @ 2020-11-14 08:17 botoo 阅读(179) 评论(0) 推荐(0) 编辑
摘要: testCase 西班牙足球甲级联赛,每轮球员进球统计: 第1轮:{"苏亚雷斯":1,"梅西":2,"C罗":1,......} 第2轮:{"苏亚雷斯":2,"C罗":2,"贝尔":1,......} 第3轮:{"苏亚雷斯":1,"贝尔":2,"内尔马":1,......} ... ... 统计前N 阅读全文
posted @ 2020-06-22 12:33 botoo 阅读(160) 评论(0) 推荐(0) 编辑
摘要: testCase 某班英语成绩以字典形式存储为:{'LeiLei':90,'kim':88,......},根据成绩高地,计算学生排名。 from faker import Faker from random import randint faker =Faker('zh') #随机构造30个学生名 阅读全文
posted @ 2020-06-22 12:14 botoo 阅读(153) 评论(0) 推荐(0) 编辑
摘要: test_1 某随机序列 [1,2,3,4,12,123,44,2,342,123,4,66,35,.....]中,找到出现次数最高的3个元素,他们出现的次数分别是多少? 方法1 from random import randint data = [randint(1, 20) for _ in r 阅读全文
posted @ 2020-06-22 11:55 botoo 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 将本地保存的图片全部转为圆角,代码如下: from PIL import Image, ImageDraw def circle_corner(img, radii): # 画圆(用于分离4个角) circle = Image.new('L', (radii * 2, radii * 2), 0) 阅读全文
posted @ 2020-06-10 14:38 botoo 阅读(753) 评论(0) 推荐(0) 编辑
摘要: ubuntu安装最新版Vue或者指定版本 首先已经安装了 使用命令查看 再使用如下命令: 安装后查看: 安装制定版本: 阅读全文
posted @ 2020-04-14 11:37 botoo 阅读(1972) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> * { margin: 0; padding: 0; } #test{ background-color:#C2EDFF; display:f 阅读全文
posted @ 2020-04-13 19:02 botoo 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 先看修改后的效果: 解决办法: 找到安装路径下的这个文件: 两栏 去广告搜索:底部广告将 Bounds="0,0,0,161"中的161改为0,即 Bounds="0,0,0,0" .三栏模式去广告 搜索:MiddlePhotoPanel 将Bounds="0,0,200,130"中的200改为0, 阅读全文
posted @ 2020-03-26 10:04 botoo 阅读(453) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #批量新建数据表 #删除`符号,具体原因我也没搞懂 for i in {1..30};do mysql 地址 -u账号 -p密码 -e "use 库名;CREATE TABLE ccms_order_test$i ( uni_order_id varchar(100) NOT 阅读全文
posted @ 2020-02-27 19:27 botoo 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 永久激活IDEA 2019.2.3、PyCharm 2019.2.3、WebStorm 2019.2.3教程 阅读全文
posted @ 2020-02-25 13:36 botoo 阅读(571) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> * { margin: 0; padding: 0; } </style> </head> <body sty 阅读全文
posted @ 2020-02-05 12:41 botoo 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 需要如下效果: html代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> #box { width: 1000px; height: 900px; ba 阅读全文
posted @ 2020-01-30 14:03 botoo 阅读(2310) 评论(0) 推荐(0) 编辑
摘要: 想完成如下效果: 代码如下: <div id="header"> <div id="logo"> </div> <div id="note"> <p>右下角的内容</p> </div> </div> css代码: #header { height: 100px; width: 1600px; bac 阅读全文
posted @ 2020-01-30 13:53 botoo 阅读(659) 评论(0) 推荐(0) 编辑
摘要: https://www.freebuf.com/sectool/212678.html 阅读全文
posted @ 2020-01-16 14:57 botoo 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 本文所有内容来自: https://www.freebuf.com/sectool/219584.htm 复制此文仅为后续实战 0×0 此文目的 Fuzz即模糊测试,是一种使用大量的随机数据测试系统安全的方法,Peach就是一种这样的工具。网上零零星星有些介绍Peach的文章,也有少部分使用Peac 阅读全文
posted @ 2020-01-16 14:46 botoo 阅读(3214) 评论(0) 推荐(0) 编辑
摘要: #Python 工匠:使用数字与字符串的技巧学习笔记#https://github.com/piglei/one-python-craftsman/blob/master/zh_CN/3-tips-on-numbers-and-strings.md :使用 enum 枚举类型改善代码 :不必预计算字 阅读全文
posted @ 2019-12-16 13:42 botoo 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 在条件判断中使用 all() / any() all() 和 any() 两个函数非常适合在条件判断中使用。这两个函数接受一个可迭代对象,返回一个布尔值,其中: all(seq):仅当 seq 中所有对象都为布尔真时返回 True,否则返回 False any(seq):只要 seq 中任何一个对象 阅读全文
posted @ 2019-12-06 12:00 botoo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/25121874/answer/30226885 最近洪昭光老师在《健康时报》里介绍了一套颈椎保健操,口诀就是“你拍一,我拍一,一直拍到七十七;用右(左)手去拍左(右)肩,各77次。深呼吸,下蹲起,十点十分去看戏。”具体到底是什么内容?我 阅读全文
posted @ 2019-11-28 18:03 botoo 阅读(281) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-11-27 09:47 botoo 阅读(2) 评论(0) 推荐(0) 编辑
摘要: CREATE DATABASE HELLO; CREATE TABLE IF NOT EXISTS `botoo`( `id` INT UNSIGNED AUTO_INCREMENT, `title` VARCHAR(100), `url` VARCHAR(100) , `downloadUrl` VARCHAR(100) NOT NULL unique, `re... 阅读全文
posted @ 2019-11-22 11:17 botoo 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1. 建立连接 2. 查询所有数据 3. 等于查询,term与terms 4. 包含查询,match与multi_match 5. ids 6. 复合查询bool bool有3类查询关系,must(都满足),should(其中一个满足),must_not(都不满足) 7. 切片式查询 8. 范围查询 阅读全文
posted @ 2019-11-07 10:05 botoo 阅读(4854) 评论(1) 推荐(0) 编辑
摘要: from elasticsearch import Elasticsearch import json import time es = Elasticsearch(['es地址:9200'],ignore=[400, 405, 502]) def create_user(plat,gender,b_year,b_month,uni_ids = []): """增数据"""... 阅读全文
posted @ 2019-11-07 10:03 botoo 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 今天看到一个比较人性化的定时模块 schedule,目前 star 数为 6432,还是非常的受欢迎,这个模块也是秉承这 For Humans 的原则,这里推荐给大家。地址 https://github.com/dbader/schedule 1.通过 pip 即可安装。 pip install s 阅读全文
posted @ 2019-10-30 11:31 botoo 阅读(2654) 评论(0) 推荐(0) 编辑
摘要: CentOS7中自带的python版本是python-2.7.5,由于新开的虚拟机需要使用python3,于是便升级一下版本。 安装Python3.7.3 官网下载地址:https://www.python.org/downlo... 这里选择下载python 3.7.3。 关于Python3.7以 阅读全文
posted @ 2019-10-29 22:30 botoo 阅读(1954) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/a1414345/article/details/74857226 阅读全文
posted @ 2019-08-08 09:59 botoo 阅读(1576) 评论(0) 推荐(0) 编辑
摘要: #demo.pyimport requests import json class RunMain: def __init__(self, url, method, data=None): self.data = data self.url = url self.method = method se 阅读全文
posted @ 2019-06-22 14:00 botoo 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: #安装docker的先决条件 运行64位CPU构架的计算机(docker目前不支持32位的cpu) 运行LUFSinux3.8或者更高版本内核 内核必须支持一种合适的存储驱动,例如: device Manager AUFS vfs 默认存储驱动通常是devices mapper ... 内核必须支持 阅读全文
posted @ 2019-06-19 11:31 botoo 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Docker的核心组件: Docker客户端和服务端 Docker镜像 Registry Docker容器 # Docker客户端和服务端 docker 是一个 C/S架构程序。客户端只需要向docker服务器或者守护进程发出请求,服务器或守护进程将完成所有的工作并返回结果。 # docker镜像 阅读全文
posted @ 2019-06-19 10:06 botoo 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 准备: #请在此之前先了解,selenium grid ;参考:selenium-grid ,下载地址, win-本地部署过程 >>>环境准备: Linux操作系统 >>>给Linux安装Python(linux 默认已经安装) >>>安装docker参考Ubuntu安装docker步骤,安装完毕后 阅读全文
posted @ 2019-06-18 11:31 botoo 阅读(970) 评论(0) 推荐(0) 编辑
摘要: https://www.yunpanjingling.com/ 账号 kein20 passwd a1234 阅读全文
posted @ 2019-04-01 09:41 botoo 阅读(1826) 评论(1) 推荐(0) 编辑