; 感觉双休就想睡觉,这鬼天气,一直下雨。设置时间未完成,只是加了一个所谓的主界面; display
system time. press f1 to change the color displayed, press esc to return main
list. f3 exit; clear_...
分类:
其他好文 时间:
2014-05-27 03:09:58
阅读次数:
320
gdb FILE 调试程序gdb run 运行程序gdb list 查看代码break num
设置断点breac function info b 查看断点 delete b 删除断点break operator(函数名) 条件断点step 单步 next
往下执行 display varible ...
分类:
数据库 时间:
2014-05-27 03:07:35
阅读次数:
309
刚刚在学习ViewPager的使用,于是想要观看它的源码。上网找了很多资料大概步骤如下1:
找到libs/android-support-v4.jar,对其Build Path-add toBuild Path2:Java Build
Path-Libraries android-support-v...
分类:
移动开发 时间:
2014-05-27 03:05:40
阅读次数:
291
继续上次的例子,对于list才说只有行,讨论列是没有意义的。 bool insertRows(int
row, int count, const QModelIndex &parent); bool removeRows(int row, int
count, const QModel...
分类:
Web程序 时间:
2014-05-27 01:25:29
阅读次数:
296
前面两节讲的model是一维的,这次开始二维的也就是我们常说的Table,相对与list,我们多了一个列的概念。下面讲解一个例子。我先说明一下我们这个例子,在程序目录下,我们有一个文本文件,其中存放的学生信息。数据存放的格式学号
姓名 性别xxx xxx ...
分类:
Web程序 时间:
2014-05-27 01:15:06
阅读次数:
286
以下为代码示例:全局变量: List CategoryList =
PCS.DAL.EF.Repository.GetInstance().GetCategoryList(); List V_BTUser_Category =
PCS.DAL.EF.Repository.GetInstance()....
分类:
其他好文 时间:
2014-05-24 05:38:09
阅读次数:
303
关于Orchard中的Caching组件已经有一些文章做了介绍,为了系列的完整性会再次对Caching组件进行一次介绍。
缓存的使用 在Orchard看到如下一段代码: 可以看到使用缓存的方法Get而看不到以前常见的缓存方法:Add\Set\Remove,是不是很神奇。
其实也不是那么的神奇,Get...
分类:
其他好文 时间:
2014-05-24 05:09:23
阅读次数:
398
Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the origi...
分类:
其他好文 时间:
2014-05-24 04:59:06
阅读次数:
275
aapt命令小结 aapt即Android Asset Packaging
Tool.本文小结了一下该工具的用法。1. aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of
Zip-compatible archive.1.1 列出压缩文...
分类:
移动开发 时间:
2014-05-24 01:53:20
阅读次数:
329
设置归档模式(mount状态)ALTER database
ARCHIVELOG;//关闭数据库shutdown immediate//启动数据库到mount状态startup mount alter database
archivelog;//查看归档状态archive log list;SQL>...
分类:
数据库 时间:
2014-05-23 23:45:05
阅读次数:
441