1、查看数据库大小:select pg_database_size('log_analysis');***(Single step mode: verify command)*******************************************select pg_database_s...
分类:
数据库 时间:
2014-08-19 18:06:05
阅读次数:
1788
C字符串有3种编码模式,并对应3种字符类型。 (1)单字节字符集(single-byte character set (SBCS)). -在这种编码模式下,所有的字符都只用一个字节(Byte)标示。 -ASCII是SBCS,用一个字节标示为'\0'的来标识SBCS字符串的结束 -单字节字符包含拉丁文...
分类:
编程语言 时间:
2014-08-19 16:16:14
阅读次数:
228
Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e...
分类:
其他好文 时间:
2014-08-19 14:24:14
阅读次数:
182
Using Supervisor with Docker
Note: - If you don't like sudo then see Giving
non-root access
Traditionally a Docker container runs a single process when it is launched, for example an Apache ...
分类:
其他好文 时间:
2014-08-19 12:54:34
阅读次数:
367
Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequen...
分类:
其他好文 时间:
2014-08-18 18:34:13
阅读次数:
214
A pair of numbers has a unique LCM but a single number can be the
LCM of more than one possible pairs. Forexample 12 is the
LCM of (1, 12), (2, 12),
(3,4) etc. For a given positive integer N, the ...
分类:
其他好文 时间:
2014-08-18 16:25:24
阅读次数:
240
多github帐号的SSH key切换我有两个github帐号,一个是个人所用,一个是为公司项目所用。如果是单用户(single-user),很方便,默认拿id_rsa与你的github服务器的公钥对比;如果是多用户(multi-user)如user1,user2,那么就不能用在user2的身上了,...
分类:
其他好文 时间:
2014-08-18 00:00:03
阅读次数:
313
单点登录(Single Sign On , 简称 SSO )是目前比较流行的服务于企业业务整合的解决方案之一, SSO 使得在多个应用系统中,用户 只需要登录一次就可以访问所有相互信任的应用系统。CAS(Central Authentication Service)是一款不错的针 对 Web 应用的...
分类:
Web程序 时间:
2014-08-17 18:20:12
阅读次数:
245
Enterprise Single Sign-On企业信息门户作为企业内部门户基础平台,一大主要用途是实现现有的业务系统、数据资源、人力资源的整合,实现信息(数据)的合理聚集;通过实现统一的用户和统一的访问入口来访问门户平台中整合的相关信息资源,真正实现资源的有效利用,更大发挥企业现有资源的使用价值...
分类:
其他好文 时间:
2014-08-17 18:18:12
阅读次数:
351
转自:http://www.appneta.com/blog/introduction-to-javas-threadlocal-storage/ What is ThreadLocal? A simple example As its name suggests, a single instance of ThreadLocal can store different values ...
分类:
编程语言 时间:
2014-08-16 21:13:31
阅读次数:
354