自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 kali arm64 源设置

kali

2022-11-17 02:06:11 808 1

原创 json按key排序

let myObj = { x: 1, a: 1 }let replacer = [‘a’,‘x’]JSON.stringify(myObj, replacer)//replacer数组有过滤效果,并且会按照数组的顺序对myObj进行排序,所以最终会返回"{ a: 1, x: 1 }"

2022-03-14 22:04:40 446

原创 用肯定环视模拟固化分组

(?>\w): 等价于 (?=(\w+))\1:

2022-02-16 20:37:28 170

原创 vscode的正则搜索引擎是NFA

正则表达式

2022-02-10 22:41:36 260

原创 js实现并发执行

每次执行完后拉取一个任务class Queue { constructor() { this._queue = []; } push(value) { return this._queue.push(value); } shift() { return this._queue.shift(); } isEmpty() { return this._queue.length === 0; }

2021-11-09 00:37:37 860

原创 js forEach原理

let arr = [1,2,3]arr.forEach( (item,index)=>{ arr.shift() console.log(arr,item,index,arr[index])})打印结果:[ 2, 3 ] 1 0 2[ 3 ] 3 1 undefined解析:forEach底层走的还是for循环,第二次运行时 arr=[2,3], index = 1,因此item = arr[index] = 3, arr.shift()后,arr=[3],arr[

2021-10-20 02:11:20 1033

原创 Echarts横向柱状图配置

主要修改的option为yAxis,seriesy轴本来是value轴,现在改为category轴灰色的bar的data全设为1 getBarOption: function (titleText, barName, barData) { var that = this var option = { title: { text: titleText, left: "left", top: 0, paddin

2020-10-17 17:13:26 2683

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除