Skip to content

Instantly share code, notes, and snippets.


Ravindranath Akila ravindranathakila

View GitHub Profile
View Dockerfile
FROM openjdk:14-alpine
ENV P=8080
ADD build/distributions/$D.tar /opt/run/
ENTRYPOINT /opt/run/$D/bin/$D
ravindranathakila / balance.go
Created Oct 1, 2019 — forked from darkhelmet/balance.go
Simple TCP load balancer in Go.
View balance.go
package main
import (
#! /usr/bin/env bash
zookeeper-server \
hadoop-hdfs-datanode \
hadoop-hdfs-journalnode \
hadoop-hdfs-namenode \
hadoop-hdfs-secondarynamenode \
hadoop-httpfs \
hadoop-mapreduce-historyserver \
ravindranathakila /
Last active Feb 6, 2017
# Runs Cloudera Quick Start image with commonly used Web UI ports. Perquisites: Cloudera Quickstart Image already pulled as cloudera
#!/usr/bin/env bash
grep "^[^_].\+(){$" $0 | while read line; do
local cmd=$(echo "$line" | sed "s/(){//g")
local info=$(grep -C0 -A0 -B1 "$cmd(){" $0 | sed "N;s/\n.*//g" )
printf " $0 %-20s %-40s\n" "$cmd" "$info" | grep "#"
done; echo "";
# Runs Cloudera Quick Start image with commonly used Web UI ports. Perquisites: Cloudera Quickstart Image already pulled as cloudera
ravindranathakila / pedantically_commented_playbook.yml
Created Oct 17, 2016 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
# ^^^ YAML documents must begin with the document separator "---"
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
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;

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

View gist:bdc0b9269d78512a3a3e
package com.tistory.devyongsik.hadoop.mapre;
import org.apache.hadoop.mapreduce.Mapper;
View HighchartsConfig.json
"colors": ["#7cb5ec", "#434348", "#90ed7d", "#f7a35c",
"#8085e9", "#f15c80", "#e4d354", "#8085e8", "#8d4653", "#91e8e1"],
"symbols": ["circle", "diamond", "square", "triangle", "triangle-down"],
"lang": {
"loading": "Loading...",
"months": ["January", "February", "March", "April", "May", "June", "July",
"August", "September", "October", "November", "December"],
"shortMonths": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
"weekdays": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
You can’t perform that action at this time.