Skip to content

Instantly share code, notes, and snippets.

View avegancafe's full-sized avatar

Kyle Holzinger avegancafe

View GitHub Profile
##############################
# Name: Kyle Holzinger
# Date: April 20th, 2015
# CS 558 Lab 4
##############################
import dpkt, sys, socket
class Detector(object):
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;
@avegancafe
avegancafe / mappy
Last active August 29, 2015 14:20 — forked from NicoHinderling/mappy
package wordcount;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
@avegancafe
avegancafe / .zshrc
Last active September 17, 2015 00:25
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="arrow"
# Uncomment the following line to use case-sensitive completion.
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh -f $ZSH/tools/check_for_upgrade.sh
fi
# Initializes Oh My Zsh
# add a function path
fpath=($ZSH/functions $ZSH/completions $fpath)
//
// Title:
// Concepts of Programming Languages
// Number: CAS CS 320
// Semester: Spring 2014
// Class Time: TR 12:30-2:00
// Instructor: Hongwei Xi (hwxiATbuDOTedu)
// Teaching Fellow: Hanwen Wu (hwwuATbuDOTedu)
//
(*
@avegancafe
avegancafe / .zshrc
Last active October 10, 2015 17:32
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="arrow"
# Uncomment the following line to use case-sensitive completion.
Date.prototype.timeNow = function() {
"use strict";
return ((this.getHours() < 10) ? "0" : "") +
((this.getHours() > 12) ? (this.getHours() - 12) : this.getHours()) + ":" +
((this.getMinutes() < 10) ? "0" : "") + this.getMinutes() + ":" +
((this.getSeconds() < 10) ? "0" : "") + this.getSeconds() + " " +
((this.getHours() > 12) ? "PM" : "AM");
};
#loader {
width: 200px;
height: 200px;
background-color: #DCEDFF;
/*animation: square-to-circle 10s infinite cubic-bezier(1,.015,.295,1.225);*/
animation-name: square-to-circle;
animation-duration: 5s;
animation-timing-function: cubic-bezier(1,.01,.76,1.61);
animation-delay: 0.1s;
animation-iteration-count: infinite;
Host csa1
HostName csa1.bu.edu
User kholz
Host csa2
HostName csa2.bu.edu
User kholz
Host hg
HostName 108.179.234.130