会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AngDH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
125
下一页
2023年11月1日
mongodb 查找数据库中所有以 "xxxx" 开头的集合
摘要: use yourDatabaseName // 切换到你的数据库名称 db.getCollectionNames().forEach(function(collectionName) { if (collectionName.startsWith("xxxx")) { print(collectio
阅读全文
posted @ 2023-11-01 12:29 AngDH
阅读(162)
评论(0)
推荐(0)
2023年10月30日
如何 调试 Babel 源码
摘要: https://s.juejin.cn/ds/id3q5Wdh/
阅读全文
posted @ 2023-10-30 13:50 AngDH
阅读(29)
评论(0)
推荐(0)
2023年10月27日
js rsa
摘要: $0=undefined; var py = "0123456789abcdefghijklmnopqrstuvwxyz"; function v0(t) { return py.charAt(t) } function hy(t, e) { return t & e } function vs(t
阅读全文
posted @ 2023-10-27 16:10 AngDH
阅读(63)
评论(0)
推荐(0)
//# sourceURL=xxx
摘要: //# sourceURL=xxx eval(` function add(a,b){ debugger; return a + b; }; console.log(add(1,3)); //# sourceURL=angdh.js `)
阅读全文
posted @ 2023-10-27 13:29 AngDH
阅读(82)
评论(0)
推荐(0)
window.crypto.getRandomValues
摘要: var arr = new Uint8Array(8); var crypto = window.crypto || window.webkitCrypto || window.mozCrypto || window.oCrypto || window.msCrypto; if (crypto) {
阅读全文
posted @ 2023-10-27 11:49 AngDH
阅读(580)
评论(0)
推荐(0)
2023年10月26日
js HmacSHA256 改python
摘要: uu.HmacSHA256(JSON.stringify(e), t).toString(uu.enc.Base64) def demo2(t, account, password, rsaKey): import hmac import hashlib import base64 aaa = f'
阅读全文
posted @ 2023-10-26 17:31 AngDH
阅读(168)
评论(0)
推荐(0)
Python函数超时,用装饰器解决, win可以运行
摘要: https://mp.weixin.qq.com/s/u5VGromE6iJmBBUoNaPFmw pip install func_timeout # -*- coding: utf-8 -*- import time from func_timeout import func_set_timeo
阅读全文
posted @ 2023-10-26 15:08 AngDH
阅读(95)
评论(0)
推荐(0)
2023年10月25日
cdp Page.addScriptToEvaluateOnNewDocument
摘要: 加载新页面之前插入自定义的 JavaScript 脚本 selenium 过环境检测 ```python with open(path+'/stealth.min.js') as f: js = f.read() driver.execute_cdp_cmd("Page.addScriptToEva
阅读全文
posted @ 2023-10-25 18:15 AngDH
阅读(328)
评论(0)
推荐(0)
2023年10月22日
hook array
摘要: // 保存原始的Array构造函数 const originalArray = Array; // 创建一个代理Array构造函数 const hookedArray = new Proxy(originalArray, { construct: function(target, arguments
阅读全文
posted @ 2023-10-22 17:49 AngDH
阅读(134)
评论(0)
推荐(0)
2023年10月18日
老生代
摘要: 老生代内存是用于保存生命周期较长或常驻内存的对象,占用的内存较多。Chrome V8和Node.js的老生代内存空间都很大,因此它们的垃圾回收机制采用了Mark-Sweep和Mark-Compact的结合体,主要采用Mark-Sweep。当老生代空间不足以分配从新生代晋升过来的对象时,才使用Mark
阅读全文
posted @ 2023-10-18 13:08 AngDH
阅读(46)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
125
下一页
公告