drivers/input/input.c: input_init > err = register_chrdev(INPUT_MAJOR, "input", &input_fops); static const struct file_operations input_fops = { .owne ...
分类:
其他好文 时间:
2017-10-12 00:52:57
阅读次数:
205
this简介: this永远指向当前正在被执行的函数或方法的owner。例如: 1 2 3 4 5 function test(){ console.log(this); } test(); //Window {top: Window, window: Window, location: Locat ...
分类:
Web程序 时间:
2017-10-11 20:31:20
阅读次数:
349
一、关于Scrum Scrum是什么?是迭代式增量软件开发过程,通常用于敏捷软件开发,Scrum是一种偏重于过程的敏捷开发的具体方式。Scrum的英文意思是橄榄球运动的一个专业术语,表示“争球”的动作;把一个开发流程的名字取名为Scrum,可想而知就是表示让一个团队在做项目的时候像打橄榄球一样迅速、 ...
分类:
其他好文 时间:
2017-10-11 14:15:17
阅读次数:
136
添加各个用户组用watch命令监控文件权限应为774:以caiwu组为例,文件的权限为只有caiwu组可以写入(rwx),文件的owner即admincw也属于caiwu组,即77,其他人员权限为只读(r),即4。注意:对于目录而言,x权限指进入该目录,因此w权限生效的前提是有x权限。对用户admin设置特殊..
分类:
其他好文 时间:
2017-10-11 00:51:00
阅读次数:
160
puppetfile资源常用的参数:file{
path
ensure
backup
checksum
content
force
group
links
mode
owner
source
selinux_ignore_default
selrange
selrole
seltype
seluser
}path:指定要管理的文件或目录,必须用引号引起来.ensure:有5个值,分别是absent,present,file,directory,l..
分类:
其他好文 时间:
2017-10-10 16:59:51
阅读次数:
194
postfix
yum-yinstallpostfixmailx
systemctlstartpostfix
systemctlenablepostfix
[rootlog]#cat/etc/postfix/main.cf
queue_directory=/var/spool/postfix
command_directory=/usr/sbin
daemon_directory=/usr/libexec/postfix
data_directory=/var/lib/postfix
mail_owner..
分类:
其他好文 时间:
2017-10-10 16:26:11
阅读次数:
170
1、创建MDI 的父窗口 FormMain 设置窗口的IsMDIContainer 的属性为True 2、创建MDI 的子窗口 在“添加新项”对话框中,选择“Windows 窗体”(在 Visual Basic 中或 Visual C# 中)或从“模板”窗格中选择“Windows 窗体应用程序 (. ...
分类:
其他好文 时间:
2017-10-07 14:24:23
阅读次数:
193
30w/m The expensive shops in a famous arcade near Piccadilly were just opening. At this time of the morning, the arcade was almost empty. Mr Taylor, t ...
分类:
其他好文 时间:
2017-10-07 12:28:24
阅读次数:
199
先创建一个用来测试的数据库和表,为了让插入数据更快,表中主键采用的是GUID,表中没有创建任何索引。GUID必然是比自增长要快的,因为你生成一个GUID算法所花的时间肯定比你从数据表中重新查询上一条记录的ID的值然后再进行加1运算要少。而如果存在索引的情况下,每次插入记录都会进行索引重建,这是非常耗 ...
分类:
数据库 时间:
2017-10-07 12:15:33
阅读次数:
302
命令: 1.chgrp:改变文件所属群组 2.chown:改变文件应有者 3.chmod:改变文件的权限 使用方法: chgrp: chgrp [-R] 群组名 目录名/文件名 -R表示递归,常用于目录,表示此目录及目录下的所有文件都属于某个群组 chown:chown [-R] 帐号名称[:群组名 ...
分类:
系统相关 时间:
2017-10-06 21:25:40
阅读次数:
267