1. 基本查询: 构造查询数据。 > db.test.findOne() { "_id" : ObjectId("4fd58ecbb9ac507e96276f1a"), "name" : "stephen", "age" : 35, "genda" : "male", "email" : "xxx@...
分类:
数据库 时间:
2015-06-16 18:19:04
阅读次数:
211
platform创建在file->new->other中选择new platform 创建平台文件,平台文件的名字通常以ti.platform.xxx方式进行命名,创建完成之后会直接在保存的位置形成文件夹的方式,而平台的配置信息可以在Platform.xdc文件中进行查看;ti系统自带的平台文件ti...
分类:
其他好文 时间:
2015-06-16 18:17:04
阅读次数:
220
Gradle工具会自动识别,所以不用指定包名 把 xmlns:xx="http://schemas.android.com/apk/res/com.xxx" 换成 xmlns:xx="http://schemas.android.com/apk/res-auto" 然后同步一下...
分类:
移动开发 时间:
2015-06-16 17:11:48
阅读次数:
166
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/xxx/tools/android/jdk1.7.0_71/bin/java'' fin...
分类:
移动开发 时间:
2015-06-16 16:48:51
阅读次数:
152
appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr ‘android:XXX’创建Android项目时,ADT会自动的创建一个名为appcompat_v7的 Support Library 项目,然后你会看到values21...
分类:
移动开发 时间:
2015-06-16 16:47:32
阅读次数:
180
#!/bin/shFILE_PATH=“xxx” xxx:路径cd $FILE_PATHfor FILE in `ls` do echo $FILE done
分类:
系统相关 时间:
2015-06-16 16:23:38
阅读次数:
115
//{params:要传的参数obj},params这个是关键字不能换别的变量$http.get(url,{params:{id:categoryid,key:keys}}).success(function(data){...});//或者这样试试$http.get('xxx.php?id='+c...
分类:
Web程序 时间:
2015-06-16 14:39:43
阅读次数:
210
先pip install wheel切换到whl所在目录,pip install XXX.whl一个很全的whl软件包集结地:http://www.lfd.uci.edu/~gohlke/pythonlibs/Ref: http://blog.csdn.net/zji19191919/article...
分类:
编程语言 时间:
2015-06-16 14:33:52
阅读次数:
149
1.在xxx-info.plist文件中, 新建一行 ?Required background modes?, 加入下面两项。 App shares data using CoreBluetooth?和?App communicates using CoreBluetooth 如图所示: 加入这个项后, 你会发现, 当应...
分类:
移动开发 时间:
2015-06-16 11:16:34
阅读次数:
240
通常遇到undefined referenced xxx主要是因为引用的函数未定义,或者是找不到类库.本文介绍的是另外一种情况: 要引用的函数被类库hidden了. 主要原因是编译类库的时候采用了-fvisibility=hiddenGLOBAL_CFLAGS = -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -...
分类:
其他好文 时间:
2015-06-16 11:00:28
阅读次数:
231