int setsockopt(SOCKET s,int level,int optname,const char* optval,int optlen);s(套接字): 指向一个打开的套接口描写叙述字level:(级别): 指定选项代码的类型。SOL_SOCKET: 基本套接口IPPROTO_IP:...
分类:
其他好文 时间:
2014-06-19 06:37:51
阅读次数:
259
BACKGROUNDMany modern operating systems (OS's) use the Advanced Configuration and Power Interface (ACPI) standard, e.g., Rev. 3.0b, published Oct. 10,...
分类:
其他好文 时间:
2014-06-18 22:07:15
阅读次数:
382
magento自己带有导入导出功能
后台system-->import/export-->Advanced Profiles
进入后点击add new profiles
就可以新建一个规则了
Profile Name *是名字
Actions XML *是对应的参数
譬如例子:
file
var/import
...
分类:
其他好文 时间:
2014-06-18 08:01:20
阅读次数:
266
208 Introducing CloudKit
231 Advanced CloudKit
CloudKit的对象粗略分为三个层次:Contriner、Database(分Public和Private)、Record
操作包括存储、获取或修改Record
可以注册关注Record的变化来获得Notification
绝大多数的操作是异步的
存储Record时需要注...
分类:
其他好文 时间:
2014-06-18 07:35:46
阅读次数:
228
命令模式(command pattern) 撤销(undo) 详解本文地址: http://blog.csdn.net/caroline_wendy参考命令模式: http://blog.csdn.net/caroline_wendy/article/details/31379977命令模式可以用于执行撤销(undo)操作.具体方法:1. 对象类中需要保存状态, 如level.package co...
分类:
其他好文 时间:
2014-06-17 22:19:07
阅读次数:
229
在Oracle 10g下,来到scott用户下,分别以层次 1,2,3,4上的节点做实验:
当start with是根节点(level=1),要查其子节点,connect by pump和emp都是被扫描4次(总的层次)。
当start with是根节点(level=2),要查其子节点,connect by pump和emp被扫描3次。
当start wi...
分类:
数据库 时间:
2014-06-16 22:10:00
阅读次数:
232
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2014-06-15 15:17:43
阅读次数:
192
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 20
...
分类:
其他好文 时间:
2014-06-15 13:26:54
阅读次数:
200
Description:Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next ...
分类:
其他好文 时间:
2014-06-14 18:41:40
阅读次数:
265
1. Fragment基本用法
为了管理Activity中的fragments,需要调用Activity中的getFragmentManager()方法。因为FragmentManager的API是在Android 3.0,也即API level 11开始引入的,所以对于之前的版本,需要使用support library v4中的FragmentActivity,并且使用getSupportFr...
分类:
其他好文 时间:
2014-06-14 13:38:42
阅读次数:
188