上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: //bitmap 判断是否存在 Buffer.prototype.hasBit=function(num){ const n=num>>3; const k=num%8; return (this[n]&1<<k)!==0 } Buffer.prototype.setBit=function(num 阅读全文
posted @ 2020-03-18 14:06 无工时代 阅读(197) 评论(0) 推荐(0)
摘要: demo地址 http://106.13.201.82/demo/page_change.html page_change.vue <template> <div class="flex" :class="direction" :style="{width:width,height:height}" 阅读全文
posted @ 2020-03-14 14:19 无工时代 阅读(3189) 评论(0) 推荐(0)
摘要: function getText(time,callback) { setTimeout(function () { callback(time) },time) } var callbackMap={};//记录加载完成的回调 var resMap={};//记录url var loadbackM 阅读全文
posted @ 2020-03-11 00:43 无工时代 阅读(188) 评论(0) 推荐(0)
摘要: //通过贝叶斯概率机器学习 const execMathExpress=require('exec-mathexpress'); //一个神经元,同过学习特征,判断是否发出信号 class Yuan { constructor(props) { this.props=props||{}; } //学 阅读全文
posted @ 2020-02-29 23:59 无工时代 阅读(350) 评论(0) 推荐(0)
摘要: //通过贝叶斯概率机器学习 const execMathExpress=require('exec-mathexpress'); //一个神经元,同过学习特征,判断是否发出信号 class Yuan { constructor(props) { this.props=props||{}; } //学 阅读全文
posted @ 2020-02-26 16:22 无工时代 阅读(262) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-11-26 15:23 无工时代 阅读(3) 评论(0) 推荐(0)
摘要: const fs=require('fs-extra');const ShortName=require('./ShortName');const WashRoom=require('./WashRoom')//本地数据库class LocalStorage{ constructor(tagDir) { this.dbDir=tagDir||__dirname+'/db/';... 阅读全文
posted @ 2019-11-25 16:15 无工时代 阅读(248) 评论(0) 推荐(0)
摘要: 将内容生成一个key或者id的短链 阅读全文
posted @ 2019-11-25 16:14 无工时代 阅读(337) 评论(0) 推荐(0)
摘要: const md5=require('./utils/md5')const fs=require('fs-extra');//分割符号和字符长度const splitCode=',';const tagLen=3;const dir='tag/';fs.ensureDirSync(dir);//查找function find(s1) { const mstr= md5(String(s1)... 阅读全文
posted @ 2019-11-21 00:20 无工时代 阅读(271) 评论(0) 推荐(0)
摘要: 最近公司人多厕所少,写个代码描述下场景,有点恶心,见谅哈哈 输出: "C:\Program Files\nodejs\node.exe" D:\360jr\360jr-wlh\koa-app\src\washRoom.js0 '排队'1 '排队'2 '排队'3 '排队'4 '排队'5 '排队'0 ' 阅读全文
posted @ 2019-11-17 16:09 无工时代 阅读(384) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页