码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
学习笔记
1.动态加载的元素绑定事件:用on方法2.父元素绑定事件,如果点击的事件源是子元素a,则取消父元素的绑定事件;if($(event.target).hasClass("a")) return;3.事件只执行一次:$("p").one("click", function(){ alert( $(th....
分类:其他好文   时间:2016-01-23 17:55:38    阅读次数:155
UVALive 4223 / HDU 2962 spfa + 二分
TruckingProblem DescriptionA certain local trucking company would like to transport some goods on a cargo truck from one place to another. It is desir...
分类:其他好文   时间:2016-01-23 01:24:21    阅读次数:139
Python标准库:内置函数dict(**kwarg)
本函数是从一个字典參数构造一个新字典。參数kwarg是键值对的字典參数。以两个*开头的參数。就会收集成字典形式。样例:#dict()#以键对方式构造字典d1 = dict(one = 1, two = 2, a = 3)print(d1)输出结果例如以下:{'two':2,'a':3,'one':1...
分类:编程语言   时间:2016-01-23 00:46:37    阅读次数:169
Java
// ArrayListArrayList myArr = new ArrayList();myArr.add("one");myArr.add("two");System.out.println(myArr.get(0));//Vector Vector myV = new Vector ();....
分类:编程语言   时间:2016-01-22 14:06:10    阅读次数:132
打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different one“
原因:出现这种情况一般是workspace的配置文件中出现了.lock文件(workspace/.metadata/.lock),锁定了workspace。把.lock文件删除即可。如果该文件不能删除,可能是因为javaw.exe进程未结束,结束该进程及eclipse.exe进程即可删除。正常情况下...
分类:系统相关   时间:2016-01-22 10:33:01    阅读次数:10453
Java [Leetcode 66]Plus One
题目描述:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit ...
分类:编程语言   时间:2016-01-22 00:04:33    阅读次数:213
效率提升最重要的原则 - Doing one thing at a time
前段时间流行的时间管理方法 - 番茄工作法,说的是选择一个你待完成的任务,将番茄时间设为25分钟,专注工作,中途不允许做任何与该任务无关的事,直到番茄时钟响起,然后短暂休息一下(5分钟就行),每4个番茄时段多休息一会儿。我尝试过几次,最后每次都感觉这个工具还是不太实用,把时间管理搞得有些过于复杂了。虽然这个工具对我不太适用,但我觉得番茄工作法背后的精髓是非常对的,就是在一段时间内你只专注在一件事情...
分类:其他好文   时间:2016-01-21 20:04:12    阅读次数:169
Spark异步job
What if we want to execute 2 actions concurrently on different RDD’s, Spark actions are always synchronous. Like if we perform two actions one after o...
分类:其他好文   时间:2016-01-21 18:37:35    阅读次数:232
Change color of GRUB
The default color of GRUB2 is ridiculously ugly so here is one method to change it.ch3cooh@ch3cooh-T420~> cat /lib/plymouth/themes/default.grub set co...
分类:其他好文   时间:2016-01-21 18:31:04    阅读次数:128
[TFS教程]TFS: Get Command
Get CommandVisual Studio 2012Gets (downloads) either the latest version or a specified version of one or more files or folders from Team Foundation Se...
分类:Web程序   时间:2016-01-21 10:28:59    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!