Skip to content

Instantly share code, notes, and snippets.

View wahalulu's full-sized avatar

Marck Vaisman wahalulu

View GitHub Profile

App Install Plan

Critical

@wahalulu
wahalulu / gist:b60273cffa0087fcb94238d4a58afcf5
Created January 27, 2017 15:09 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@wahalulu
wahalulu / install-rstudio-server.sh
Created November 14, 2016 00:30 — forked from cosmincatalin/install-rstudio-server.sh
AWS EMR bootstrap to install RStudio Server along with sparklyr
#!/bin/bash
# These variables can be overwritten using the arguments bellow
VERSION="1.0.110"
# drwho is listed as user in YARN's Resource Manager UI.
USER="drwho"
# Depending on where the EMR cluster lives, you might have to change this to avoid security issues.
# To change the default password (and user), use the arguments bellow.
# If the cluster is not visible on the Internet, you can just leave the defaults for convenience.
PASS="tardis"
@wahalulu
wahalulu / rstudio_sparkr_emr4.sh
Created November 13, 2016 23:03 — forked from tomz/rstudio_sparkr_emr4.sh
rstudio_sparkr_emr4.sh
#!/bin/bash
set -x -e
# Usage:
# --no-rstudio - don't install rstudio-server
# --sparklyr - install RStudio's sparklyr package
# --sparkr - install SparkR package
# --shiny - install Shiny server
#
# --user - set user for rstudio, default "hadoop"
@wahalulu
wahalulu / rstudio_sparkr_emr4-proc.sh
Created November 13, 2016 23:03 — forked from tomz/rstudio_sparkr_emr4-proc.sh
rstudio_sparkr_emr4-proc.sh
#!/bin/bash
set -x -e
# AWS EMR bootstrap script
# for installing open-source R (www.r-project.org) with RHadoop packages and RStudio on AWS EMR
#
# tested with AMI 4.0.0 (hadoop 2.6.0)
#
# schmidbe@amazon.de
# 24. September 2014
@wahalulu
wahalulu / Makefile
Created April 5, 2016 15:27 — forked from lmullen/Makefile
PDF slides and handouts using Pandoc and Beamer
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
all : $(SLIDES) $(HANDOUTS)
%.md.slides.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -o $@
%.md.handout.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -V handout -o $@
@wahalulu
wahalulu / vbox-to-vagrant.md
Created November 18, 2015 02:53 — forked from seanorama/vbox-to-vagrant.md
hdp sandbox vagrant

Create a local Vagrant base box from an existing VirtualBox VM

What

  • Setting up a new development VM should be as easy as 2 commands. And it is:
    • vagrant init; vagrant up
  • In this example we are converting the HDP Sandbox to be used in this way. But the howto will work with any existing VM.

Why