Skip to content

Instantly share code, notes, and snippets.

View jreiher2003's full-sized avatar

Jeffrey Reiher jreiher2003

  • DSAC LLC
  • San Francisco
View GitHub Profile
@jreiher2003
jreiher2003 / azkaban_setup.sh
Last active February 28, 2018 22:24
azkaban_setup.sh
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-set-default
sudo apt-get install g++
export JAVA_HOME=/usr/lib/jvm/java-8-oracle >> ~/.bashrc
source ~/.bashrc
#!/usr/bin/env bash
sudo apt-get update -y
sudo apt-get autoremove -y
sudo apt-get upgrade -y
sudo apt-get install python-pip -y
pip install -U pip
sudo apt-get install python-virtualenv -y
sudo apt-get install python-dev -y
sudo apt-get install libpq-dev -y
sudo apt-get install build-essential -y
#!/usr/bin/env bash
sudo apt-get update -y
sudo apt-get autoremove -y
sudo apt-get upgrade -y
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer -y
wget http://apache.osuosl.org/zeppelin/zeppelin-0.7.3/zeppelin-0.7.3-bin-all.tgz
tar xvf zeppelin*
sudo apt-get install python-pip -y
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer -y
sudo apt-get install scala -y
sudo apt-get install git -y
sudo wget https://d3kbcqa49mib13.cloudfront.net/spark-2.2.0-bin-hadoop2.7.tgz
sudo tar xvfz spark*
sudo apt-get update -y
sudo apt-get autoremove -y
sudo apt-get upgrade -y
sudo apt-get install python-pip -y
sudo apt-get install python-virtualenv -y
sudo apt-get install python-dev -y
sudo apt-get install libpq-dev -y
sudo apt-get install build-essential -y
sudo apt-get install git -y
sudo apt-get install libpq-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev -y
@jreiher2003
jreiher2003 / vagrant_setup.sh
Last active April 7, 2018 04:15
Server config vagrant
#!/usr/bin/env bash
sudo apt-get update -y
sudo apt-get autoremove -y
sudo apt-get upgrade -y
sudo apt-get install python-pip -y
sudo apt-get install python-virtualenv -y
sudo apt-get install python-dev -y
sudo apt-get install libpq-dev -y
sudo apt-get install build-essential -y
sudo apt-get install git -y
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.box_check_update = false
@jreiher2003
jreiher2003 / hamburger_drawer.html
Last active October 21, 2015 13:35
mobile hamburger menu with inline javascript to open and close
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
@jreiher2003
jreiher2003 / hamburger-button-drawer.html
Last active October 14, 2015 21:42
inline JavaScript for showing and hiding bar menu content
<body>
<header class="header">
<div class="header__inner">
<img class="header__logo" src="images/city.png" alt="iconic view of a cityscape">
<h1 class="header__title">
The Brighton Times
</h1>
<a id="menu" class="header__menu">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M2 6h20v3H2zm0 5h20v3H2zm0 5h20v3H2z"/>
@jreiher2003
jreiher2003 / Gruntfile.js
Created October 14, 2015 20:35
Starter grunt file for watching over dev files and updating production files
// Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
// get the configuration info from package.json ----------------------------
// this way we can use things like name and version (pkg.name)
pkg: grunt.file.readJSON('package.json'),
// configure jshint to validate js files -----------------------------------
jshint: {
options: {