This assumes you already have a Yeoman app and are ready for publishing
Create production directory & assets
| Oozie Example: Hive Actions |
This assumes you already have a Yeoman app and are ready for publishing
Create production directory & assets
| From http://miniaturegiantspacehamster.blogspot.ch/2011/03/building-word-clock-part-1-genetic.html | |
| Version 1 | |
| NSEVENFOURC | |
| FELEVENOTWO | |
| TWELVEFIVEV | |
| TEIGHTENONE | |
| TNINETHREEL | |
| SIXHALFIFTY |
| 1) Download JDK7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html | |
| 2) On your ~/.bash_profile do | |
| # For Java 7 | |
| export JAVA_HOME=`/usr/libexec/java_home -v 1.7` | |
| # For Java 8 | |
| export JAVA_HOME=`/usr/libexec/java_home` |
| /** | |
| * To get started: | |
| * git clone https://github.com/twitter/algebird | |
| * cd algebird | |
| * ./sbt algebird-core/console | |
| */ | |
| /** | |
| * Let's get some data. Here is Alice in Wonderland, line by line | |
| */ |
| import csv | |
| import json | |
| csvfile = open('voronoid-graph.csv', 'r') | |
| jsonfile = open('output.json', 'w') | |
| fieldnames = ("gene","subcategory","category") | |
| categories = {} |
| # These are my favorite git aliases | |
| alias gs='git status ' | |
| alias gl=' git log --graph --oneline --decorate --all ' | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias go='git checkout ' | |
| alias gk='gitk --all&' |
| ####################### | |
| # Install Elasticsearch | |
| ####################### | |
| wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
| echo "deb http://packages.elastic.co/elasticsearch/1.7/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list | |
| sudo apt-get update && sudo apt-get install -y elasticsearch | |
| sudo update-rc.d elasticsearch defaults 95 10 | |
| Type the following command | |
| `find . -name '*.java' | xargs wc -l` | |
| for java projects. | |
| Source: http://stackoverflow.com/questions/10661636/how-to-count-lines-in-a-netbeans-project |
| # Add the following to your ~/.bashrc or ~/.profile file | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias go='git checkout ' | |
| alias gk='gitk --all&' | |
| alias gx='gitx --all' |