mkfs[-t文件系统格式]装置名称-t可以接文件系统格式:ext3,ext2,vfat例题:将/dev/hdc6格式化为windows可读vfat格式答:mkfs-tvfat/dev/hdc6[root@linux~]#mke2fs[-bicLj]装置名称参数∶-b∶可以设定每个block的大小,目前支援1024,2048,4096bytes三种;-i∶多少容量给予一个in..
分类:
系统相关 时间:
2014-11-05 17:31:06
阅读次数:
279
第一步:新建setdebugnew.h 内容如下#ifndef SETDEBUGNEW_H#define SETDEBUGNEW_H#ifdef _DEBUG#define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__)#el...
分类:
其他好文 时间:
2014-11-05 16:56:49
阅读次数:
187
【ARC的特性】 ARC下,所有NSObject类型指针, 1. 默认为__strong类型 2. 可以显示的指定为__weak类型,__weak类型指针在所指向对象销毁后会自动置为nil 3. __autorelesing类型用于inout参数类型 ARC下,当一个函数返回一个NSObj...
分类:
移动开发 时间:
2014-11-05 14:19:29
阅读次数:
286
http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspxRemarksTheinnerHTMLproperty is valid for both block and inline elements. By definition, el...
分类:
Web程序 时间:
2014-11-05 12:49:03
阅读次数:
235
讨论:在主队列、串行队列和并发队列上异步执行代码块才能见识到 GCD 的真正实力。要在分派队列上执行异步任务,你必须使用下面这些函数中的其中一个:dispatch_async为了异步执行向分派队列提交一个 Block Object(2 项都通过参数指定)dispatch_async_f为了异步执行向...
分类:
其他好文 时间:
2014-11-05 12:39:09
阅读次数:
185
一、效果图。二、HTML+CSS。<style>*{padding:0;margin:0;font-size:12px;}li{list-style:none;}a{text-decoration:none;}.clear:after{content:‘‘;display:block;clear:both;}.clear{zoom:1;}.box{width:958px;border:1pxsolid#c6c6c6;height:328px;margin:90pxauto;}.l..
分类:
其他好文 时间:
2014-11-04 19:53:57
阅读次数:
257
简单描述: 用到的知识点 css 中的绝对定位 以及 Js 中的事件冒泡(或事件委托)1 .cont{display:inline-block;width:200px;height:200px;border:1px solid red;position:absolute;left:150px;t.....
分类:
其他好文 时间:
2014-11-04 19:35:35
阅读次数:
343
("#id").css('display','none');$("#id").css('display','block');或$("#id")[0].style.display = 'none';$("#id")返回的是JQuery它是个集合肯定有display属性$("#id").show()表示...
分类:
Web程序 时间:
2014-11-04 12:57:42
阅读次数:
146
how to add prefix header?In The Project search prefix, We will see the prefix header.And then.PS:"UIAlertView-Add textField" is mine project name
分类:
其他好文 时间:
2014-11-04 12:44:07
阅读次数:
215
1、IE6/7不识别inline-block,只是触发了layout,表现跟真实一样。2、IE6/7不完全支持inline-block,只对内联元素有效。IE下块元素如何实现display:inline-block的效果?有两种方法:1、先使用display:inline-block属性触发块元素,...
分类:
其他好文 时间:
2014-11-04 10:50:28
阅读次数:
125