上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: 1. 进入到bootloader 按着手机开机键+ 音量- 键,进入到bootloader2. 查看到已连接的设备 fastboot devices 3. 解锁 fastboot oem unlock 4. 检查是否已经解锁 fastboot oem device-info 第二行 Device u 阅读全文
posted @ 2022-01-06 14:40 淋哥 阅读(1412) 评论(0) 推荐(0)
摘要: 今天root pixel xl 开机失败了,连开机都开不了了. 手机开机显示 Your device software can't be checked for corruption.Please lock the bootloader. 然后卡在一个显示Google字样的界面. 手机成砖头了,赶紧 阅读全文
posted @ 2022-01-04 17:31 淋哥 阅读(2758) 评论(0) 推荐(0)
摘要: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also si 阅读全文
posted @ 2021-12-15 14:34 淋哥 阅读(1724) 评论(0) 推荐(0)
摘要: C:\Users\DELL>adb shellerror: more than one device and emulator 方法一: 启动任务管理器,结束adb进程即可。 方法二: 打开cmd ,输入下面的命令 taskkill /f /im adb.exe 阅读全文
posted @ 2021-12-07 15:00 淋哥 阅读(320) 评论(0) 推荐(0)
摘要: 1. windows 10 系统没有 Hyper-V 2. 新建一个 Hyper-V.bat 文件,输入如下内容。 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i i 阅读全文
posted @ 2021-11-24 16:56 淋哥 阅读(542) 评论(0) 推荐(0)
摘要: 需要对谷歌插件进行网络请求分析,正常的fiddler无法抓包,研究了一番,使用浏览器代理的方式进行抓包。 1. 安装谷歌插件 2. 安装代理插件 Proxy SwitchyOmega 正常安装即可 3. 设置 Proxy SwitchyOmega ip地址和端口 设置完毕后注意启动代理 5. 启动f 阅读全文
posted @ 2021-11-18 12:08 淋哥 阅读(1667) 评论(0) 推荐(0)
摘要: import os # 拨号断开 os.popen('rasdial 网络链接名称 /disconnect') # 拨号 os.popen('rasdial 网络链接名称 adsl账号 adsl密码') 阅读全文
posted @ 2021-11-17 13:58 淋哥 阅读(364) 评论(0) 推荐(0)
摘要: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead driver.find_element_by_class_name('content-wrapper-in 阅读全文
posted @ 2021-11-01 20:35 淋哥 阅读(1731) 评论(0) 推荐(1)
摘要: 在index.html文件头加上 <meta name="referrer" content="never"> 阅读全文
posted @ 2021-10-11 17:25 淋哥 阅读(116) 评论(0) 推荐(0)
摘要: 1. 前言 crawlab 是基于Golang的分布式爬虫管理平台,但是没有实现批量添加爬虫的功能。 作为党国的优秀青年,怎么可以容忍这件事情呢,那就实现一个脚本去批量添加爬虫吧。 2. 主要解决的问题是 需要抓取的网站有几百个,爬虫代码编写完毕,但是需要手动的去添加爬虫代码,一个一个的去添加,累死 阅读全文
posted @ 2021-08-22 11:35 淋哥 阅读(590) 评论(0) 推荐(0)
摘要: 在编写爬虫代码的过程中,程序员会使用redis 集合进行去重,今天就测试一下redis去重需要多少内存的问题 过程:我们对10w,100w,1000w 的数字进行 md5 加密,生成唯一的32位字符串,然后存入到redis集合中去,通过rdm 的 内存分析占用查看redis的大小。 1. 对10w 阅读全文
posted @ 2021-07-24 17:11 淋哥 阅读(693) 评论(0) 推荐(0)
摘要: 需要对一个数据进行精确的计算,比如 2.37% 需要得到 0.0237 首先看截图 得到的结果是 0.023700000000000002,这个肯定是不可以的, 解决办法: 代码: from decimal import Decimal def spider(): a = '2.37' res = 阅读全文
posted @ 2021-07-22 10:45 淋哥 阅读(304) 评论(0) 推荐(0)
摘要: 在使用seleinum的时候,如果模拟谷歌或者火狐浏览器,出现一个界面的话太难受了所幸firefox和chrome都有了无头模式,也就是没有界面的浏览器,在内存中执行。 firefox设置: from selenium import webdriver options = webdriver.Fir 阅读全文
posted @ 2021-07-06 17:03 淋哥 阅读(898) 评论(0) 推荐(1)
摘要: Error: Uncaught [TypeError: Cannot read property 'userAgent' of undefined] at reportException (D:\cnipa\node_modules\jsdom\lib\jsdom\living\helpers\ru 阅读全文
posted @ 2021-06-30 16:50 淋哥 阅读(1699) 评论(0) 推荐(0)
摘要: 1. 打开fiddler 在rules >Customize Rules 中加入代码 2. 搜索 Utilities.LaunchHyperlink(sAction); 下其下面增加代码即可 代码: public static BindUIColumn("TimeTaken/ms", 120) fu 阅读全文
posted @ 2021-06-29 19:17 淋哥 阅读(464) 评论(0) 推荐(0)
摘要: function paramsToFormData(obj) { const formData = new FormData(); Object.keys(obj).forEach((key) => { if (obj[key] instanceof Array) { obj[key].forEac 阅读全文
posted @ 2021-06-29 11:37 淋哥 阅读(1573) 评论(0) 推荐(0)
摘要: 直接上代码 var url = "https://www.cnblogs.com/xuchunlin/p/14848864.html" var time = 10000; var timeout = false; var request = new XMLHttpRequest(); var tim 阅读全文
posted @ 2021-06-28 17:14 淋哥 阅读(2830) 评论(0) 推荐(0)
摘要: 直接上代码 function doSave(value, type, name) { var blob; if (typeof window.Blob == "function") { blob = new Blob([value], {type: type}); } else { var Blob 阅读全文
posted @ 2021-06-28 17:12 淋哥 阅读(327) 评论(0) 推荐(0)
摘要: function sleep(n) { var start = new Date().getTime(); while (true) { if (new Date().getTime() - start > n) { break; } } } console.log(11111111) sleep( 阅读全文
posted @ 2021-06-28 17:11 淋哥 阅读(151) 评论(0) 推荐(0)
摘要: Traceback (most recent call last): File "D:/spider_telegram/spider_17_deribit/spider_2_get_content.py", line 213, in <module> hour_spider(item) File " 阅读全文
posted @ 2021-06-22 16:25 淋哥 阅读(1311) 评论(0) 推荐(0)
摘要: 抓取某个网站的数据,代码如下 instrument_name = "BTC-25JUN21-28000-P" msg = { "jsonrpc": "2.0", "id": 3983, "method": "public/get_last_trades_by_instrument_and_time" 阅读全文
posted @ 2021-06-21 15:02 淋哥 阅读(2120) 评论(0) 推荐(0)
摘要: 附图收费表 Type of captcha/method Rate per 1000 Description Normal CaptchaText Captcha $0.5-$1 The rate is flexible and depends on current load of the serv 阅读全文
posted @ 2021-06-16 11:06 淋哥 阅读(1813) 评论(0) 推荐(0)
摘要: nodemon是一种工具,可以自动检测到目录中的文件更改时通过重新启动应用程序来调试基于node.js的应用程序。 1. 安装 npm install -g nodemon 2. 使用 nodemon main.js // 启动main服务 延迟重启 nodemon -delay10 main.js 阅读全文
posted @ 2021-06-11 15:01 淋哥 阅读(430) 评论(0) 推荐(0)
摘要: 合作方公司提出 OpenSSL 拒绝服务漏洞,还是高危漏洞,吓死宝宝了,这是什么高危漏洞呢,经过一系列的沟通,其实就是对 云服务器上的openssl 进行升级 执行命令如下 查看openssl 的版本号 openssl version 下载升级的版本号,注意高版本降低低版本可能会造成系统无法打开的情 阅读全文
posted @ 2021-06-09 14:37 淋哥 阅读(760) 评论(0) 推荐(0)
摘要: windows下批量杀死进程 taskkill /F /im python3.exe 阅读全文
posted @ 2021-06-08 14:01 淋哥 阅读(56) 评论(0) 推荐(0)
摘要: ./bin/mysql --socket=/home/ubuntu/xuchunlin/mysql/mysql.sock -uroot -p./bin/mysql: error while loading shared libraries: libncurses.so.5: cannot open 阅读全文
posted @ 2021-06-07 18:03 淋哥 阅读(1400) 评论(0) 推荐(0)
摘要: 打开网站会看到瑞数的无限degugger,特恶心啊 魔高一尺道高一丈 怎么处理呢? 选中 debugger这行,然后 Edit breakpoint ,输入if 1>2 即可 阅读全文
posted @ 2021-06-04 11:26 淋哥 阅读(1585) 评论(0) 推荐(0)
摘要: 在平时的开发中,需要获取最近几个月,最近几年或者最近几天的时间列表,本文使用了arrow去实现了这几个过程。 def get_day(num): day_list = [] a = arrow.now() # 当前本地时间 for i in range(0, num + 1): yearmonth 阅读全文
posted @ 2021-05-29 11:23 淋哥 阅读(1179) 评论(0) 推荐(0)
摘要: 临时解决方案,重启MySQL服务会失效第一步:查看 innodb_buffer_pool_size 值 的大小 show variables like "%_buffer%"; 第二步:修改 SET GLOBAL innodb_buffer_pool_size=67108864;(3*1024*10 阅读全文
posted @ 2021-05-25 14:06 淋哥 阅读(4078) 评论(0) 推荐(0)
摘要: 本文主要讲解如何找到win10 系统的 my.ini 文件 1. 找到服务程序。 桌面图标 计算机 右键 点击管理 找到 mysql 8.0 服务 第二步: 查看 mysql 8.0 的属性 查看可执行文件的路径 "C:\Program Files\MySQL\MySQL Server 8.0\bi 阅读全文
posted @ 2021-05-21 11:59 淋哥 阅读(2603) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 16 下一页