查看一个命令属于哪个rpm包[root@node1yum.repos.d]#whichssh-copy-id
/usr/bin/ssh-copy-id
Youhavenewmailin/var/spool/mail/root
[root@node1yum.repos.d]#rpm-qf/usr/bin/ssh-copy-id
openssh-clients-4.3p2-82.el5
分类:
其他好文 时间:
2014-07-23 21:27:46
阅读次数:
204
一般是程序中的某一个对象被release 了两次 一般情况下是与你定义的类型有关这里面我的错误是吧 NSString 类型的变量的属性 设置为了 assign 了 目测与这个有关补充object-c 基础property,assign,copy,retain,releaseproperty:属性的定...
分类:
其他好文 时间:
2014-07-23 15:02:36
阅读次数:
163
Two passes: all pointer linking info will be recorded in 1st pass - to hashmap; 2nd pass recover the pointer relationship from hashmap.1A!class Soluti...
分类:
其他好文 时间:
2014-07-23 14:59:26
阅读次数:
209
从iOS5以来,引入了AutomaticReferenceCount(ARC)自动引用计数,就是obj-c对象每被“使用”一次,引用计数就会+1,当引用计数为0时,系统就会回收内存。这些都是由编译器自己完成的。而非ARC在OC程序中就是:自己alloc的要release,retain/copy的相应的也要release,这是传说中..
分类:
其他好文 时间:
2014-07-23 00:19:38
阅读次数:
315
楼主喜欢《冰与火之歌》,无意中发现一个论坛,http://www.icefirefans.com ,客户端的logo看起来,挺有立体感的,很喜欢。自己摸索了一下,用PS试了几次,做了出来,步骤如下:1.新建大小合适的画布2.选择设计图形3.放置图形,并复制图层4.Copy图形选中复制的图层,按CTR...
分类:
Web程序 时间:
2014-07-22 22:48:32
阅读次数:
275
copy#include //#include usingstd;typedefuint16;unsigneduint32; //短整型大小端互换 #defineBigLittleSwap16(A)((((uint16)(A)&0xff00)>>8)|\ //长整型大小端互换 #defineBi.....
分类:
其他好文 时间:
2014-07-22 22:46:34
阅读次数:
238
第二个view声明一个block属性:
@property (nonatomic, copy) void(^doTransferMsg)(NSString *_msg);
然后传值方法里检查block是不是存在
- (IBAction)transferText:(UIButton *)sender {
if (_doTransferMsg) {
_do...
分类:
其他好文 时间:
2014-07-22 22:34:35
阅读次数:
179
block的定义,以及block的存储域,以及对block的属性或成员变量为什么要copy的解释。...
分类:
移动开发 时间:
2014-07-22 14:40:16
阅读次数:
259
HTML常用符号:显示一个空格   大于 > >& &符号 & &" 双引号 " "其他常用的字符实体(Character Entities)显示结果 说明 Entity Name Entity Number? 版权 © ....
分类:
Web程序 时间:
2014-07-22 00:07:36
阅读次数:
494
转自:https://coderwall.com/p/36x7uw 嗯,我决定还是把 整个文件贴出来,方便: 导入方法: 找到notepad++的目录,进入到themes里面。 建立一个:Waher-style.xml 然后把下面的内容copy进去。保存重启notepad++...
分类:
编程语言 时间:
2014-07-21 23:28:10
阅读次数:
542