Jenkins supports Groovy script very well, so you can use Groovy to do a lot of tricky and interesting things. First, if you have a Groovy script, and ...
分类:
其他好文 时间:
2015-07-24 17:40:03
阅读次数:
91
前一阵byron老师讲了讲mongodb的CRUD操作,内容包括:如何创建新数据库(use dbname),删除数据库(use dbname →db.dropDatabase()),加入数据(db.collectionname.insert({})),查看表中的数据(db.collectionnam...
分类:
其他好文 时间:
2015-07-24 15:37:56
阅读次数:
106
NSString *str=@"// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to p....
分类:
其他好文 时间:
2015-07-24 12:19:52
阅读次数:
137
1 USE [FcityDB2] 2 GO 3 4 /****** Object: StoredProcedure [dbo].[Proc_GetDataPaged] Script Date: 2015/7/24 10:15:05 ******/ 5 SET ANSI_NULL...
分类:
数据库 时间:
2015-07-24 10:36:45
阅读次数:
212
AABBTime Limit: 20 SecMemory Limit: 256 MB题目连接TCDescriptionOne day, Jamie noticed that many English words only use the letters A and B. Examples of su...
分类:
其他好文 时间:
2015-07-24 06:44:17
阅读次数:
185
享元模式定义
英文定义:A flyweight is an object that minimizes memory use by sharing as much data as possible with other similar objects
中文定义:享元模式运用共享技术有效地支持大量细粒度的对象。
享元模式UML图(来自Google图片)
抽象享元(Flyweight)角...
分类:
其他好文 时间:
2015-07-23 23:47:09
阅读次数:
229
1 import http and Injectimport {httpInjectables, Http} from 'angular2/http';import {Inject} from 'angular2/di'; 2 init your Http and use itclass App ....
分类:
Web程序 时间:
2015-07-23 23:28:19
阅读次数:
244
use?mytest
go
--nchar类型与char类型完全相同,除了nchar是以Unicode格式而非ANSI格式来存储字符。
--Unicode格式比ANSI格式有更大的字符集范围。ANSI字符集仅有256个字符,Unicode字符集有65536个不同的字符。...
分类:
数据库 时间:
2015-07-23 22:04:13
阅读次数:
165
1、创建数据库 MongoDB使用use来创建数据库。 如:use test_db; 创建test_db数据库,如果不操作立即离开的话,这个数据库被系统删除。2、查看数据库 show dbs3、查看表(collection) show collections4、插入表数据 db.user...
分类:
数据库 时间:
2015-07-23 21:19:30
阅读次数:
140
// Filename: stl_hash_map.h
// hash_map和hash_multimap是对hashtable的简单包装, 很容易理解
/*
* Copyright (c) 1996
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute ...
分类:
其他好文 时间:
2015-07-23 15:42:26
阅读次数:
74