码迷,mamicode.com
首页 >  
搜索关键字:ever    ( 3292个结果
数组的 增删改查 及常见方法
<script>var arr=[1,2,3,4]// 增 // push() 方法 // 在数组末尾增加元素 返回的是新数组的长度 // arr.push(5,6) // alert(arr.push(5,6))//8 // alert(arr)//1,2,3,4,5,6,5,6 // unshi ...
分类:编程语言   时间:2018-08-22 00:14:29    阅读次数:237
Linux / mysql: is it safe to copy mysql db files with cp command from one db to another?
Copying is very simple for MyISAM and completely 100% risky (near suicidal) with InnoDB.From your question, you brought upcp /db1/mytable.frm /db2/myt... ...
分类:数据库   时间:2018-08-21 19:04:52    阅读次数:202
bugku 猫片
下来后更改后缀为png binwalk分析后并没有得到什么,放到stegsolve中各种尝试发现下面这段,还带有png,说明可以生成一张png图片 不过png图片开头是89504e,所以在HxD打开把前面的删掉 保存后发现得到一张缺少下半边的半张二维码 对于这种情况可以选择改高度 从图片的属性可以知 ...
分类:其他好文   时间:2018-08-19 20:10:23    阅读次数:257
PAT 1112 Stucked Keyboard
On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep ...
分类:其他好文   时间:2018-08-19 18:26:26    阅读次数:222
206. Reverse Linked List (LL)
熟悉了一下linkedlist的构造和处理 ...
分类:其他好文   时间:2018-08-18 00:51:12    阅读次数:121
POJ 1416 Shredding Company【dfs入门】
题目传送门:http://poj.org/problem?id=1416 Shredding Company Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 6860 Accepted: 3710 Description You ...
分类:其他好文   时间:2018-08-17 22:21:10    阅读次数:178
Coloring a Tree(耐心翻译+思维)
Description You are given a rooted tree with n vertices. The vertices are numbered from 1 to n, the root is the vertex number 1. Each vertex has a col ...
分类:其他好文   时间:2018-08-17 21:35:04    阅读次数:324
STL源码分析:Adapters
配接器在STL组件的灵活组合运用功能上,扮演着轴承、转换器的角色。Adaper这个概念,事实上是一种设计模式。在《设计模式》中adapter定义如下:将一个class的接口转换为另一个class的接口,使原本因接口不兼容而不能合作的classes,可以一起运作。 配接器分为 function ada ...
分类:其他好文   时间:2018-08-17 17:49:45    阅读次数:139
Python
names = ["AA","BB","CC","DD","DD","FF"] print(names[1]) #取值 print(names[0:4]) #切片 print(names[-2:])#以坐标的方式取值,左闭右开,不写默认正/负无穷 names.append("EE")#在最后追加字符 ...
分类:编程语言   时间:2018-08-17 00:38:29    阅读次数:154
关于处理数组的用法小结
新增数组去重的好方法 [1,2,3,'a',1,'a'].filter( (ele,index,array)=>{return index array.indexOf(ele)} ) 序号方法作用用法是否影响原数组1unshift在数组前面增加内容arr.unshift()是2push在数组后面增加 ...
分类:编程语言   时间:2018-08-16 19:33:42    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!