1. Tasks and Back Stack An application usually contains multiple activities. Each activity should be designed around a specific kind of action the us....
分类:
移动开发 时间:
2014-10-24 14:16:41
阅读次数:
297
apache部署Django项目时出现错误 Permission?denied:?mod_wsgi?(pid=2081):?Unable?to?connect?to?WSGI?daemon?process?‘autotester‘?on?‘/etc/httpd/logs/wsgi.2076.0.1.sock‘?after?multiple?a...
分类:
Web程序 时间:
2014-10-24 01:48:24
阅读次数:
203
http://nxway.blogspot.ca/2007/10/prt-extension-and-multiple-nx-versions.htmlTo open prt files with NX 7.5:Change HKEY_CLASSES_ROOT\UGpartfile\shell\op...
分类:
其他好文 时间:
2014-10-24 00:02:48
阅读次数:
241
1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity.....
分类:
移动开发 时间:
2014-10-23 22:20:50
阅读次数:
458
ActiveDirectory:DSQUERYCommandsDSQUERYCommandstoqueryADobjects:-1.Howtofindallmembersforaparticulargroup.dsgetgroup"<DNofthegroup>"-members1a.Howtofindallgroupsforaparticularmember(includingnestedgroups)dsgetuser"<DNoftheuser>"-memberof-expandds..
分类:
其他好文 时间:
2014-10-23 21:07:18
阅读次数:
927
1. #define的保护
所有头文件都应该使用#define 防止头文件被多重包含(multiple inclusion),命名格式
当是:___H_
为保证唯一性,头文件的命名应基于其所在项目源代码树的全路径。例如,项目foo 中的头
文件foo/src/bar/baz.h 按如下方式保护:
#ifndef FOO_BAR_BAZ_H_
#define FOO_BAR_BAZ_H_...
分类:
编程语言 时间:
2014-10-23 12:34:25
阅读次数:
231
private static Logger logger = Logger.getLogger(DateUtils.class); public final static BigDecimal SYS_MULTIPLE = new BigDecimal(100); public final stat...
分类:
其他好文 时间:
2014-10-22 18:06:43
阅读次数:
367
1 命名规则1.1 基本变量基本变量有三个:ngx_module_t 类型的 ngx_http_foo_bar_module;ngx_command_t 类型的数组 ngx_http_foo_bar_commands;ngx_http_module_t 类型的 ngx_http_foo_bar_mo...
分类:
其他好文 时间:
2014-10-22 17:41:49
阅读次数:
258
SqlBulkCopy.WriteToServer has 4 overloads:SqlBulkCopy.WriteToServer (DataRow[]) Copies all rows from the supplied DataRow array to a destination table...
分类:
数据库 时间:
2014-10-22 09:59:00
阅读次数:
341
intersect y except are both working on same table and multiple tablesEXCEPT 从左查询中返回右查询没有找到的所有非重复值。INTERSECT 返回 INTERSECT 操作数左右两边的两个查询都返回的所有非重复值。以下是将使用...
分类:
其他好文 时间:
2014-10-21 19:19:56
阅读次数:
217