There is another solution for customizing the appearance of the preferences.Design a normal XML layout with buttons or whatever you want to add to the...
分类:
其他好文 时间:
2014-07-14 00:47:37
阅读次数:
306
add by zhj: 本文作者是DabApps公司的技术主管,作者认为在view中直接使用Django提供的ORM查询方法是不好的,我对此并不赞同,可能作者写这篇文章是给Django的初学者看,所以在说明方法演进时有些罗嗦,至少方法1是没有必要说的。本文介绍了如何给QuerySet类增加方法属性。...
使用asmcmd cp命令 把datafile从文件系统移动(move)到asm磁盘组中--针对11gR2...
分类:
移动开发 时间:
2014-07-13 16:28:01
阅读次数:
190
在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法...
分类:
其他好文 时间:
2014-07-13 15:39:32
阅读次数:
366
1.设置对话框为无边框方法
ModifyStyle(WS_CAPTION | WS_THICKFRAME, 0, SWP_FRAMECHANGED);
2.设置控件灰色与不灰色
void CMthread1Dlg::OnStop()
{
// TODO: Add your control notification handler code here
m_bRun = FA...
承接前面对whoosh的文章,继续:
写索引文件
下面开始写入索引内容,过程如下:
writer = ix.writer()
writer.add_document(title=u"my document", content=u"this is my document", path=u"/a", tags=u"firlst short", icon=u"/icons/star.p...
分类:
其他好文 时间:
2014-07-12 20:22:08
阅读次数:
342
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
public class Solution {
public String addBinary(String a, String b) {
...
分类:
其他好文 时间:
2014-07-12 19:42:26
阅读次数:
168
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-07-12 19:06:27
阅读次数:
204
今天想把ArcGIS换回英文版时,发现卸载中文汉化包后,对地图进行渲染时,符号化里面没有显示可用的颜色带。解决办法:在Customize菜单里面代开Style Manager样式管理器,然后选择右边的Styles...,再选择Add Style to List...,找到ArcGIS 安装目录下面的...
分类:
其他好文 时间:
2014-07-12 14:06:06
阅读次数:
621