Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Saravana K.Nadar saran87

💭
I may be slow to respond.
View GitHub Profile
@saran87
saran87 / install-hadoop-opensuse.sh
Created July 13, 2018 07:25 — forked from jniltinho/install-hadoop-opensuse.sh
Install Hadoop on OpenSUSE 42.2
View install-hadoop-opensuse.sh
#!/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/
@saran87
saran87 / install-hadoop-opensuse.sh
Created July 13, 2018 07:25 — forked from jniltinho/install-hadoop-opensuse.sh
Install Hadoop on OpenSUSE 42.2
View install-hadoop-opensuse.sh
#!/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/
View Effective_Engineer.md

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

View multiprocess.py
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")
@saran87
saran87 / API.md
Created July 1, 2014 19:44 — forked from iros/API.md
View API.md

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

View GruntFile.js for Laravel 4 development
// 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",]
}
View node.py
#! /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
#
@saran87
saran87 / unionFind.py
Last active December 12, 2015 09:28
Union-find data structure implementation
View unionFind.py
#! /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
#
@saran87
saran87 / candies.cpp
Created August 23, 2012 19:24
candies - interview street problem
View candies.cpp
#include <iostream>
using namespace std;
int main() {
int N;
//Get Number of students
cin>>N;
//initialize rating and candidates array