上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 68 下一页
摘要: code chrome://extensions 阅读全文
posted @ 2020-11-24 13:45 anobscureretreat 阅读(158) 评论(0) 推荐(0)
摘要: code https://www.postman.com/downloads/ 阅读全文
posted @ 2020-11-23 23:23 anobscureretreat 阅读(110) 评论(0) 推荐(0)
摘要: code import hashlib from cv2 import VideoCapture from moviepy.editor import * import os dir_paths = os.path.join(os.path.dirname(os.path.abspath(__fil 阅读全文
posted @ 2020-11-18 23:15 anobscureretreat 阅读(617) 评论(0) 推荐(0)
摘要: code1 import os import shutil pwd=os.getcwd() fpath=os.path.join(pwd,"dian") target=os.path.join(pwd,"电子书") c=0 for i in os.listdir(fpath): d=os.path. 阅读全文
posted @ 2020-11-11 20:15 anobscureretreat 阅读(1530) 评论(0) 推荐(0)
摘要: code # !/usr/bin/python # -*- coding:utf-8 -*- # time: 2019/07/21--20:12 __author__ = 'Henry' ''' 项目: B站动漫番剧(bangumi)下载 版本2: 无加密API版,但是需要加入登录后cookie中的 阅读全文
posted @ 2020-11-10 16:41 anobscureretreat 阅读(3070) 评论(0) 推荐(0)
摘要: 1.需要Android环境,sdk安装不赘述。 2.开启WiFi调试模式(仅单机,多机下次再说) adb tcpip 5555 3.app下载地址 https://github.com/alipay/SoloPi/releases 安装app后,电脑连接手机,打开手机调试模式,同意所有权限授权。 接 阅读全文
posted @ 2020-11-10 16:21 anobscureretreat 阅读(1572) 评论(0) 推荐(0)
摘要: code with open("test") as f: for line in f.readlines(): if(line): print(line,"<br>") 阅读全文
posted @ 2020-11-03 16:26 anobscureretreat 阅读(95) 评论(0) 推荐(0)
摘要: code import os import shutil pwd=os.getcwd() for i in os.listdir(pwd): d=os.path.join(pwd,i) if(os.path.isdir(d)): for j in os.listdir(d): f=os.path.j 阅读全文
posted @ 2020-11-03 16:24 anobscureretreat 阅读(806) 评论(0) 推荐(0)
摘要: code void main() { var lst = new List(); lst.add(12); lst.add(13); print(lst.isNotEmpty); } 阅读全文
posted @ 2020-11-03 16:00 anobscureretreat 阅读(84) 评论(0) 推荐(0)
摘要: code main() { print('Hello, World!'); } ///or ///main() => print('Hello, World!'); /// /*outputs $ dart hello_world.dart Hello, World! */ 阅读全文
posted @ 2020-11-03 15:59 anobscureretreat 阅读(134) 评论(0) 推荐(0)
摘要: code import 'dart:io'; import 'dart:core'; import 'dart:collection'; import 'dart:async'; void main() { var lst = new List(); lst.add(3); lst.add(4); 阅读全文
posted @ 2020-11-03 15:51 anobscureretreat 阅读(191) 评论(0) 推荐(0)
摘要: code #!/bin/bash # storing STDOUT, then coming back to it exec 3>&1 exec 1>test14out echo "This should store in the output file" echo "along with this 阅读全文
posted @ 2020-11-03 15:49 anobscureretreat 阅读(135) 评论(0) 推荐(0)
摘要: 错误信息: DioError [DioErrorType.DEFAULT]: Error on line 1, column 17: Invalid media type: expected no more input. 解决方式: 暂无 阅读全文
posted @ 2020-10-31 23:49 anobscureretreat 阅读(806) 评论(0) 推荐(0)
摘要: flutter 报错 DioError [DioErrorType.DEFAULT]: Bad state: Insecure HTTP is not allowed by platform 错误解释 平台不支持不安全的 HTTP 协议,即不允许访问 HTTP 域名的地址。 产生原因 IOS 和 A 阅读全文
posted @ 2020-10-31 22:55 anobscureretreat 阅读(2037) 评论(0) 推荐(0)
摘要: 负载测试是通过逐步增加系统负载,测试系统性能的变化,并最终确定在满足性能指标的情况下,系统所能承受的最大负载量的测试, 例如,访问一个页面的响应时间规定不超过1秒,负载测试就是测试在响应时间为1秒时,系统所能承受的最大并发访问用户的数量。 性能测试:指在一定的约束条件下(指定的软件、硬件、网络环境等 阅读全文
posted @ 2020-10-29 14:56 anobscureretreat 阅读(1507) 评论(0) 推荐(0)
摘要: 性能测试包含负载测试、压力测试、大数据量测试、疲劳强度测试等。 阅读全文
posted @ 2020-10-29 14:54 anobscureretreat 阅读(1393) 评论(0) 推荐(0)
摘要: 制定性能测试计划—>开发测试脚本—>设计测试场景—>执行测试场景—>监控测试场景—>分析测试结果 阅读全文
posted @ 2020-10-29 14:53 anobscureretreat 阅读(429) 评论(0) 推荐(0)
摘要: 功能测试通过;一般需要进行性能测试的系统,都是用户量比较大、业务使用比较频繁、比较重要的功能模块。 阅读全文
posted @ 2020-10-29 14:51 anobscureretreat 阅读(1267) 评论(0) 推荐(0)
摘要: 安装 yum -y install httpd-tools 使用 [root@xxx ~]# ab ab: wrong number of arguments Usage: ab [options] [http[s]://]hostname[:port]/path Options are: -n r 阅读全文
posted @ 2020-10-29 13:39 anobscureretreat 阅读(124) 评论(0) 推荐(0)
摘要: WebBench的主要工作原理 下载地址: https://github.com/EZLippi/WebBench 安装: [root@xxx ~]# unzip master.zip creating: WebBench-master/ inflating: WebBench-master/LIC 阅读全文
posted @ 2020-10-29 13:12 anobscureretreat 阅读(245) 评论(0) 推荐(0)
摘要: 首页 详情页 github地址: https://github.com/fusu192/movieweb 阅读全文
posted @ 2020-10-21 14:08 anobscureretreat 阅读(643) 评论(0) 推荐(0)
摘要: 首页 # github地址: https://github.com/fusu192/musichtml 阅读全文
posted @ 2020-10-21 13:46 anobscureretreat 阅读(1290) 评论(0) 推荐(0)
摘要: 首页 登陆账号: 41110102 密码: 123456 项目地址: https://github.com/fusu192/lessons 阅读全文
posted @ 2020-10-21 13:10 anobscureretreat 阅读(584) 评论(0) 推荐(0)
摘要: code import time import sys,os import requests import shutil from selenium import webdriver from selenium.webdriver.common.keys import Keys from selen 阅读全文
posted @ 2020-10-21 13:03 anobscureretreat 阅读(1601) 评论(0) 推荐(0)
摘要: python3环境搭建,不赘述。 #小编使用的是python3.7pip3.7 install -U airtest #小编环境为macmacname@MacdeMBP Desktop % cd /Library/Frameworks/Python.framework/Versions/3.7/li 阅读全文
posted @ 2020-10-21 12:46 anobscureretreat 阅读(249) 评论(0) 推荐(0)
摘要: airtest环境搭建,将下面的图片和代码文件放在同一个目录下, 确保手机已开启usb调试, 将游戏调整到副本页面, 运行py文件,即可! pic # # # # code from airtest.core.api import * import time import datetime impo 阅读全文
posted @ 2020-10-21 12:45 anobscureretreat 阅读(207) 评论(0) 推荐(0)
摘要: 首先安装 pip install opencv-python -i https://pypi.douban.com/simple/ code import cv2 vidcap = cv2.VideoCapture('%93%81%E7%BB%8F%E7%90%86.mp4') success,im 阅读全文
posted @ 2020-10-20 13:20 anobscureretreat 阅读(1446) 评论(0) 推荐(0)
摘要: 软件测试可以理解成为一个用来鉴定软件是否符合需求以及是否有缺陷的过程。根据不同的维度,软件测试又可以细分成为不同的测试类型。 首先根据测试方法来划分,可以分为: 黑盒测试:最基础的功能测试,不关心内部的代码实现,而仅验证输入输出的正确性。 白盒测试:基于逻辑驱动或者基于代码测试,打开代码内部的实现, 阅读全文
posted @ 2020-10-16 22:29 anobscureretreat 阅读(145) 评论(0) 推荐(0)
摘要: 1.一行代码实现1--100之和 >>> >>> sum(range(1,101)) 5050 >>> 2.Python是如何进行内存管理的? 从三个方面来说,主要有方面的措施:对象的引用计数机制、垃圾回收机制、内存池机制。 一、对象的引用计数机制Python内部使用引用计数,来保持追踪内存中的对象 阅读全文
posted @ 2020-10-07 15:02 anobscureretreat 阅读(718) 评论(0) 推荐(0)
摘要: code class node: def __init__(self, data): self.data = data self.layer=None self.left_child = None self.right_child = None self.parent_node=None def a 阅读全文
posted @ 2020-10-06 15:05 anobscureretreat 阅读(1105) 评论(0) 推荐(0)
摘要: code class BinaryTree: def __init__(self, rootObj): self.key = rootObj self.leftChild = None self.rightChild = None def insertLeft(self, newNode): if 阅读全文
posted @ 2020-10-04 16:40 anobscureretreat 阅读(191) 评论(0) 推荐(0)
摘要: code ''' 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字, 例如,如果输入如下矩阵: [[ 1, 2, 3, 4], [ 5, 6, 7, 8], [ 9, 10, 11, 12], [13, 14, 15, 16]] 则依次打印出数字 1,2,3,4,8,12,16,15,1 阅读全文
posted @ 2020-10-04 12:40 anobscureretreat 阅读(314) 评论(0) 推荐(0)
摘要: code def reverse_str(tmp): alist=list(tmp) startIndex = 0 endIndex = len(alist) - 1 while startIndex < endIndex: alist[startIndex], alist[endIndex] = 阅读全文
posted @ 2020-10-04 11:21 anobscureretreat 阅读(281) 评论(0) 推荐(0)
摘要: code class Solution: # 按照书上的方法进行编写 # 因为Python的字符串结束没有结束符, 所以需要判断最后的pEnd是否已经指到最后一个字符 # 如果已经指到最后一个字符, 则直接在复制之后跳出循环 # 测试用例'I am a student.'和' '和'' def Re 阅读全文
posted @ 2020-10-04 11:13 anobscureretreat 阅读(526) 评论(0) 推荐(0)
摘要: code class Node: def __init__(self, initdata): self.data = initdata self.next = None def getData(self): return self.data def getNext(self): return sel 阅读全文
posted @ 2020-10-04 00:16 anobscureretreat 阅读(205) 评论(0) 推荐(0)
摘要: code def binarySearch(alist, item): first = 0 last = len(alist) - 1 while first <= last: mid = (first + last)//2 if alist[mid] > item: last = mid - 1 阅读全文
posted @ 2020-10-03 22:28 anobscureretreat 阅读(280) 评论(0) 推荐(0)
摘要: 注释如下代码 阅读全文
posted @ 2020-09-30 23:11 anobscureretreat 阅读(392) 评论(0) 推荐(0)
摘要: Squoosh 是谷歌推出的一款在线图像压缩工具,可帮助网站开发人员快速压缩图片,在保持图片质量的同时,提升网站访问速度。 Squoosh 使用起来也非常简单,在浏览器中打开页面后,可点击选择或直接往里面拖图片,在左下方可选择想要生成的图片格式,右下方选择图片质量,再下载即可。 本次使用的代码已经放 阅读全文
posted @ 2020-09-23 21:09 anobscureretreat 阅读(1043) 评论(0) 推荐(1)
摘要: code class mytest(): def __str__(self): return "hello" def __repr__(self): return "world" a=mytest() print(a) print(str(a)) print(repr(a)) outputs mac 阅读全文
posted @ 2020-09-13 15:42 anobscureretreat 阅读(248) 评论(0) 推荐(0)
摘要: 从对象内存地址方向来说 可变数据类型:在内存地址不变的情况下,值可改变(列表和字典是可变类型,但是字典中的 key 值必须是不可变类型) 不可变数据类型:内存改变,值也改变。(数字,字符串,布尔类型,都是不可变类型)可以通过 id() 方法进行内存地址的检测。 阅读全文
posted @ 2020-09-13 12:15 anobscureretreat 阅读(485) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 68 下一页