1.建表 首先先建立一张测试表,使用Innodb引擎 mysql> create table test_index( -> id int, -> name varchar(20) -> ) engine innodb default charset utf8 -> ;查看表上的索引,使用如下语句 m...
分类:
数据库 时间:
2014-08-08 12:32:25
阅读次数:
325
最近要用到Django,换成mysql出现了以下问题:The database backend does not accept 0 as a value for AutoField解决方法:cd 到对应的目录sed -i.old 's|\(ForeignKey.*\)default=0|\1defa...
分类:
数据库 时间:
2014-08-08 11:51:35
阅读次数:
1491
先帮朋友宣传一下程序人生(http://www.manong123.com)的网站,里面都是开发感悟,开发人员创业,支持一下吧~原来是通过PageMethods来实现的。举个列子:Default.aspx 里代码 无标题页 ...
分类:
Web程序 时间:
2014-08-08 09:34:35
阅读次数:
227
libvirt是一个通用的虚拟化框架,支持xen,kvm,lxc多种虚拟化技术,本文作为一个笔记。设置LXC为默认(默认为qemu)export
LIBVIRT_DEFAULT_URI=lxc:///virsh
-clxc:///可省略网络设置NATNAT是libvirt默认自带,叫做default,通过下面的
命令查看virshnet-list假设宿主机有两..
分类:
其他好文 时间:
2014-08-08 02:09:45
阅读次数:
264
weekbuy:widget.php'默认');?>---------theme_widget_weekbuy.php----------default.html " width='' height=''> 五FRIDAY 六 SATURDAY 日SUNDAY...
分类:
其他好文 时间:
2014-08-07 21:42:00
阅读次数:
370
一站式学习中心http://www.microsoft.com/china/msdn/WindowsPhone/learn/default.htmstackoverflowhttp://stackoverflow.com/questions/tagged/windows-phoneIn Depthh...
代码D:\开源工具>cat *.py | egrep "(config|gif)"sdk_config_443 = {"sdk_config_443":"IM443"}sdk_config_default = {"sdk_config_default":"IMDefault"}import con....
分类:
其他好文 时间:
2014-08-07 18:17:10
阅读次数:
233
Insus.NET想实现一个功能,一个旧的站点A,它有两个网页logon.aspx和Default.aspx(登录成功能访问)。由于某些原因,需另建一个新站点B,这个新站点B也有两个网页B_Index.apx和B_Default.aspx,它们分别使用iframe来加载A站点的login.aspx和...
分类:
其他好文 时间:
2014-08-07 12:15:09
阅读次数:
243
1:然后我自己看了一下桌面图标的载入过程:桌面第一次载入时是默认读取一个xml配置文件,完毕配置工作。这个配置文件在Launcher文件夹下,路径是:\Launcher\res\xml\default_workspace.xml 。这个XML文件就是刚升级,Launcher第一次显示的时候,会读取的...
分类:
移动开发 时间:
2014-08-07 12:01:29
阅读次数:
288
By default, the action bar appears at the top of your activity window, slightly reducing the amount of space available for the rest of your activity's layout. If, during the course of user interaction, you want to hide and show the action bar, you can do s...
分类:
移动开发 时间:
2014-08-07 03:07:19
阅读次数:
344