Have we missed some critical information from
this article? Are you a company, organisation or research group operating in
this region and feel you wa...
分类:
其他好文 时间:
2014-05-23 05:51:05
阅读次数:
305
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
注意两点
1.通过android:checkedButton="@+id/lunch"而不是item中的 android:checked="true"设置的某人被选中状态
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
a...
分类:
其他好文 时间:
2014-05-23 00:04:35
阅读次数:
344
Reverse Nodes in k-Group...
分类:
其他好文 时间:
2014-05-22 18:35:48
阅读次数:
225
import re
data = open('a.txt')
fh = open('b.txt', 'w')
"""Search the string begining with '【'"""
p = re.compile(r'\s*[\u3010]')
for each_d in data:
if re.match('\s*3\d{4}', each_d):
...
分类:
编程语言 时间:
2014-05-22 17:26:17
阅读次数:
293
转:适有修改并调试OKvar Sys = (function (ua) { var s = {};
s.IE = ua.match(/msie ([\d.]+)/) ? true : false; s.Firefox =
ua.match(/firefox\/([\d.]+)/) ...
分类:
其他好文 时间:
2014-05-22 15:24:55
阅读次数:
227
1.下载 如果下载的.zip文件,只需要解压即可。
如果安装的.msi文件,它会将C#驱动DLL放在C:\Program Files (x86)\MongoDB\CSharp Driver xxx的位置。
2.将C#驱动DLL添加引用 MongoDB.Bson.dll MongoDB.Driver....
分类:
其他好文 时间:
2014-05-21 19:38:39
阅读次数:
379
1.介绍 该教程涵盖了1.8版本的C#驱动中的LINQ查询。你可能已经阅读最新的C#
Driver Tutorial。 2.快速开始 首先,给程序添加下面的using声明 using
MongoDB.Driver.Linq;然后,像往常一样,获取一个collection的引用变量:var colle...
分类:
其他好文 时间:
2014-05-21 19:14:39
阅读次数:
385
function
is_mobile(){$regex_match="/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|";$regex_match.="htc|dopod|bl...
分类:
移动开发 时间:
2014-05-21 19:02:55
阅读次数:
302
A机器上有mongodb服务,A机器要废,于是迁至B。
简单起见,依然是在A上ps auxwww|grep mongo找到正在运行的进程:
/home/admin/mongodb/mongodb-linux-x86_64-2.2.0/bin/mongod -f /home/admin/mongodb/mongodb.conf
于是把/home/admin/mongodb/ 拷到B下。
在b...
分类:
数据库 时间:
2014-05-21 15:24:05
阅读次数:
540