Given an array of non-negative integers nums, you are initially positioned at the first index of the array. Each element in the array represents your ...
分类:
其他好文 时间:
2020-12-29 11:18:24
阅读次数:
0
var window_h=function(element,height){ var element=document.getElementsByClassName(element); for(let i=0;i<element.length;i++){ element[i].style.heigh ...
分类:
其他好文 时间:
2020-12-29 11:11:45
阅读次数:
0
package LeetCode_562 /** * 562. Longest Line of Consecutive One in Matrix * (Prime) *Given a 01 matrix M, find the longest line of consecutive one in ...
分类:
其他好文 时间:
2020-12-28 11:58:19
阅读次数:
0
一段代码:<div id="elem">hello <b>world</b></div> 使用场景:作用于(读取或者替换)一段HTML代码。 div.outerHTML='<p>a new element</p>'; div.innerHTML='<p>a new element</p>'; inn ...
分类:
Web程序 时间:
2020-12-28 11:46:19
阅读次数:
0
在使用element-ui导入表格时提示此报错是因为还差一个el-table-column组件,导入此组件即可 ...
分类:
其他好文 时间:
2020-12-28 11:20:11
阅读次数:
0
<el-menu class="left-menu" :default-active="$route.name" :unique-opened="true" :collapse="isCollapse"> <template v-for="(m, x) in menuOpts.data" > <el ...
分类:
其他好文 时间:
2020-12-28 10:57:57
阅读次数:
0
在前后台分离开发模式大行其道的今天,前端也形成了自己的一套工程体系,随着业务的不同,前端也诞生了很多相应的解决方案,那么我们在开发初期因该如何选择呢,我们来回顾常用应用有哪些。(本文只是自己得理解, 有理解错得地方希望老鸟帮忙指点一二) SPA,单页面应用 单页面应用做为各种解决方案得基础,不得不说 ...
分类:
其他好文 时间:
2020-12-25 12:30:53
阅读次数:
0
B - Lucky Mask Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record contains only the lu ...
分类:
其他好文 时间:
2020-12-25 12:22:13
阅读次数:
0
stl常用容器-string C++标准库定义了一种string类,定义在头文件<string> string封装了很多使用的办法: 查找find,拷贝copy,删除delete,替换replace,插入insert 不用考虑内存释放和越界,string管理char*分配的内存,每一次的string ...
分类:
其他好文 时间:
2020-12-25 12:10:04
阅读次数:
0
服务器上的一些统计数据: 1)统计80端口连接数 netstat -nat|grep -i “80”|wc -l 2)统计httpd协议连接数 ps -ef|grep httpd|wc -l 3)、统计已连接上的,状态为“established netstat -na|grep ESTABLISHE ...
分类:
Web程序 时间:
2020-12-25 11:50:10
阅读次数:
0