1.Create useful .gitignore files for your project ,更好的管理你的项目,这里可以找到所有的ignore文件 ? URL:http://www.gitignore.io/ URL:https://github.com/github/gitignore 2.Appance官网上收集的and...
分类:
移动开发 时间:
2014-08-11 10:24:02
阅读次数:
289
djangmodels1.创建model fromdjango.dbimportmodels classMyObject(models.Model): attribute1=models.CharField(max_length=50)2.创建记录 2.1p=MyObject(attribute=xxxx) p.save() 2.2p=MyObject.objects.create(attribue=xxx)3.更新记录 p=MyObject.objects.all(attribute..
分类:
其他好文 时间:
2014-08-11 10:17:52
阅读次数:
266
以下是JavaFX中导出Excel的核心代码:
private HSSFWorkbook workbook;
/* Build Operation Button Area */
Button exportBn = ButtonBuilder.create().text("导出Excel").prefWidth(80).prefHeight(30).build();
...
分类:
编程语言 时间:
2014-08-11 10:09:22
阅读次数:
469
一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server---创建 备份数据的deviceUSE masterEXEC sp_addumpdevice 'disk', 'tes...
分类:
数据库 时间:
2014-08-11 10:00:42
阅读次数:
386
HT for Web简称HT提供了涵盖通用组件、2D拓扑图形组件以及3D引擎的一站式解决方案,正如Hightopo官网所表达的我们希望提供:Everything you need to create cutting-edge 2D and 3D visualization. 这个愿景从功能...
分类:
其他好文 时间:
2014-08-11 08:29:50
阅读次数:
249
var
??Bmp:?TBitmap;
procedure?TForm1.FormCreate(Sender:?TObject);
begin
??Bmp?:=?TBitmap.Create;
??Bmp.LoadFromFile(‘D:\test.bmp‘);
??Brush.Bitmap?:=?Bmp;
end;
procedure?TForm1.Fo...
dispatch_create生成的Queue不管是并行队列还是串行队列,其优先级都是默认优先级但是可以用dispatch_set_target_queue来改变队列的优先级dispatch_set_target_queue(原来的队列, 目标优先级队列)使用这个函数需要获取两个队列,一个是需要变更...
分类:
编程语言 时间:
2014-08-10 23:59:10
阅读次数:
559
'========================================'WINDOWS特有的消息常量标识符'========================================Public Const WM_NULL = &H0&Public Const WM_CREATE ...
Windows消息宏,定义在winuser.h里,消息编号从 0x0000 到0x0400,下面给出一部分:1 #define WM_NULL 0x00002 #define WM_CREATE 0x0001...
SQL> drop table test purge;SQL> create table test (id int,comments CLOB);SQL> select INDEX_NAME, INDEX_TYPE,TABLE_OWNER ,TABLE_NAME from user_indexes ...
分类:
数据库 时间:
2014-08-10 21:14:10
阅读次数:
306