This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ lein repl | |
Listening for transport dt_socket at address: 51539 | |
nREPL server started on port 51542 | |
REPL-y 0.1.0-beta10 | |
Clojure 1.4.0 | |
Exit: Control+D or (exit) or (quit) | |
Commands: (user/help) | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Source: (source function-name-here) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example; | |
import java.util.Properties; | |
import cascading.flow.Flow; | |
import cascading.flow.FlowDef; | |
import cascading.flow.hadoop.HadoopFlowConnector; | |
import cascading.pipe.CoGroup; | |
import cascading.pipe.Pipe; | |
import cascading.pipe.assembly.CountBy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ pwd | |
/Users/ceteri/src/concur/pattern | |
bash-3.2$ java -version | |
java version "1.6.0_43" | |
Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) | |
bash-3.2$ hadoop version | |
Warning: $HADOOP_HOME is deprecated. | |
Hadoop 1.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ lein version | |
Leiningen 2.0.0-preview10 on Java 1.6.0_43 Java HotSpot(TM) 64-Bit Server VM | |
bash-3.2$ hadoop version | |
Warning: $HADOOP_HOME is deprecated. | |
Hadoop 1.0.3 | |
Subversion https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0 -r 1335192 | |
Compiled by hortonfo on Tue May 8 20:31:25 UTC 2012 | |
From source with checksum e6b0c1e23dcf76907c5fecb4b832f3be | |
bash-3.2$ lein clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
public class JdbcExample | |
{ | |
public static void main( String[] args ) throws Exception | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ lein do sub install, deps, compile, repl | |
Could not find artifact lein-newnew:lein-newnew:pom:0.3.5 in central (http://repo1.maven.org/maven2) | |
Retrieving lein-newnew/lein-newnew/0.3.5/lein-newnew-0.3.5.pom (3k) | |
from https://clojars.org/repo/ | |
Could not find artifact stencil:stencil:pom:0.3.0 in central (http://repo1.maven.org/maven2) | |
Retrieving stencil/stencil/0.3.0/stencil-0.3.0.pom (3k) | |
from https://clojars.org/repo/ | |
Retrieving org/clojure/clojure/1.3.0/clojure-1.3.0.pom (5k) | |
from http://repo1.maven.org/maven2/ | |
Retrieving org/sonatype/oss/oss-parent/5/oss-parent-5.pom (4k) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ git show | head | |
commit d78b48fffff32898a9f76e94923d45a84d7e330e | |
Author: Paco Nathan <ceteri@gmail.com> | |
Date: Sat Mar 16 19:11:46 2013 -0700 | |
fixed cmd line opts to allow for a different label field, for the confusion matrix calculation | |
diff --git a/README.md b/README.md | |
index ed10626..2e8996e 100644 | |
--- a/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(__doc__) | |
from time import time | |
import numpy as np | |
import pylab as pl | |
from sklearn import metrics | |
from sklearn.cluster import KMeans | |
from sklearn.datasets import load_digits | |
from sklearn.decomposition import PCA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paco@granite:~$ curl http://downloads.mesosphere.io.s3.amazonaws.com/chronos/chronos.tgz -o chronos.tgz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 35.0M 100 35.0M 0 0 3800k 0 0:00:09 0:00:09 --:--:-- 6913k | |
paco@granite:~$ tar xzf chronos.tgz | |
paco@granite:~$ cd chronos/ | |
paco@granite:~/chronos$ nohup ./bin/chronos-marathon & | |
[1] 26210 | |
paco@granite:~/chronos$ nohup: ignoring input and appending output to ‘nohup.out’ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ ssh -A -l ubuntu 54.205.7.177 | |
The authenticity of host '54.205.7.177 (54.205.7.177)' can't be established. | |
RSA key fingerprint is 60:0e:23:7a:b2:c7:42:50:82:86:57:8e:e3:a2:da:74. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '54.205.7.177' (RSA) to the list of known hosts. | |
Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-41-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Tue Dec 10 17:22:31 UTC 2013 |