string strPatten = "(src|href)=(.*?)[>| ]";
string strContent = " "; Regex reg = new Regex(strPatten); foreach (Match match
in...
分类:
其他好文 时间:
2014-05-16 20:00:47
阅读次数:
266
官方demo见
https://github.com/square/otto注意自己该编译版本为2.3以上,默认的1.6不支持match_parent属性,导致布局文件出错。另外需要手动添加android-support-v4和otto到自己的libs文件夹。主要代码逻辑:1,在主页面点clear按...
分类:
移动开发 时间:
2014-05-16 19:19:36
阅读次数:
334
oracle中对重复数据的查询和删除操作--1.查询表中username=‘lingjie’的重复记录select
userid,username from nmb where username in(select username from nmb group by
username having...
分类:
数据库 时间:
2014-05-16 06:59:01
阅读次数:
266
行动
在了实践之前,希望大家看一下上面的学习资源,了解一下基本操作.
数据连接初始账号密码
账号:admin
密码:admin
首先我们建立一个文件:mongodb.php,设置需要连接账号密码,连接数据库
php
/**
* Mongodb Test
*
* Tools:
* Zend Studio 8.x
* Eclipse Plug :Toggle Va...
分类:
数据库 时间:
2014-05-15 14:49:56
阅读次数:
442
Friend Chains
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2882 Accepted Submission(s): 970
Problem Description
For a group o...
分类:
其他好文 时间:
2014-05-15 11:21:04
阅读次数:
438
MongoDB 学习笔记一 安装以及基础命令...
分类:
数据库 时间:
2014-05-15 05:07:59
阅读次数:
371
三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或...
分类:
移动开发 时间:
2014-05-14 07:02:27
阅读次数:
424
?Sticky Bit这个Sticky
Bit当前只针对目录有效,对文件没有效果。SBit对目录的作用是:“在具有SBit的目录下,用户若在该目录下具有w及x权限,则当用户在该目录下建立文件或目录时,只有文件拥有者与root才有权力删除”。换句话说:当甲用户在A目录下拥有group或other的项目...
分类:
其他好文 时间:
2014-05-13 16:57:50
阅读次数:
288
1.电话拨号器:
activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
a...
分类:
移动开发 时间:
2014-05-13 15:08:57
阅读次数:
508
一: 新建文件夹和文件:
Mongo安装在F:\DataBase\MongoDB_2.6, 在此目录下新建文件夹:
F:\DataBase\MongoDB_2.6\data\db
F:\DataBase\MongoDB_2.6\data\log
F:\DataBase\MongoDB_2.6\data\log\MongoDB.log
二: 创建数据库
跳到 F:\D...
分类:
数据库 时间:
2014-05-13 14:19:45
阅读次数:
421