摘要: 论开发规范的重要性,以避免许多不必要的bug 阅读全文
posted @ 2017-08-19 16:28 杜子龙 阅读(1678) 评论(0) 推荐(0) 编辑
摘要: java.lang.Object.hashCode()的返回值到底是不是对象内存地址?答案是否定的! 阅读全文
posted @ 2017-03-19 17:39 杜子龙 阅读(1290) 评论(1) 推荐(0) 编辑
摘要: 1.源码安装: 需要手动编译。这种软件安装包通常是用gzip压缩过的tar包(后缀为.tar.gz)。 tar -zxvf filename.tar.gz 通常在解压缩后产生的文件中,有名为"INSTALL"的文件。该文件为纯文本文件,详细讲述了该软件包的安装方法。 对于多数需要编译的软件,其安装的 阅读全文
posted @ 2017-02-28 22:18 杜子龙 阅读(4949) 评论(0) 推荐(1) 编辑
摘要: 对于刚接触大数据的用户来说,要想区分Hive与HBase是有一定难度的。本文将尝试从其各自的定义、特点、限制、应用场景等角度来进行分析,以作抛砖引玉之用。 阅读全文
posted @ 2016-07-25 14:20 杜子龙 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 该文档解决了多次格式化文件系统后,datanode无法启动的问题,所以没事不要老去格式化 阅读全文
posted @ 2016-07-17 21:52 杜子龙 阅读(8768) 评论(0) 推荐(2) 编辑
摘要: MariaDB是MySQL的一个分支,主要由开源社区进行维护和升级,而MySQL被Oracle收购以后,发展较慢。在CentOS 7的软件仓库中,将MySQL更替为了MariaDB。 Centos 7 comes with MariaDB instead of MySQL. MariaDb is a 阅读全文
posted @ 2016-05-30 17:19 杜子龙 阅读(2559) 评论(0) 推荐(0) 编辑
摘要: The important points is that you must send a Content-Type header. Also, you must be careful not include any extra white space (like newlines) in your 阅读全文
posted @ 2016-03-26 01:21 杜子龙 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 1.解析base64数据成图片 The problem is that data:image/bmp;base64, is included in the encoded contents. This will result in invalid image data when the base64 阅读全文
posted @ 2016-03-26 00:46 杜子龙 阅读(16451) 评论(0) 推荐(0) 编辑
摘要: 首先建立两个文件: change.html 和 change.php change.html 文件的表单代码如下: <html><head> <title>change file example.</title> <meta charset="UTF-8"></head><body> <form m 阅读全文
posted @ 2016-03-11 16:50 杜子龙 阅读(1932) 评论(0) 推荐(0) 编辑