OS X是下了基本安全模块BSM。审计系统的作用是跟踪用户和进程的操作。类似于Windows系统里面的日志功能。
出于安全性考虑,审计系统必须在内核层次执行,在OS X中,审计是通过Mach实现的。
默认情况下,审计日志存放在/var/audit目录下。命名方式是start_time.stop_time。其中的start_time是起始时间戳,精度为秒。最后一个日志文件的stop_time是no...
分类:
其他好文 时间:
2015-04-20 09:29:10
阅读次数:
264
lazy gege
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 902 Accepted Submission(s): 348
Problem Description
Gege hasn't tidied...
分类:
其他好文 时间:
2015-04-20 09:28:17
阅读次数:
132
时间限制:2000ms
单点时限:1000ms
内存限制:256MB
描述
给定字符串,求它的回文子序列个数。回文子序列反转字符顺序后仍然与原序列相同。例如字符串aba中,回文子序列为”a”, “a”, “aa”, “b”, “aba”,共5个。内容相同位置不同的子序列算不同的子序列。输入
第一行一个整数T,表示数据组数。之后是T组数据,每组数据为一行字符串。输出
对于每组数据输出一行,...
分类:
其他好文 时间:
2015-04-20 09:30:35
阅读次数:
158
1795. Husband in a Shop
Time limit: 1.0 second
Memory limit: 64 MB
Mark comes home after a day of hard work. His wife, instead of feeding him, sends him to buy some bread. When Mark comes t...
分类:
其他好文 时间:
2015-04-20 09:28:45
阅读次数:
148
好久没有更新啦,继续继续。
最近这个项目陷入了一个使用语言的怪圈。任何东西都想着原来的写法怎么能翻译到新的JDK 的写法。这其实就走入了歧途哇哇哇。
看下面这个例子,是一个很简单的例子。一般情况下我们都会这么写这样的逻辑。
public static void main(String ... args) {
List list = new ArrayList<>();
...
分类:
其他好文 时间:
2015-04-20 09:29:25
阅读次数:
118
注意:本人未使用 ffmpeg 的全部依赖库,比如AAC 音频编码库(libfaac-dev),MP3 编码库(ibmp3lame-dev),具体的配置为:
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --enable-libx264 --enable-...
分类:
其他好文 时间:
2015-04-20 09:28:45
阅读次数:
360
On the Benefits of Umbrellas
Time Limit: 1000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
Submit Status
Description
A group of school leavers had their g...
分类:
其他好文 时间:
2015-04-20 09:29:07
阅读次数:
133
Sandro's Biography
Time Limit: 1000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
Submit Status
Description
Leogius was searching in a library for a book r...
分类:
其他好文 时间:
2015-04-20 09:28:24
阅读次数:
196
花了大半个月做的网站终于要上线了,周围的同学们很多都在使用阿里云的服务器,我也入手了一台。
考虑到自己不是很适应ubuntu的命令行界面,于是买了个windows的,上网搜了一下,似乎都是用linux来部署nodejs的,所以只能自己摸索着来,所幸的是nodejs本身就相当于web服务器,所以不需要apache之类的额外配置一,配置环境首先是要安装node环境,可以到官网上下载安装包,安装好之后进...
Domain-Specific LanguagesMichael HungerWHENEVER YOU LiSTEN TO A DiSCUSSiON BY ExPERTS in any domain, be it chess players, kindergarten teachers, or insurance agents, you’ll notice that their vocabulary...
分类:
其他好文 时间:
2015-04-20 09:29:41
阅读次数:
120
Do Lots of Deliberate PracticeJon JaggerDELiBERATE PRACTiCE iS NOT SiMPLY PERFORMiNG A TASK. If you ask yourself, “Why am I performing this task?” and your answer is, “To complete the task,” then you’r...
分类:
其他好文 时间:
2015-04-20 09:29:31
阅读次数:
137
Don’t Be Afraid to Break ThingsMike LewisEVERYONE WiTH iNDUSTRY ExPERiENCE has undoubtedly worked on a project where the codebase was precarious at best. The system is poorly factored, and changing one...
分类:
其他好文 时间:
2015-04-20 09:26:24
阅读次数:
124
/**
* 书本:《Thinking In Java》
* 功能:适配器设计模式
* 文件:Processor.java
* 时间:2015年4月2日20:36:59
* 作者:cutter_point
*/
package Lesson9Interfaces.interfaceprocessor;
public interface Processor
{
String name();
O...
分类:
编程语言 时间:
2015-04-20 09:28:38
阅读次数:
145
完整错误信息错误 1 命名空间“System”中不存在类型或命名空间名称“Linq”。是否缺少程序集引用? F:\CsProjects\CSharp实现SPY++\CSharp实现SPY++\Form1.cs 6 14 CSharp实现SPY++错误原因开始的时候创建项目选择的Framework版本是4.0,但后来为了项目的平台适应性,将Framework的版本改为了2.0,重新编译...
分类:
其他好文 时间:
2015-04-20 09:25:52
阅读次数:
148
裸的树链剖分~但是我用欧拉序+lca+线段树代替了他~...
分类:
其他好文 时间:
2015-04-20 09:25:59
阅读次数:
194