- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| #!/bin/bash | |
| ### Install Hadoop + JRE8 on OpenSUSE 64Bits | |
| ### https://www.vivaolinux.com.br/artigo/Instalando-Apache-Hadoop?pagina=2 | |
| ### http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/ | |
| ### http://thepowerofdata.io/setting-up-a-apache-hadoop-2-7-single-node-on-ubuntu-14-04/ | |
| ### http://www.scratchtoskills.com/install-hadoop-2-7-2-on-ubuntu-15-10-single-node-cluster/ | |
| ### http://pingax.com/install-hadoop2-6-0-on-ubuntu/ | |
| #!/bin/bash | |
| ### Install Hadoop + JRE8 on OpenSUSE 64Bits | |
| ### https://www.vivaolinux.com.br/artigo/Instalando-Apache-Hadoop?pagina=2 | |
| ### http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/ | |
| ### http://thepowerofdata.io/setting-up-a-apache-hadoop-2-7-single-node-on-ubuntu-14-04/ | |
| ### http://www.scratchtoskills.com/install-hadoop-2-7-2-on-ubuntu-15-10-single-node-cluster/ | |
| ### http://pingax.com/install-hadoop2-6-0-on-ubuntu/ | |
| import logging as log | |
| import time | |
| import multiprocessing | |
| from pykafka import KafkaClient | |
| from pykafka.common import OffsetType | |
| log.basicConfig(level=log.DEBUG) | |
| client = KafkaClient(hosts="127.0.0.1:9092") |
| // GruntFile.js for Laravel 4 Development | |
| module.exports = function(grunt) { | |
| "use strict"; | |
| grunt.initConfig({ | |
| "watch": { | |
| "all": { | |
| files: ["public/css/*", "public/js/*"], | |
| tasks: ["clean:all", "less:dev", "concat:dev", "uglify:dev",] | |
| } |
| #! /usr/bin/env python | |
| # | |
| # Copyright 2012 Saravana Kumar(RIT) | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); you may | |
| # not use this file except in compliance with the License. You may obtain | |
| # a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| #! /usr/bin/env python | |
| # | |
| # Copyright 2012 Saravana Kumar(RIT) | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); you may | |
| # not use this file except in compliance with the License. You may obtain | |
| # a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| #include <iostream> | |
| using namespace std; | |
| int main() { | |
| int N; | |
| //Get Number of students | |
| cin>>N; | |
| //initialize rating and candidates array |