#ifdef TEST_MODE#define NSLog(...) iydLog(__FILE__, __FUNCTION__, __LINE__, __VA_ARGS__)#endif//// iydLogWithFile.m// ebook//// Created by xiejinni...
分类:
其他好文 时间:
2014-09-24 19:06:47
阅读次数:
142
Flag Function ios::in Opens an input file. Use this as an open mode for an ofstreamto prevent truncating an existing file. ios::out Opens an output fi...
分类:
其他好文 时间:
2014-09-24 17:31:07
阅读次数:
233
chmod----改变一个或多个文件的存取模式(mode)chmod [options] mode files只能文件属主或特权用户才能使用该功能来改变文件存取模式。mode可以是数字形式或以who opcode permission形式表示。who是可选的,默认是a(所有用户)。只能选择一个opc...
分类:
系统相关 时间:
2014-09-24 16:00:36
阅读次数:
211
//实例化SharedPreferences对象(第一步) SharedPreferences mySharedPreferences= getSharedPreferences("test", Activity.MODE_PRIVATE); //实例化SharedPreferences.Edito...
分类:
移动开发 时间:
2014-09-24 14:55:46
阅读次数:
157
FTP的连接一般是有两个连接的,一个是客户程和服务器传输命令的,另一个是数据传送的连接。FTP服务程序一般会支持两种不同的模式,一种是Port模式,一种是Passive模式(Pasv Mode),我先说说这两种不同模式连接方式的分别。先假设客户端为C,服务端为S.Port模式:当客户端C向服务端S连...
分类:
其他好文 时间:
2014-09-24 14:45:26
阅读次数:
186
From :http://sqlblog.com/blogs/maria_zakourdaev/archive/2012/05/11/sqlcmd-mode-give-it-one-more-chance.aspx?utm_source=tuicool- Click on me. Choose me...
分类:
数据库 时间:
2014-09-24 14:17:16
阅读次数:
546
1、result_cache_mode比表注释优先使用的情况。createtabletest_Result_cache(idnumber)result_cache(modedefault);modedefault这个值仅移除任何已经设置的表注释,并不允许包含这张表的查询结果进行缓存。SQL>selectt.table_name,t.result_cachefromuser_Tablestwheret.tab..
分类:
数据库 时间:
2014-09-24 04:40:36
阅读次数:
322
一。传统数据传输1.user mode &kernel mode2.context switchThe steps involved are:1.The read() call causes a context switch (see Figure 2) from user mode to kern...
分类:
其他好文 时间:
2014-09-24 02:06:45
阅读次数:
514
1)确定sshd是否被关闭了 /etc/init.d/sshdstatus /etc/init.d/sshdstart2)如果start失败: 启动sshdBadownerormodefor/var/empty/sshd 意思是:/var/empty/sshd文件夹的所有者或者权限mode不...
分类:
系统相关 时间:
2014-09-24 00:47:09
阅读次数:
256
Day 1(介绍和欢迎)Introduction and Welcome(G. Djorgovski, R. Doyle, D. Crichton)Video 1(Djorgovski) [10:41]Slides(pdf)Video 2(Doyle & Crichton) [16:22]Slide...
分类:
其他好文 时间:
2014-09-23 22:38:25
阅读次数:
235