上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 164 下一页

2017年8月12日

<html>

摘要: Ellipsoid Problem Description Given a 3-dimension ellipsoid(椭球面) your task is to find the minimal distance between the original point (0,0,0) and poin 阅读全文

posted @ 2017-08-12 09:02 wgwyanfs 阅读(132) 评论(0) 推荐(0)

2017年8月11日

JAVA开发 - Spring MVC学习

摘要: Spring MVC 事实上就是一种java实现的web mvc设计模式的请求驱动类型的轻量级Web框架,就是用了MVC的架构模式思想。把Web层解耦,这样基于请求驱动指的就是请求-响应模型。 前端控制器是DispatcherServlet, 应用控制事实上是两部分:处理器映射器(Handler M 阅读全文

posted @ 2017-08-11 16:24 wgwyanfs 阅读(116) 评论(0) 推荐(0)

The Single Responsibility Principle

摘要: The Single Responsibility Principle Robert C. Martin (Uncle Bob) ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those thin 阅读全文

posted @ 2017-08-11 13:46 wgwyanfs 阅读(107) 评论(0) 推荐(0)

MSComDlg.CommonDialogserver不能创建对象错误的解决

摘要: 作者:朱金灿来源:http://blog.csdn.net/clever101 在JavaScript中弹出打开文件对话框,代码例如以下:var fileOpenDlg = new ActiveXObject("MSComDlg.CommonDialog"); 结果出现错误:解决的方法是: 假如是W 阅读全文

posted @ 2017-08-11 12:44 wgwyanfs 阅读(221) 评论(0) 推荐(0)

Hadoop的HA机制(Zookeeper集群+Hadoop集群)配置记录

摘要: 博主:hadoop_version=2.4.1 java_version=1.7 zooKeeper_version=3.4.5 Linux =CentOs 6.5 1.首先说明HA是什么? HA意为High Available。高可用性集群,是保证业务连续性的有效解决方式,一般有两个或两个以上的节 阅读全文

posted @ 2017-08-11 11:58 wgwyanfs 阅读(398) 评论(0) 推荐(0)

linux怎样查看port被谁占用

摘要: 使用 netstat 进行查看! >netstat -noap | grep 80 | grep tcp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 74160 138880 127.0.0 阅读全文

posted @ 2017-08-11 10:39 wgwyanfs 阅读(157) 评论(0) 推荐(0)

hadoop配置说明

摘要: core-site.xml name value Description fs.default.name hdfs://hadoopmaster:9000 定义HadoopMaster的URI和port fs.checkpoint.dir /opt/data/hadoop1/hdfs/namesec 阅读全文

posted @ 2017-08-11 10:08 wgwyanfs 阅读(244) 评论(0) 推荐(0)

C#中的继承与多态还有接口

摘要: 简单继承最简单的三个类public class Animal { public Animal() { Debug.Log("Construct Animal!"); } }public class Mammal : Animal { public Mammal() { Debug.Log("Cons 阅读全文

posted @ 2017-08-11 08:17 wgwyanfs 阅读(258) 评论(0) 推荐(0)

2017年8月10日

11_Eclipse中演示Git版本号的创建,历史版本号的改动,创建分支,合并历史版本号和当前版本号

摘要: 1 运行下面案例: 某研发团队2011年初开发了一款名为Apollo的信息系统,眼下已公布v1.0版本号。此项目初期已有部分基础代码。 研发团队再此基础代码上经过3个月的努力公布了一个功能相对完备的Apollo 1.0版本号进行销售。 因为销售业绩良好,因此研发团队正在着手v2.0版本号的开发工 阅读全文

posted @ 2017-08-10 18:26 wgwyanfs 阅读(575) 评论(0) 推荐(0)

实现了私聊和群聊功能的聊天工具

摘要: 在前面的博客(简单的C/S聊天室)中。我们已经提到了,採用的是多线程的方法。server端主线程负责不断的侦听port。子线程负责接收和发送消息。client主线程须要接收键盘消息,将其发送到server端,子线程须要接收server端发过来的消息。在这个简易的C/S聊天室的实现中。只实现了群聊的功 阅读全文

posted @ 2017-08-10 17:24 wgwyanfs 阅读(369) 评论(0) 推荐(0)

上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 164 下一页

导航