一、修改字体 点击左上角File选择settings....进入界面选择Editor-->Colors&Fonts-->Font点击界面中Save As...在对话框中输入名字点击OK,选择Soure Code Pro楷体设置字体大小我的设置17,和上下间隔我的设置1.1点击右下角OK。 二、删除项 ...
分类:
移动开发 时间:
2016-11-15 01:19:07
阅读次数:
133
http://zhaoda.net/webpack-handbookwebpack --display-error-detailsnpm install webpack-dev-server –gwebpack-dev-server --progress --colors ...
分类:
Web程序 时间:
2016-11-12 22:34:13
阅读次数:
173
Editor->Colors&Fonts->ConsoleFontorsetting里搜索font,一直回车,就找到terminalfont设置了
分类:
其他好文 时间:
2016-11-07 02:52:57
阅读次数:
221
栈方法: Javascript为数组专门提供了push()和pop()方法,以便实现类似栈的行为。来看下面的例子: var colors=new Array(); //创建一个数组 var count=colors.push("red","green"); // 推入两项,返回修改后数组的长度 al ...
分类:
编程语言 时间:
2016-11-04 09:49:17
阅读次数:
127
There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent ...
分类:
其他好文 时间:
2016-11-04 02:10:55
阅读次数:
187
转换方法 因为JavaScript内部机制(继承),所有的对象都具有toLocalString() 、toString()、valueOf()方法,Array也不例外so:var colors = ["red", "blue", "green"];alert(colors.toString()); ...
分类:
编程语言 时间:
2016-10-31 13:55:37
阅读次数:
257
instanceof 可以用来确定实例与原型之间是否存在关系 只有当原型与实例有关系的时候 才能依赖于 instanceof 确定 colors的实际构造函数为 SpecialArray 里面的 Array 虽然是通过new SpecialArray 创建的实例 但实际上 跟SpecialArray ...
分类:
其他好文 时间:
2016-10-26 13:28:30
阅读次数:
146
原型链方式实现继承 [javascript] view plain copy print? function SuperType(){ this.property = true; this.colors = ['red','blue','green']; } SuperType.prototype. ...
分类:
编程语言 时间:
2016-10-22 11:45:42
阅读次数:
319
http://it.oyksoft.com/post/5898/ 一、Myeclipse10修改字体MyEclipse10是基于Eclipse3.7内核,但在Eclipse的Preferences-〉general-〉Appearance->Colors and Fonts 中并没有找到Courie ...
分类:
系统相关 时间:
2016-10-22 07:29:47
阅读次数:
276
75. Sort Colors 问题描述: 给一个包含n个数字的数组,其中有0,1,2;排序使得所有相同的数字相邻,且按照0,1,2的顺序。 思路: (1)计数排序: 需要扫两遍数组,一遍统计个数,第二遍开始摆放数字。 代码如下: (2)如果只能扫一遍,很容易想到的就是左边存放0和1,右边存放2.两 ...
分类:
其他好文 时间:
2016-10-19 20:18:50
阅读次数:
167