1. 在UIModalPresentationFormSheet(iPad device,without a UINavigationController)下的视图中,如果使用[inputView resignFirstResponder];是不能把Keyboard收起的,需要使用以下的方式:A: ...
分类:
移动开发 时间:
2014-06-28 21:17:51
阅读次数:
284
vi /etc/sysconfig/network-scripts/ifcfg-eth0加入 ONBOOT=yes //启动时网络接口是否有效这样就可以自动连接网络了/********************删除自带的apache:service ...
分类:
其他好文 时间:
2014-06-28 20:36:58
阅读次数:
258
eth0 eth0:1 和eth0.1三者的关系对应于物理网卡、子网卡、虚拟VLAN网卡的关系:物理网卡:物理网卡这里指的是服务器上实际的网络接口设备,这里我服务器上双网卡,在系统中看到的2个物理网卡分别对应是eth0和eth1这两个网络接口。子网卡:子网卡在这里并不是实际上的网络接口设备,但是可以...
分类:
其他好文 时间:
2014-06-18 21:31:02
阅读次数:
168
A monolithic kernel is a kernel where all services (file system, VFS, device drivers, etc) as well as core functionality (scheduling, memory allocatio...
分类:
其他好文 时间:
2014-06-18 12:45:23
阅读次数:
361
法1:cut[root@oldboy oldboy]# ifconfig eth0|grep 'inet addr'|cut -d ":" -f2|cut -d " " -f110.0.0.162法2:awk[root@oldboy oldboy]# ifconfig eth0|grep 'inet...
分类:
系统相关 时间:
2014-06-17 21:23:57
阅读次数:
357
DHCP实验步骤1、设置ip[root@localhost~]#vim/etc/sysconfig/network-scripts/ifcfg-eth0#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=eth0BOOTPROTO=noneONBOOT=yesHWADDR=00:0c:29:5d:ed:a4IPADDR=192.168.10.253PREFIX=24[root@localhost~]#vim/etc/sy..
分类:
系统相关 时间:
2014-06-17 16:59:55
阅读次数:
352
I finally figured this problem out. The device I am using is a Samsung Galaxy S4 and the actual problem (thanks Wibble for guidance in your answer, bu...
分类:
其他好文 时间:
2014-06-17 15:21:50
阅读次数:
240
实验报告DHCP的配置一.实验拓扑服务器----------客户机二.实验条件。所有试验机在相同的网段DHCP服务器有固定的ip三.实验步骤:设置ip:[root@localhost~]#cat/etc/sysconfig/network-scripts/ifcfg-eth0#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=e..
分类:
其他好文 时间:
2014-06-16 17:16:10
阅读次数:
334
两个与hal有关的结构体hw_module_t,hw_device_t一、jni和hal之间的关系Tip:几种app,jni,hal,framework之间的关系框架这篇文章用的框架是第二种框架的编写,他们的关系如下;可以看出jni主要通过pModule和pdevice来获取hal中的变量来操作hal层二、jni操作hal获取hal层:1、jni获..
分类:
移动开发 时间:
2014-06-16 15:17:59
阅读次数:
374
要求,1、DHCP的IP192.168.1.2522、分配192.168.1.10-200的IP地址,3、A主机,固定IPA00:0C:29:A8:43:F0192.168.1.100步骤:一、安装DHCP服务rpm-ivhdhcp-3(tab)二、配置文件1、配置本机IP地址vim/etc/sysconfig/network-scripts/ifcfg-eth0永久配置DEVICE=eth0BOOTPROTO=stati..
分类:
系统相关 时间:
2014-06-16 15:03:41
阅读次数:
390