#Memcache学习总结

Spark 学习

环境:Ubuntu12.04,JDK1.6,scala 2.11.1,spark1.0.1,hadoop1.2.1一安装jdk这里不细说了,自行google吧。二安装scalascala官网:http://www.scala-lang.org/index.html,download下来解压tar-zxvf/m...
代码星球 代码星球·2020-04-05

学习Mahout (四)

 在Mahout学习(三)中,我贴了example的代码,里面生成向量文件的代码:InputDriver.runJob(input,directoryContainingConvertedInput,"org.apache.mahout.math.RandomAccessSparseVector");Inpu...
代码星球 代码星球·2020-04-05

学习Mahout(三)

开发+运行第一个Mahout的程序代码:/***LicensedtotheApacheSoftwareFoundation(ASF)underoneormore*contributorlicenseagreements.SeetheNOTICEfiledistributedwith*thisworkforadditio...
代码星球 代码星球·2020-04-05

学习Mahout(二)

继续上一篇博客。这篇博客介绍如何跑一下mahout自带的Helloworld程序我将mahout安装在/opt/hadoop/mahout-distribution-0.9cd/opt/hadoop/mahout-distribution-0.9/examples/binvicluster-syntheticcontr...
代码星球 代码星球·2020-04-05

学习Mahout(一)

Mahout官方下载地址:http://apache.fayea.com/apache-mirror/mahout/环境ubuntu12.04,hadoop1.2.1,mahout0.9,memory2G 1首先解压tar包tar-zxvf/mnt/hgfs/mnt/mahout-distribution-0...
代码星球 代码星球·2020-04-05

iperf工具学习记录

源码下载地址:http://sourceforge.net/projects/iperf/编译命令:tar-zxvfiperf-2.0.5.tar.gzcdiperf-2.0.5./configuremake&&makeinstall服务器端命令:iperf-s-i1-p12345-M客户端命令:ipe...
代码星球 代码星球·2020-04-05

alternatives 命令学习

最经在捣鼓Cloudera的cdh,发现里面使用了alternatives命令,由于不懂这个命令,让我走了好多弯路。现在mark一下ubuntu12.04系统的命令为:update-alternativesRedHat6.4系统命令为:alternatives,其中update-alternatives命令是/usr/...
代码星球 代码星球·2020-04-05

jdbc 连接 sqlserver 学习

使用sqljdbc.jar连接sqlserver下载网址:http://www.drv5.cn/sfinfo/8228.html#softdownpackagetest_sql_server;importstaticorg.junit.Assert.*;importjava.sql.Connection;importj...
代码星球 代码星球·2020-04-05

pytest入门学习(2)

pytest的helloworldpyt1.pydeffunc(x):print(x+1);returnx+1;deftest_answer():assertfunc(3)==5;deftest_2():assertfunc(4)==5;使用py.test测试py.testpyt.py输出===============...
代码星球 代码星球·2020-04-05

pytest入门学习(1)

系统ubuntu12.04,可上网一、安装:1、安装setuptools下载页面:https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev解压之后安装tar-zxvfpypa-setuptools-f90c6708ef51.t...
代码星球 代码星球·2020-04-05

学习makefile与autoconfig笔记,持续更新

 main.c#include<stdio.h>#include"chen_print.h"intmain(intargc,char*argv){chen_print("haha,I'mcomingmakefile");return0;}chen_print.c#include<stdio....

视频阶段总结

object类的方法:getClass();应用:{Students=newStudent();Classc=s.getClass();System.out.println(c.getName());//打印出Student对象的包名以及类名。}toString();//返回对象的字符串表示{Students=newS...
代码星球 代码星球·2020-04-05

HTML5-WebSocket技术学习(2)

上一篇介绍了websocket的基本用法.这篇介绍websocket的一个框架:socket.iosocket.io是一个既可以用在客户端又可以用在服务器端的框架.本篇介绍socket.io在客户端和node后端的基本用法首先进入项目的根目录,然后执行npminstallsocket.io 客户端:1.链入s...
代码星球 代码星球·2020-04-04

HTML5-WebSocket技术学习(1)

WebSocket是为解决客户端与服务端实时通信而产生的技术。介绍它是什么的废话不多说了,直接说怎么用:客户端:1.创建一个 EventSource对象vares=newEventSource(url)其中,url参数是必填的,传入需要建立通信的后台文件地址 2.指定事件回调EventSource的...
代码星球 代码星球·2020-04-04

angular的uiRouter服务学习(4)

本篇接着上一篇angular的uiRouter服务学习(3)继续讲解uiRouter的用法本篇主要讲解uiRouter的url路由大多数情况下,状态是和url相关联的:当url改变,激活对应的状态.当状态发生改变,同步url.所以,在设置状态的一开始,就应该把url路由的设计考虑进去,同时保持路由和状态的分离.其实在之...
首页上一页...387388389390391...下一页尾页