一、设备驱动的分类 1.字符设备 字符设备是指那些能一个字节一个字节读取数据的设备,如LED灯、键盘、鼠标等。字符设备一般需要在驱动层实现open()、close()、read()、write()、ioctl()等函数。 2.块设备 块设备与字符设备类似,一般是像磁盘一样的设备。在块设备中还可以容纳 ...
分类:
系统相关 时间:
2018-12-12 00:11:23
阅读次数:
247
int temp = 0; int b = 0; int[] arr = { 23, 44, 66, 76, 98, 11, 3, 99, 7 };# region该段与排序无关Console.WriteLine("排序前的数组:");foreach (int item in arr){ Conso ...
分类:
编程语言 时间:
2018-12-09 18:52:20
阅读次数:
210
第4天:Kuberneters操作CCE集群 https://console.huaweicloud.com/cce2.0/?region=cn-north-1#/app/dashboard 其中需要添加一个弹性IP https://console.huaweicloud.com/cce2.0/?r ...
分类:
Web程序 时间:
2018-12-08 13:33:02
阅读次数:
220
For a file which contians lots of lines of code, we can use 'comments region' to collapse the code. ...
分类:
其他好文 时间:
2018-12-07 21:15:20
阅读次数:
155
using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace MyBank{ public class Bank { #region 成员变量的定义 User user = n ...
分类:
其他好文 时间:
2018-12-07 12:13:12
阅读次数:
206
using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace MyBank{ public class Bank { #region 成员变量的定义 User user = n ...
分类:
其他好文 时间:
2018-12-07 12:06:18
阅读次数:
167
1.引入 2.页面布局 3.js iteams不能动态变化,加入,用update这个属性就可以了。需要给input初始化(不然就会变成输入框) input初始化 ,若是iteams 为空的话,会报错 ...
分类:
Web程序 时间:
2018-12-01 13:24:01
阅读次数:
312
安装Ansible 如果copy报错一下的语句 "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!",需要安装支持包 然后建立roles的标准化模块相应的目录 ...
分类:
其他好文 时间:
2018-12-01 13:15:36
阅读次数:
193
Nginx实现ssl会话加密:sslon|off;为指定虚拟机启用HTTPSprotocol,建议用listen指令代替ssl_certificatefile;当前虚拟主机使用PEM格式的证书文件ssl_certificate_keyfile;当前虚拟主机上与其证书匹配的私钥文件ssl_protocols[SSLv2][SSLv3][TLSv1][TLSv1.1][TLSv1.2];支持ssl协议
分类:
其他好文 时间:
2018-11-30 14:13:32
阅读次数:
230