1.虚线画效果,可以使用Android中的xml来做。 2.直接上代码: 写一个 bg_border_stroke的xml做背景。bg_border_stroke.xml ...
分类:
移动开发 时间:
2014-07-06 23:49:43
阅读次数:
429
user www www;worker_processes 2;error_log /usr/local/nginx/logs/nginx_error.log crit;pid /usr/local/nginx/logs/nginx.pid;#Specifies the valu...
分类:
其他好文 时间:
2014-07-05 20:48:19
阅读次数:
245
194#user nobody;worker_processes 8;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;event...
分类:
其他好文 时间:
2014-07-03 09:31:43
阅读次数:
457
我们都知道,在 Windows 上面,我们要么让一个程序作为服务在后台一直运行,要么停止这个服务。而不能让程序在前台后台之间切换。而 Linux 提供了 fg 和 bg 命令,让我们轻松调度正在运行的任务。假设你发现前台运行的一个程序需要很长的时间,但是需要干其他的事情,你就可以用 Ctrl-Z ,...
分类:
系统相关 时间:
2014-06-30 22:51:43
阅读次数:
282
ctrl+c和ctrl+z都是中断命令,但是他们的作用却不一样.ctrl+c是强制中断程序的执行,而ctrl+z的是将任务中断,但是此任务并没有结束,他仍然在进程中他只是维持挂起的状态,用户可以使用fg/bg操作继续前台或后台的任务,fg命令重新启动前台被中断的任务,bg命令把被中断的任务放在后台执...
分类:
系统相关 时间:
2014-06-30 22:02:32
阅读次数:
328
现代浏览器基本支持CSS3,但是一些旧版本的浏览器还是需要添加前缀的。像box-shadow,border-radius这类属性,目前较新版本的浏览器都是不需要前缀的(包括IE9),但是,有些CSS3属性,例如渐变,前缀少不了,每次都需要像盖高楼一样堆叠CSS3代码,如下图:.bg { ...
分类:
Web程序 时间:
2014-06-27 00:28:59
阅读次数:
473
Peterson's algorithm (AKA Peterson's solution) is a concurrent
programming algorithm for mutual
exclusion that allows two processes to share a single-use resource without conflict, using only shar...
分类:
编程语言 时间:
2014-06-25 19:38:19
阅读次数:
748
Linux的bg和fg命令我们都知道,在 Windows 上面,我们要么让一个程序作为服务在后台一直运行,要么停止这个服务。而不能让程序在前台后台之间切换。而 Linux 提供了 fg 和 bg 命令,让我们轻松调度正在运行的任务。假设你发现前台运行的一个程序需要很长的时间,但是需要干其他的事情,你...
分类:
系统相关 时间:
2014-06-25 17:29:37
阅读次数:
217
PMON: Process Monitor 用自动注册动态监听,处理异常进程。
SMON: System Monitor 用于instance recovery。
LCKn:仅使用于RAC数据库,用于instance之间的封锁。
RECO:用于分布式数据库的恢复,全称是Distributed Database Recovery。
CKPT: Check Point 由ORACLE的FAST...
分类:
数据库 时间:
2014-06-22 12:22:00
阅读次数:
232
Structural Things
An
active class is a class whose objects own one or
more processes or threads and therefore can initiate control activity. An active class is just like a class except that it...
分类:
其他好文 时间:
2014-06-17 22:44:27
阅读次数:
310