摘要: Error: certificate is not yet valid at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34) at TLSSocket.emit (events.js:315:20) at TLSSocket._finishInit 阅读全文
posted @ 2023-11-25 20:14 木章 阅读(733) 评论(0) 推荐(0) 编辑
摘要: option = { "title": [ { "textAlign": "center", "text": "linear", "textStyle": { "fontSize": 12, "fontWeight": "normal" }, "left": "25%", "top": "0.5%" 阅读全文
posted @ 2023-10-30 13:12 木章 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 数厂代码,未实现 伪负载均衡 // 伪负载均衡 /* ;(() => { let nodes = JSON.parse(JSON.stringify(data.nodes)); let edges = JSON.parse(JSON.stringify(data.edges)); // 排查特殊节点 阅读全文
posted @ 2023-07-18 14:31 木章 阅读(6) 评论(0) 推荐(0) 编辑
摘要: http://ip-api.com/json 阅读全文
posted @ 2021-07-26 09:12 木章 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 把所有属性信息打印到流内容,过滤排除一些默认的服务信息属性 1 var StreamCallback = Java.type("org.apache.nifi.processor.io.StreamCallback") 2 var IOUtils = Java.type("org.apache.co 阅读全文
posted @ 2021-07-22 14:17 木章 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Rollup 是一个 JavaScript 模块打包器,可以将小块代码编译成大块复杂的代码,例如 library 或应用程序。 阅读全文
posted @ 2019-03-19 11:03 木章 阅读(111) 评论(0) 推荐(0) 编辑
摘要: /* 1. fs.stat 检测是文件还是目录(目录 文件是否存在) 2. fs.mkdir 创建目录 (创建之前先判断是否存在) 3. fs.writeFile 写入文件(文件不存在就创建,但不能创建目录) 4. fs.appendFile 写入追加文件 5.fs.readFile 读取文件 6.fs.readdir 读取目录 7.fs.rename 重命名 ... 阅读全文
posted @ 2019-01-08 09:20 木章 阅读(232) 评论(0) 推荐(0) 编辑
摘要: let renderer = new THREE.WebGLRenderer({ antialias: true, // true/false表示是否开启反锯齿 alpha: true, // true/false 表示是否可以设置背景色透明 precision: 'highp', // highp/mediump/lowp 表示着色精度选择 premultipl... 阅读全文
posted @ 2018-12-28 11:53 木章 阅读(942) 评论(0) 推荐(0) 编辑
摘要: 一、基本材质 二、Lambert材质 例子: 三、Phong材质 阅读全文
posted @ 2018-12-27 11:53 木章 阅读(565) 评论(0) 推荐(0) 编辑
摘要: var loader = new THREE.FontLoader(); loader.load('字体库路径helvetiker_regular.typeface.json', function(font) { var mesh = new THREE.Mesh(new THREE.TextGeometry('Hello', { font: font, ... 阅读全文
posted @ 2018-12-27 10:07 木章 阅读(1563) 评论(0) 推荐(0) 编辑