BACKGROUNDEmbodiments of the invention relate to the field of electronic systems and power management. More particularly, embodiments of the invention...
分类:
其他好文 时间:
2014-06-19 08:54:29
阅读次数:
303
data-options="required:true,editable:false,panelHeight:'auto'" 加上panelHeight:'auto'即可列合并的情况 columns: [ [ { field...
分类:
Web程序 时间:
2014-06-15 23:14:51
阅读次数:
815
mysql 自定义排序顺序实例如:在sql语句中加入ORDER BY FIELD(status,3,4,0,2,1)语句可定义排序顺序SELECT tsdvoucher0_.VOUCHER_ID AS VOUCHER1_0_, tsdvoucher0_.COMMENT_DEVICE_TYPE AS ...
分类:
数据库 时间:
2014-06-15 21:32:00
阅读次数:
260
BACKGROUND OF THE INVENTION The present invention relates to the field of data storage devices. Computers often store large quantities of data, includ...
分类:
其他好文 时间:
2014-06-15 17:43:23
阅读次数:
298
在WWDC2014上,Sprite Kit又有了很多新的提升!
其中一个很有意思的东西就是Physics Field!也就是物理场!
这意味着我们在Sprite kit上编写虚拟物理场的游戏将变得非常简单!先放上GitHub链接:
https://github.com/songrotek/PhysicsFieldsWorld.git
我另外录制了效果视频大家可以先一睹为快:
http://v.youku.com/v_show/id_XNzI2MzUzNzYw.html...
分类:
移动开发 时间:
2014-06-15 10:24:48
阅读次数:
282
C在mysql中,如何改变列声明.修改表 -
修改列名使用CHANGECOLUMN来修改列的名字,还必须设置列的数据类型mysql>desctest_tab->//+-------+-------------+------+-----+---------+-------+|Field|Type|Nu...
分类:
数据库 时间:
2014-06-13 13:11:44
阅读次数:
330
一直想要一个Flash 那种形状渐变效果,这两天苦思冥想了一番实现了,先看效果。
一开始是往把贴图alpha通道识别成路径,建模想办法拉顶点的方向去,想来想去不是个好办法,后来还是决定直接基于位图实现,尽量采用gpu可以处理的方式。
然后往这边思考后,脑子里就浮现出了ditance field 这个...
分类:
其他好文 时间:
2014-06-12 09:44:02
阅读次数:
249
《重构-改善既有代码的设计》Martin Fowler 摘要:
第十一章 处理概括关系
有一批重构手法专门处理类的概括关系(generalization , 即继承关系)
Pull Up Field 字段上移
两个子类有相同字段 --》 移到超类
观察函数如何使用它们,使用的方式很相似,考虑归纳到超类
Pull Up Method 函数上移
有些函数...
分类:
其他好文 时间:
2014-06-10 11:10:10
阅读次数:
171
$each 配合 $addToSet :
只将不存于数组 field 中的多值加入到field中,去重
db.COLLECTION.update(
,
{
$addToSet: {
: {
$each: [ , ... ]
}
}
}
)
$each 配合 $push:
将多值压入数组 field 中,不去重
db.COLLE...
分类:
数据库 时间:
2014-06-10 06:32:12
阅读次数:
555