码迷,mamicode.com
首页 >  
搜索关键字:nes    ( 3286个结果
js取url参数
function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null)... ...
分类:Web程序   时间:2016-12-23 13:53:57    阅读次数:137
编译时,运行时解释
在开发和设计的时候,我们需要考虑编译时,运行时以及构建时这三个概念。理解这几个概念可以更好地帮助你去了解一些基本的原理。下面是初学者晋级中级水平需要知道的一些问题。 Q.下面的代码片段中,行A和行B所标识的代码有什么区别呢? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 ...
分类:其他好文   时间:2016-12-23 13:36:33    阅读次数:253
Leetcode: Validate IP Address
Be careful, split() will not include trailing empty strings in the result array The string "boo:and:foo", for example, split(":")的结果是 {“boo”, "and", " ...
分类:其他好文   时间:2016-12-23 09:53:08    阅读次数:205
指令流水线归纳总结
Pipelining 流水线 中山大学 报告目录 一. 思维导图 3 二. 课件理解 4 三. 名词解释 14 四. 归纳总结 15 五. 参考文献 18 六. 附录 18 Pipelining 流水线 中山大学 报告目录 一. 思维导图 3 二. 课件理解 4 三. 名词解释 14 四. 归纳总结 ...
分类:其他好文   时间:2016-12-23 07:41:31    阅读次数:2577
微信小程序开发—你期待的分享功能来了,微信小程序序新增5大功能
微信小程序在12月21日发布了新版本的开发工具,并在官网公布新增以下功能:1、分享可以分享小程序的任何一个页面给好友或群聊。https://mp.weixin.qq.com/debug/wxadoc/...
分类:微信   时间:2016-12-22 15:11:01    阅读次数:1092
【Android - MD】之FloatingActionButton的使用
FloatingActionButton(FAB) 是 Android 5.0 新特性——Material Design 中的一个控件,是一种悬浮的按钮。 FloatingActionButton 是 ImageView 的子类,因此它具备ImageView的全部属性。 FloatingAction ...
分类:移动开发   时间:2016-12-22 14:38:54    阅读次数:406
队列(裸题)
Queue Aizu - ALDS1_3_B For example, we have the following queue with the quantum of 100ms. A(150) - B(80) - C(200) - D(200) First, process A is handle ...
分类:其他好文   时间:2016-12-21 11:32:55    阅读次数:185
LeetCode-448. Find All Numbers Disappeared in an Array C#
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] ...
分类:移动开发   时间:2016-12-21 07:49:42    阅读次数:325
关键时候掉链子,很关键
自己还是不可能把所有的精力都投入到一件事情上,我喜欢接触新鲜事物带来的新奇感,这让我感到兴奋。而这与专注一致的工匠精神是辩证统一的。 早上,定不到六点的闹钟,起来只为了抢火车票,但是很不幸,是下午三点才开售。最终,我还是没有抢到。遂做出了最干净利索的决定,买了很贵的飞机票。虽然这种方案花钱最多,但是 ...
分类:其他好文   时间:2016-12-21 02:35:39    阅读次数:213
python学习
文件的读写: file.flush() # 强制刷新 file.readlines() # 将所有的内容生成一个列表,不适合操作大文件 for line in file: # file相当于一个迭代器,内存上只读一行,占用内存少,高端的方法 f.tell() # 当前句柄,和指针差不多 f.enco ...
分类:编程语言   时间:2016-12-20 23:31:56    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!