上一页 1 2 3 4 5 6 ··· 34 下一页
摘要: Python:列出列表中所有元素的组合可能 from itertools import combinationsdef combine(temp_list, n): '''根据n获得列表中的所有可能组合(n个元素为一组)''' temp_list2 = [] for c in combination 阅读全文
posted @ 2021-05-24 17:14 逐梦~前行 阅读(2610) 评论(0) 推荐(0) 编辑
摘要: def __init__(self, crawler): self.crawler = crawler @classmethod def from_crawler(cls, crawler): return cls(crawler) # 结束爬虫 self.crawler.engine.close_ 阅读全文
posted @ 2021-05-06 17:33 逐梦~前行 阅读(253) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#文件名:test.shname="xiongzaiqiren"echo $name echo "BACKUP DATE:" $(date +"%Y-%m-%d %H:%M:%S") DATE=`date '+%Y%m%d-%H%M%S'`echo $DATE LogDATE= 阅读全文
posted @ 2021-04-16 15:12 逐梦~前行 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 源码:https://github.com/mitmproxy/mitmproxy mitmdump -q:屏蔽mitmdump默认的控制台日志,只显示自己脚本中的 -s:入口脚本文件 -p:更改端口,默认为8080 修改脚本文件时,不用重启也会生效 针对 HTTP 生命周期的事件 请求:def r 阅读全文
posted @ 2021-04-02 16:45 逐梦~前行 阅读(825) 评论(0) 推荐(1) 编辑
摘要: 谷歌商店安装:https://chrome.google.com/webstore/detail/reres/gieocpkbblidnocefjakldecahgeeica?hl=zh-CN&gl=CN 安装好后,在chrome://extensions/找到 ReRes ,勾选允许访问文件网址, 阅读全文
posted @ 2021-04-02 14:39 逐梦~前行 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: 在win7电脑上做安卓开发,adb时小米note始终发现不了设备,主要还是驱动问题,解决步骤如下: 1.确保电脑上已经安装小米note的驱动: 1.1下载小米助手并安装,下载地址:http://www.pc6.com/softview/softview_88819.html 1.2 在把手机连入电脑 阅读全文
posted @ 2021-03-09 11:40 逐梦~前行 阅读(511) 评论(0) 推荐(0) 编辑
摘要: 在xp下似乎只能下载7-zip 进行crc验证,win7以上请接着看: 打开命令窗口,不会的就Win + R,然后输入cmd C:\Users\Administrator>certutil -hashfile C:\Users\Administrator\Desktop\Test.md MD5MD5 阅读全文
posted @ 2021-02-27 20:46 逐梦~前行 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 文章目录 1 概述 2 启动方式 2.1 使用js脚本启动 2.2 使用python脚本启动 3 Android 常用Hook方法汇总 3.1 Hook 一般函数 使用implementation 3.2 Hook 重载函数 使用overload 3.3 Hook 构造函数 使用$init 3.4 阅读全文
posted @ 2021-01-20 16:00 逐梦~前行 阅读(3419) 评论(0) 推荐(0) 编辑
摘要: linux ubuntu conda 安装talib的方法一 1.conda update -n base -c defaults conda2.conda install -c quantopian ta-lib 或方法二pip install TA-Lib –user 或方法三1.sudo ap 阅读全文
posted @ 2021-01-13 10:19 逐梦~前行 阅读(1243) 评论(0) 推荐(0) 编辑
摘要: 配置Supervisor开机启动: 新建一个“supervisord.service”文件 # dservice for systemd (CentOS 7.0+) # by ET-CS (https://github.com/ET-CS) [Unit] Description=Supervisor 阅读全文
posted @ 2020-12-21 10:13 逐梦~前行 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 34 下一页