代码较老,供参考NSCalendar用于处理时间相关问题。比如比较时间前后、计算日期所的周别等。1.创建或初始化可用以下方法 + (id)currentCalendar;取得当前用户的逻辑日历(logical calendar) + (id)autoupdatingCurrentCalendar;取...
分类:
其他好文 时间:
2015-10-12 23:59:58
阅读次数:
453
LogicalVolumeManager(逻辑卷管理)
pv:phiscalvolume物理卷pe:PhiscalExtent物理块数据的增加,物理卷的大小限制,可扩展性很差pv:py创建步骤:分区–--格式化为linuxlvm格式-----createpv------加入vg------划分PE-----组成LV1:fdisk/dev/sda创建新分区改为LVM格式2..
分类:
其他好文 时间:
2015-10-01 07:05:30
阅读次数:
243
磁盘处理流程umount /dev/sdX1卸载对应的磁盘sudo arcconf getconfig 1 ld确认之前 Logical Drive 已经消失,如果没有执行arcconf delete 1 logicaldrive xx删除对应的 Logical Drive, 这里,xx为出问题的 ...
分类:
其他好文 时间:
2015-09-28 22:07:27
阅读次数:
491
数据结构的一些基本术语:数据:客观事物的符号表示数据元素:数据集合中的一个个体数据项 组成数据元素数据对象是数据的子集 由相同性质的数据元素构成数据结构:带有结构的数据元素的集合数据结构可以用一个四元组表示(D,L,S,O)data ,logical structrue ,storage struc...
分类:
编程语言 时间:
2015-09-27 17:24:50
阅读次数:
169
一、 前言LVM是逻辑卷管理(Logical Volume Manager)的简称,它是建立在物理存储设备之上的一个抽象层,允许你生成逻辑存储卷,与直接使用物理存储在管理上相比,提供了更好灵活性。LVM将存储虚拟化,使用逻辑卷,你不会受限于物理磁盘的大小,另外,与硬件相关的存储设置被其隐藏,你可以不...
分类:
系统相关 时间:
2015-09-16 17:54:55
阅读次数:
290
SELECT TOP 10 TEXT AS 'SQL Statement' ,last_execution_time AS 'Last Execution Time' ,(total_logical_reads + total_physical_reads + total_logical...
分类:
数据库 时间:
2015-09-16 17:51:09
阅读次数:
219
GPT格式化大于2TB分区[root@BMCCF107~]#parted/dev/sdbGNUParted2.1Using/dev/sdbWelcometoGNUParted!Type‘help‘toviewalistofcommands.mkpartGPT(parted)printModel:IBMServeRAIDM5110e(scsi)Disk/dev/sdb:3596GBSectorsize(logical/physical):512B/4096BPartitionTable:gptNu..
分类:
其他好文 时间:
2015-09-15 20:14:59
阅读次数:
216
题目:It is late at night and you found a logical expression on the blackboard, which you believe is the secret to figure out if your gang is going to be...
分类:
其他好文 时间:
2015-09-14 15:27:21
阅读次数:
138
以Good和GoodStatus为例:一、注解仅添加在一方:@Entity@Table(name = "GOOD")@Where(clause="enabled=1") //Used for logical delete, disabled objects are always hiddenpubl...
分类:
Web程序 时间:
2015-09-10 10:45:02
阅读次数:
180
Location中包含如下字段以及AMfgObject中关于创建信息的字段,然而有时使用并不需要传输那么多数据,则对其中字段进行过滤。@Entity@Table(name = "LOCATION")@Where(clause="enabled=1") //Used for logical delet...
分类:
其他好文 时间:
2015-09-10 09:32:40
阅读次数:
178