Maven 确确实实是个好东西,用来管理项目显得很方便,但是如果是通过 Maven 来远程下载 JAR 包的话,我宿舍的带宽是4兆的,4个人共用,有时候用 Maven 来远程下载 JAR 包会显得很慢,一般我发现下载速度不明显的时候,我就 Ctrl + C 来终止它的下载。然后改用手动来下载,因为用迅雷一类的工具来下载会快很多。我机子上 Maven 的本地仓库的很多 JAR 包我都是手动下载的。手动下载的话就会带来一个问题,就是,怎么样手动将下载下来的 JAR 包添加到 Maven 的本地仓库。关于这个,网上也有很多资料。我说下我的做法。首先,推荐几个好的 Maven 常用仓库网址:【阅读全文】
1-Wire Application InterfaceThis section provides a brief description of the API functions contained inthe 'general' and 'userial' 1-Wire libraries.Link-Level 1-Wire Net functions:-------------------------------- owTouchReset - Reset all devices on the 1-Wire Net. Result of fu...【阅读全文】
1、编写函数[java] view plaincopypackage com.example.hive.udf; import org.apache.hadoop.hive.ql.exec.UDF; import org.apache.hadoop.io.Text; public final class LowerCase extends UDF { public Text evaluate(final Text s) { if (s == nu【阅读全文】