1.从一串字符串中获取特定的信息要求1:获取本机IP:menu.lst为系统镜象的IP配置文件,需要从中获取到本机IP信息(从文件获取信息)1
timeout 12 default 03 4 title live5 find --set-root /casper/vmlinuz6 kernel
/c...
分类:
系统相关 时间:
2014-05-26 23:44:19
阅读次数:
585
early-initwait_for_coldboot_done_actionkeychord_init_actioninitearly-fsfspost-fspost-fs-dataproperty_service_init_actionsignal_init_actioncheck_startu...
分类:
其他好文 时间:
2014-05-26 22:02:14
阅读次数:
233
spring容器对bean的生命周期管理主要在两个时间点:bean的初始化完成(包括属性值被完全注入),bean的销毁(程序结束,或者引用结束)方式一:使用springXML配置中的init-method="init"
destroy-method="destory" 这个两个配置,可以实现两个时间...
分类:
编程语言 时间:
2014-05-26 21:58:23
阅读次数:
315
init方法在init方法中实例化必要的对象(遵从LazyLoad思想)init方法中初始化ViewController本身loadView方法view
controller会在view的property被请求并且当前view值为nil时调用这个函数。当view需要被展示而它却是nil时,viewC...
分类:
其他好文 时间:
2014-05-26 15:52:14
阅读次数:
230
Last updated: June 23, 2010Contents[hide]1About
SysLink1.1SysLink Architecture1.2SysLink Usage2Getting Started with
SysLink2.1Building Kernel Image wi...
分类:
其他好文 时间:
2014-05-26 13:35:27
阅读次数:
263
1 创建Ring 代码详细分析
在OpenStack_Swift——Ring组织架构中我们详细分析了Ring的具体工作过程,下面就Ring中增加设备,删除设备,已经重新平衡的实现过程作详细的介绍。
首先看RingBuilder类 def __init__(self, part_power, replicas, min_part_hours):
#why 最大 2**32
...
分类:
其他好文 时间:
2014-05-23 01:50:35
阅读次数:
406
GM8138/39相较GM8126/28的改进之处:
1、GM8138支持1080P@45fps,GM8139支持1080P@60fps。GM8128要超频才可以达到1080P@30fps。
2、ISP性能优化,sharpness税利度效果大幅改善。这一点GM8126一直饱受批评。
3、H.264 encoder支持HP,以利于降低bitrate。
4、软件改进:支持kernel 3.3版...
分类:
其他好文 时间:
2014-05-23 01:33:44
阅读次数:
556
修改/etc/udev/rules.d/60-raw.rules文件
# 现在我们把/dev/sdb1 知道到raw1上,就可以在/etc/udev/rules.d/60-raw.rules文件里添加如下内容:
[root@centos~]#vi /etc/udev/rules.d/60-raw.rules
Cat >> /etc/udev/rules.d/60-raw.rules<< EOF
ACTION=="add",KERNEL=="sdb1",RUN+="/bin/raw /dev/raw/r...
分类:
系统相关 时间:
2014-05-22 18:38:24
阅读次数:
400
MySQL默认的数据文件存储目录为/var/lib/mysql。假如要把目录移到/home/data下需要进行下面几步:1.在home下建立目录mkdir-p/home/data/mysql2.停掉mysqld服务/etc/init.d/mysqldstop3.把/var/lib/mysql目录下面的内容迁移到/home/data/mysql下面4。修改my.cnf配置文件如果/etc..
分类:
数据库 时间:
2014-05-22 18:26:05
阅读次数:
405
1. 进程调度the process scheduler is the component of a
kernel that selects which process to run next.进程调度器需要使 处理器使用率最大化,并且提供
使多个进程并发执行的虚拟Deciding which pr...
分类:
系统相关 时间:
2014-05-22 16:07:11
阅读次数:
505