1.九寨沟景点 import asyncio import requests from bs4 import BeautifulSoup base_url = 'https://www.jiuzhai.com/{0}' async def parse_next_html(response): sou ...
分类:
编程语言 时间:
2020-06-23 15:31:36
阅读次数:
63
琐碎代码1——延时函数 ARM: delay: ldr r3, =100000 ldr r4, =0x0 delay_loop: sub r3, r3, #1 //r3 = r3 -1 cmp r3, r4 // cmp会影响Z标志位,如果r4等于r3则Z=1,下一句中eq就会成立 bne dela ...
分类:
其他好文 时间:
2020-06-22 15:33:40
阅读次数:
105
异步协程 wait()方法的作用 wait方法的参数只能是任务列表,作用:wait可以将任务列表中的每一个任务对象进行可挂起操作 挂起 可以让当前被挂起的任务对象交出CPU的使用权 实现异步的原理: 当任务列表被wait方法修饰且已经被注册到事件循环中后,loop就会先去执行第一个任务对象, 在执行 ...
分类:
编程语言 时间:
2020-06-21 10:03:47
阅读次数:
71
异步协程 wait()方法的作用 wait方法的参数只能是任务列表,作用:wait可以将任务列表中的每一个任务对象进行可挂起操作 挂起 可以让当前被挂起的任务对象交出CPU的使用权 实现异步的原理: 当任务列表被wait方法修饰且已经被注册到事件循环中后,loop就会先去执行第一个任务对象, 在执行 ...
分类:
编程语言 时间:
2020-06-21 09:25:39
阅读次数:
56
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to ...
分类:
数据库 时间:
2020-06-20 21:12:23
阅读次数:
79
手机抓包,不想走内网本机的网关。理论上模拟器和本机是连接的,不需要通过网关吧 0X01 mumu模拟器 1) 定IP 找到mumu的adb --> adb_server.exe C:\Program Files (x86)\MuMu\emulator\nemu\vmonitor\bin\adb_se ...
分类:
移动开发 时间:
2020-06-19 15:49:08
阅读次数:
62
[e:loop={'select * from [!db.pre!]enewsclass where bclassid in(1) order by rand() desc limit 10',10,24,0}] <? if($bqr['classurl']=='') { $sccurl=$publ ...
分类:
其他好文 时间:
2020-06-19 00:51:18
阅读次数:
54
1.使用cat查看系统信息: cat /proc/cpuinfo 显示CPU info的信息 cat /proc/interrupts 显示中断 cat /proc/meminfo 校验内存使用 cat /proc/swaps 显示哪些swap被使用 cat /proc/version 显示内核的版 ...
分类:
系统相关 时间:
2020-06-18 15:48:39
阅读次数:
58
IP地址表示,IP地址有两个部分组成,net-id和host-id,即网络号和主机号。 127.0.0.1 127.0.0.1属于{127,}集合中的一个,所有的网络号为127的地址都被称为环回地址,所以环回地址不等价于127.0.0.1,后者只是环回地址的一份子,是包含关系,环回地址loop ba ...
分类:
系统相关 时间:
2020-06-18 10:56:52
阅读次数:
126
用以上语句导出excel的时候报错:信息: Request processing failed; nested exception is org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears ...
分类:
移动开发 时间:
2020-06-18 10:44:13
阅读次数:
113