磁盘管理RAID1POC环境在linux上添加2块新的30GB硬盘启动cat/etc/redhat-releasecatName:mdadmRelocations:(notrelocatable)Version:3.2.5Vendor:RedHat,Inc.Release:4.el6BuildDate:Fri07Dec201212:14:45AMCSTInstallDate:Fri01Aug201406:07:09PMCSTBuildHost:x86-003.build.bo..
分类:
系统相关 时间:
2014-08-15 14:48:49
阅读次数:
311
题意很简单了,对一个区间有两种操作:
1. "C A B C" Color the board from segment A to segment B with color C.
//A~B涂上颜色C
2. "P A B" Output the number of different colors painted between segment A and segment B (includ...
分类:
其他好文 时间:
2014-08-15 14:39:58
阅读次数:
292
Here another memory for speed implementation:class Solution {public: bool isValidSudoku(vector > &board) { size_t row_cnt = board.size(); ...
分类:
其他好文 时间:
2014-08-15 14:18:48
阅读次数:
194
1、Auto_Build_EAS.bat
@echo?off?
@echo?-------------------------
@echo?Only?change?variables?below
set?MSBuildDir=%WINDIR%\Microsoft.NET\Framework\v3.5
set?BuildType=Release
set?Working...
分类:
其他好文 时间:
2014-08-15 13:03:39
阅读次数:
273
一步步写 CMOS 驱动模块
Let's implement a char driver to access the system CMOS.
首先仅仅是创建设备模块,最简单的,类似于前面hello world模块一样的东东,从最简单的框架慢慢搭
/*************************************************...
分类:
其他好文 时间:
2014-08-15 12:54:54
阅读次数:
302
前提是已经安装了core及base两个组#cat/etc/redhat-release
RedHatEnterpriseLinuxServerrelease6.4(Santiago)
#uname-a
Linuxlocalhost.localdomain2.6.32-358.el6.x86_64#1SMPTueJan29
11:47:41EST2013x86_64x86_64x86_64GNU/Linux修改本机IP为静态获取#vi/etc/sysconfig/net..
分类:
系统相关 时间:
2014-08-15 10:52:19
阅读次数:
343
实验环境#uname-aLinuxlocalhost.localdomain3.10.0-123.el7.x86_64#1SMPMonJun3012:09:22UTC2014x86_64x86_64x86_64GNU/Linuxcat/etc/redhat-releaseCentOSLinuxrelease7.0.1406(Core)添加两块新硬盘做来实验。操作步骤创建分区先分别在两个磁盘上创建六个分区,然后查看分区#..
分类:
其他好文 时间:
2014-08-15 10:51:39
阅读次数:
303
#uname-a
Linuxhs105.localdomain2.6.32-358.el6.x86_64#1SMPTueJan2911:47:41EST2013x86_64x86_64x86_64GNU/Linux
#cat/etc/redhat-release
RedHatEnterpriseLinuxServerrelease6.4(Santiago)使用rpm安装mdadm[root@hs105~]#mount/dev/cdrom/mnt/cdrom/
mount:blockdevice/dev..
分类:
其他好文 时间:
2014-08-15 02:58:18
阅读次数:
317
1290: Random IntegersTime Limit:1 SecMemory Limit:128 MBSubmit:72Solved:45[Submit][Status][Web Board]DescriptionWe choose an integer K (K > 0). Then w...
分类:
其他好文 时间:
2014-08-14 23:48:26
阅读次数:
211
其实我是大三了,做着自己学校的项目经理(管理加带人,帮助大一大二的孩子们早点接触所谓的技术,其实我本人也是刚刚在大三开始接触相应的技术的),嵌入式嘛!做底层开发肯定是需要制作相应的PCB板,针对此,我想说PCB板的制作,我开头使用的是PROTEL SE 99,不过它有个致命的缺点,那就是只能在XP上...
分类:
其他好文 时间:
2014-08-14 23:41:16
阅读次数:
481