搜索到与相关的文章
编程技术

Animation Types----Grouping Animations

-(id)initWithFrame:(NSRect)frame{self=[superinitWithFrame:frame];if(self){CGFloatxInset=3.0f*(NSWidth(frame)/8.0f);CGFloatyInset=3.0f*(NSHeight(frame)/8.0f);NSRectmoverFrame=NSInsetRect(frame,xInset,yInset);moverFrame.origin.x=NSM

系统 2019-08-12 09:29:51 2662

编程技术

设计模式 - State Pattern(状态模式)

摘要:[源码下载]设计模式-StatePattern(状态模式)作者:webabcd介绍允许一个对象在其内部状态改变时改变它的行为。对象看起来似乎修改了它所属的类。示例有一个Message实体类,对它的操作有Insert()和Get()方法,持久化数据在SqlServer数据库中或Xml文件里。在对象内部可以根据用户的不同选择不同的数据持久化方案。MessageModelusing&n...阅读全文webabcd2007-03-0623:03发表评论设计模

系统 2019-08-12 09:29:46 2662

各行各业

Install Maven

Windows2000/XPUnzipmaven-2.0.7-bin.ziptothedirectoryyouwishtoinstallMaven2.0.7.TheseinstructionsassumeyouchoseC:\ProgramFiles\ApacheSoftwareFoundation\maven-2.0.7Addthebindirectorytoyourpath,byopeningupthesystemproperties(WinKey+P

系统 2019-08-12 09:27:37 2662

数据库相关

mongodb的查询语句学习摘要

看了些资料,对应只需要知道怎么查询和使用mongodb的我来说,这些足够啦。左边是mongodb查询语句,右边是sql语句。对照着用,挺方便。db.users.find()select*fromusersdb.users.find({"age":27})select*fromuserswhereage=27db.users.find({"username":"joe","age":27})select*fromuserswhere"username"="j

系统 2019-08-12 01:53:00 2662

数据库相关

Linq中使用Left Join

准备一些测试数据,如下:useTestCreatetableStudent(IDintidentity(1,1)primarykey,[Name]nvarchar(50)notnull)CreateTableBook(IDintidentity(1,1)primarykey,[Name]nvarchar(50)notnull,StudentIDintnotnull)insertintoStudentvalues('张三')insertintoStudent

系统 2019-08-12 01:52:38 2662

编程技术

一种并行随机梯度下降法

MartinA.Zinkevich等人(Yahoo!Lab)合作的论文ParallelizedStochasticGradientDescent中给出了一种适合于MapReduce的并行随机梯度下降法,并给出了相应的收敛性分析。这里忽略理论部分,根据自己的理解给出文中所提并行随机梯度下降法的描述。一种并行随机梯度下降法

系统 2019-08-12 01:33:07 2662

编程技术

MetaData Service (MDS) in OA Framework

OAF的XML文件有:UIXPagesandRegions.OAFPersonalizationsBC4JSubstitutions(EO,VOSubstitutions)BC4JComponents(EO.xml,VO.xml,AM.xml,AO.xml,VL.xml)OAF的很多组件都是以XML的形式存在,但到最终的系统里,OAF的XML文件会存储到数据库表中(JDR_表)。MDS提供API(JDR_UTILS)从JDR表读取,并构建XML的定义。Ta

系统 2019-08-29 23:50:52 2661

编程技术

为github帐号添加SSH keys

使用gitclone命令从github上同步github上的代码库时,如果使用SSH链接(如我自己的beagleOS项目:git@github.com:DamonDeng/beagleOS.git),而你的SSHkey没有添加到github帐号设置中,系统会报下面的错误:Permissiondenied(publickey).fatal:Theremoteendhungupunexpectedly这时需要在本地创建SSHkey,然后将生成的SSHkey文件

系统 2019-08-29 23:50:22 2661