执行上下文 可执行代码类型-- 执行上下文类型 全局代码-- 全局上下文 函数代码-- 函数上下文 eval代码 -- eval上下文arguments 超出传入参数个数的index 与形参不共享值callee 指向自身函数length 函数个数变量对象形参重名取最后一个声明式函数名字有重复...
分类:
编程语言 时间:
2014-11-26 13:43:33
阅读次数:
186
python小写转大写金额 摘自:http://shine-it.net/index.php?topic=14575.0 def _rmb_upper(self, value): """ 人民币大写 来自:http://topic.csdn.net/u/20091129/20/b778a93d-9f...
分类:
编程语言 时间:
2014-11-26 13:30:29
阅读次数:
235
<?php
class MY_Controller extends CI_Controller {
public function __construct() {
parent::__construct();
if(intval($this->session->userdata(‘id‘)) == 0)
redirect(site_url(‘login/index‘));...
分类:
其他好文 时间:
2014-11-26 11:41:42
阅读次数:
138
SQLite游标(Cursor)错误本文地址: http://blog.csdn.net/caroline_wendy错误:android.database.CursorIndexOutOfBoundsException:Index -1 requested, with a size of 1游标(cursor)的起始位置是-1,不能直接使用。需要cursor.moveToFirst()或curs...
分类:
移动开发 时间:
2014-11-26 11:31:30
阅读次数:
164
对ios8无效._myStateTableView.delaysContentTouches = NO;- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)index...
分类:
其他好文 时间:
2014-11-26 11:13:51
阅读次数:
145
昨个项目中遇到的问题,想获取指定td在该行tr中可见列的索引;由于改行tr下有隐藏元素,取索引的时候直接用$(['td[name="operation"]').index()取到的值肯定是不正确的;查了一下资料,复习了下index([selector|element])的用法。现举例结合实际分享下。...
分类:
Web程序 时间:
2014-11-26 11:07:30
阅读次数:
185
UIUC的Jia-Bin Huang同学收集了很多计算机视觉方面的代码,链接如下:https://netfiles.uiuc.edu/jbhuang1/www/resources/vision/index.html这些代码很实用,可以让我们站在巨人的肩膀上~~TopicResourcesRefere...
分类:
其他好文 时间:
2014-11-26 10:53:40
阅读次数:
363
使用ZBar来读取条形码和二维码的方法原文地址:http://blog.csdn.net/remote_roamer/article/details/76578451.使用ZBar项目。下载地址是:http://zbar.sourceforge.net/iphone/index.html2.新建一个...
分类:
其他好文 时间:
2014-11-26 10:51:50
阅读次数:
288
今天在慕课网上完成了LESS的基础学习,下面是我的学习笔记。总共有三个文件:index.html、main.less、mian.css,其中mian.css是main.less经过Koala编译之后自动生成的。下面是代码:index.html01020304050607080910111213141...
分类:
其他好文 时间:
2014-11-26 10:47:01
阅读次数:
235
1.部署环境系统:CentOS6.3需要安装jdk.JDK的RPM下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlhadoop手册地址:http://hadoop.apache.org/docs/r1.2.1/index.html关闭iptables和selinux/etc/init.d/iptablesstop
chkconfigipta..
分类:
其他好文 时间:
2014-11-26 06:50:52
阅读次数:
261