码迷,mamicode.com
首页 >  
搜索关键字:cells    ( 1822个结果
gitlab基本维护和使用
基本介绍 GitLab是一个自托管的Git项目仓库,可以自己搭建个人代码管理的仓库,功能与github类似。 安装 下载 gitlab下载地址: https://about.gitlab.com/downloads/ 安装依赖的包 1 2 3 4 5 6 7 8 9 10 11 sudo yum i ...
分类:其他好文   时间:2017-10-28 16:33:50    阅读次数:155
function用es6怎么写
1、普通函数的定义,用箭头函数表示,DemoFunction是函数名,括号表示参数,大括号表示函数体的内容。 1 2 3 let DemoFunc = (param) => { console.log(param) } let DemoFunc = (param) => { console.log( ...
分类:其他好文   时间:2017-10-26 11:51:14    阅读次数:208
JS中的DOM---表格对象
[表格对象] 1、 rows属性: 返回表格中的所有行,是一个数组格式; 2、 insertRow(index): 在指定位置插入一行,index从0开始; 后面括号里面的数字表示在第几行插入3、 deleteRow(index): 删除指定的一行,index从0开始; [行对象]1、 cells属 ...
分类:Web程序   时间:2017-10-25 21:42:34    阅读次数:190
542. 01 Matrix
Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Input: ...
分类:其他好文   时间:2017-10-24 14:52:03    阅读次数:150
Python 运算符
1、算数运算运算符说明实例+加-减*乘/除%取模——求余数**乘方10**3返回结果为1000//取整——取商的整数部分2、比较减运算3、赋值运算4、逻辑运算5、成员运算 ...
分类:编程语言   时间:2017-10-24 00:07:41    阅读次数:252
463. Island Perimeter
ou are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ver ...
分类:其他好文   时间:2017-10-23 20:46:35    阅读次数:121
Linux命令行烧录树莓派镜像至SD卡
首先下载镜像压缩包 验证压缩包的未被串改 1 sha1sum 2013-09-25-wheezy-raspbian.zip 1 sha1sum 2013-09-25-wheezy-raspbian.zip 1 sha1sum 2013-09-25-wheezy-raspbian.zip sha1su ...
分类:系统相关   时间:2017-10-21 14:34:14    阅读次数:241
Javascript -- document的createDocumentFragment()方法
在《javascript高级程序设计》一书的6.3.5:创建和操作节点一节中,介绍了几种动态创建html节点的方法,其中有以下几种常见方法: · crateAttribute(name): 用指定名称name创建特性节点 · createComment(text): 创建带文本text的注释节点 · ...
分类:编程语言   时间:2017-10-21 12:39:55    阅读次数:275
浅析 var that = this;
在阅读别人的代码时,发现别人写的代码中有这么一句:var that = this;,这代表什么意思呢?经过一番查阅,才明白是这么回事。 在JavaScript中,this代表的是当前对象。 var that=this就是将当前的this对象复制一份到that变量中。这样做有什么意义呢? 1 2 3 ...
分类:其他好文   时间:2017-10-20 16:08:17    阅读次数:153
Packmen CodeForces - 847E
A game field is a strip of 1?×?n square cells. In some cells there are Packmen, in some cells — asterisks, other cells are empty. Packman can move to ...
分类:其他好文   时间:2017-10-18 23:04:45    阅读次数:255
1822条   上一页 1 ... 94 95 96 97 98 ... 183 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!