Skip to content

Instantly share code, notes, and snippets.

var sections = [["home", 0], ["schedule", 500], ["faq", 1200], ["apply", 2000], ["sponsors", 3000], ["contact", 3000]];
function removeCircle(i) {
console.log(i);
$('.' + $(this).sections[i][0] + 'ProgressCircle').css('background', "transparent");
}
$(window).scroll(function() {
var height = $(window).scrollTop();
// console.log(height);
file = open('results_getsections_dl.txt', 'r')
date = file.readline()
lazyStart = 0
lazyFinish = 0
for x in range(50):
strIntervals = file.readline()
intervals = [int(s) for s in strIntervals.split() if s.isdigit()]
package wordcount;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
@NicoHinderling
NicoHinderling / mappy
Created May 2, 2015 19:08
Map my Reduce Baby
package wordcount;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;