码迷,mamicode.com
首页 >  
搜索关键字:python function    ( 188437个结果)
全局方法&Number对象
//js端function println(string){ document.write(string+""); }//html端
分类:其他好文   时间:2014-06-10 00:10:30    阅读次数:196
js小记 function 的 length 属性
原文:js小记 function 的 length 属性[1,2,3].length可以得到 3,"123".length 也可以得到 3,这个略懂js的都知道。但是 eval.length,RegExp.length,"".toString.length,1..toString.length会得到...
分类:Web程序   时间:2014-06-09 23:51:16    阅读次数:370
swift 基本语法---01
Swift是苹果公司于2014年WWDC发布的一款全新的编程语言,这门语言可以用来开发ios,Mac的应用程序,苹果从2010年开始设计Swift语言,耗时4年。 Swift的语法内混合了JavaScript、Objective-C、Python这三门语言,语法简单,代码简洁,而且在开发ios...
分类:其他好文   时间:2014-06-08 15:35:05    阅读次数:255
为PyCharm添加不同解释器
正常大家会使用Python官网的安装包,即Python。由于自己尝试了下IronPython,但打开PyCharm查看配置,发现并没有IronPython的解释器,这个需要自己加进去
分类:其他好文   时间:2014-06-08 06:27:40    阅读次数:6420
js SetTimeout传参问题
今天写代码遇到这样一个问题,先上代码 1 2 function textout(obj){ 3 if(opac==60){opac=0;return;}; 4 opac+=10; 5 if(document.all){ 6 obj.style.filter=...
分类:Web程序   时间:2014-06-08 06:23:46    阅读次数:277
leetcode--Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他好文   时间:2014-06-08 01:19:29    阅读次数:320
easyui datagrid 页面详细使用
//加载数据workflowName onloadmyCgxList: function (id) { if (id != null && id != "" && typeof (id) != "undefined") { var param = { "ID": id } $("#myCgxLi.....
分类:其他好文   时间:2014-06-08 00:29:54    阅读次数:296
java中文字符串截取
/*** author geksong * function 中文字符串相关操作**/public class ChinaStringUtil {/** * 判断字符是不是中文字符 * @param c * @return */public static boolean isChinese(char...
分类:编程语言   时间:2014-06-08 00:16:40    阅读次数:385
js验证
var CommonCheck = { //两个时间比较 compareDate:function(end,start){ var d1Arr=end.split("-"); var d2Arr=start.split("-"); va...
分类:Web程序   时间:2014-06-07 23:51:18    阅读次数:359
Algorithm | hash
A basic requirement is that the function should provide a uniform distribution of hash values. A non-uniform distribution increases the number of coll...
分类:其他好文   时间:2014-06-07 16:58:29    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!