会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AngDH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
70
71
72
73
74
75
76
77
78
···
123
下一页
2021年7月16日
y的最大值最小值切割
摘要: #目标图 img_b64decode = base64.b64decode(target) image_io = io.BytesIO(img_b64decode) img = Image.open(image_io).convert("RGB") # 转灰度 target_gray = cv2.c
阅读全文
posted @ 2021-07-16 16:56 AngDH
阅读(1145)
评论(0)
推荐(0)
2021年7月15日
滑块图片拼接
摘要: 原图 拼接后 image = b'iVBORw0KGgoAAAANSUhEUgAAAC8AAACbCAYAAADyfMLPAAAQ/UlEQVR42u2aCXCU53nHnUzbNMcktT2x08QGbMDmFocNMuIQCAECJJCE0AmSAB0gJCTQfSB0oBvdWu3qWGl3d
阅读全文
posted @ 2021-07-15 14:14 AngDH
阅读(3672)
评论(0)
推荐(0)
2021年7月13日
ast 对象还原
摘要: https://www.cnblogs.com/hanyanling/p/13472711.html const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@ba
阅读全文
posted @ 2021-07-13 07:19 AngDH
阅读(247)
评论(0)
推荐(0)
2021年7月12日
babel/types is判断
摘要: "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isArrayExpression = isArrayExpression; exports.isAssignmentExpres
阅读全文
posted @ 2021-07-12 21:33 AngDH
阅读(427)
评论(0)
推荐(0)
t.isLiteral()
摘要: function isLiteral(node, opts) { if (!node) return false; const nodeType = node.type; if ("StringLiteral" nodeType || "NumericLiteral" nodeType || "Nu
阅读全文
posted @ 2021-07-12 21:14 AngDH
阅读(42)
评论(0)
推荐(0)
2021年7月11日
js reflect
摘要: Reflect对象的设计目的 1.将Object对象的一些明显属于语言内部的方法(比如Object.defineProperty),放到Reflect对象上。现阶段,某些方法同时在Object和Reflect对象上部署,未来的新方法将只部署在Reflect对象上。也就是说,从Reflect对象上可以
阅读全文
posted @ 2021-07-11 14:47 AngDH
阅读(335)
评论(0)
推荐(0)
js 设计模式
摘要:
阅读全文
posted @ 2021-07-11 13:15 AngDH
阅读(31)
评论(0)
推荐(0)
2021年7月9日
js 单例模式
摘要:
阅读全文
posted @ 2021-07-09 08:46 AngDH
阅读(24)
评论(0)
推荐(0)
2021年7月8日
ast babel generator
摘要: https://blog.csdn.net/qq523176585/article/details/110298488 options = { retainLines:true // 保留源代码的行号 comments:true //是否保留注释 compact:true //是否压缩代码 } im
阅读全文
posted @ 2021-07-08 09:46 AngDH
阅读(253)
评论(0)
推荐(0)
2021年7月7日
将dom转成list
摘要: let slice = Array.prototype.slice slice.call(document.querySelectorAll("li"))
阅读全文
posted @ 2021-07-07 21:00 AngDH
阅读(73)
评论(0)
推荐(0)
上一页
1
···
70
71
72
73
74
75
76
77
78
···
123
下一页
公告