如果要实现程序之间的跳转,被调用的程序首先需要设置URLSchemes,方法有以下两种:1.选择app——info——URL Types——“+”号——在URLSchemes中输入标示符2.选择Supporting Files的plist文件——URL Types——item——添加URL Sche...
分类:
其他好文 时间:
2015-09-17 21:38:31
阅读次数:
113
1. update setup.pyfrom distutils.core import setupsetup( name = 'iamericnester', version = '1.4.0', py_modules = ['ne...
分类:
编程语言 时间:
2015-09-17 21:06:14
阅读次数:
193
1、查询MySQL支持的数据类型 “? data types;”2、查看int的用法“? int”3、查看show的用法“? show”4、查看创建数据库表语句的用法“? create table”...
分类:
数据库 时间:
2015-09-17 06:31:13
阅读次数:
185
今天在对各栏目的数据记录进行统计,并展示出来。遇到的主要问题是:用于读取总记录数并展示的函数,每个栏目都要调用显示,刚开始,用for循环调用,但函数出错。解决:采用递归循环函数代码如下:jQuery(function($) {dataNum(types,0);//调用函数,传数栏目数组及递归记录})...
分类:
其他好文 时间:
2015-09-16 21:56:43
阅读次数:
199
这一讲我们来学习下抽像类型。让我们看下代码package scala.learnimport scala.io.BufferedSourceimport scala.io.Sourcetrait Reader{ type In type Contents def read(in:In):Conten...
分类:
其他好文 时间:
2015-09-15 19:46:25
阅读次数:
154
1、python函数参数(含星号参数)http://blog.useasp.net/archive/2014/06/23/the-python-function-or-method-parameter-types.aspx2、python字符串 单引号,双引号,三引号http://woodpecke...
分类:
编程语言 时间:
2015-09-15 19:43:42
阅读次数:
179
error: is applicable for argument types: (org.eclipse.jetty.server.Request)很显然这个错误是因为 不是静态方法造成的,改为静态方法就好了,There was an unexpected error (type=Internal...
分类:
移动开发 时间:
2015-09-15 18:02:22
阅读次数:
392
org.springframework.dao.InvalidDataAccessApiUsageException: detached entity passed to persist: com.sim.mfg.data.domain.GoodStatus; nested exception is...
分类:
其他好文 时间:
2015-09-15 14:42:39
阅读次数:
167
今天学习了self type的内容,让我们来看下代码package scala.learnclass Self{ self => val tmp = "Scala" def foo = self.tmp + this.tmp}trait S1class S2 {this:S1 =>}class S3...
分类:
其他好文 时间:
2015-09-15 14:21:18
阅读次数:
130
从 JDBC 类型映射到 Java 类型JDBC 类型Java 类型CHARStringVARCHARStringLONGVARCHARStringNUMERICjava.math.BigDecimalDECIMALjava.math.BigDecimalBITbooleanTINYINTbyteS...
分类:
数据库 时间:
2015-09-15 00:11:51
阅读次数:
277