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
<!doctype html>
<html>
<head
<title>test</head>
</head>
<body>
<h1>hello world</h1>
</body>
</html>
@jreiher2003
jreiher2003 / manifest.json
Created October 14, 2015 17:26
Post domain + ssl setup.
{
"short_name": "Jeff Reiher",
"name": "The Jeff Reiher Awesome App",
"icons": [
{
"src": "/static/images/images_dest/jwr_black_crop-16_icon.png",
"sizes": "16x16"
},
{
"src": "/static/images/images_dest/jwr_black_crop-32_icon.png",
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="author" content="Computer Jeff">
<meta name='copyright' content="DSAC LLC">
@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: {
@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 / 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>
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.box_check_update = false
@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
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
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*