Skip to content

Instantly share code, notes, and snippets.

View dhpollack's full-sized avatar

David Pollack dhpollack

View GitHub Profile
@dhpollack
dhpollack / jekyll-install.txt
Created June 21, 2017 22:10 — forked from Piyush3dB/jekyll-install.txt
Jekyll 3.2.1, Ruby 2.2.3 install on Ubuntu 14.04
cd
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
rbenv install -v 2.2.3
rbenv global 2.2.3
ruby -v
@dhpollack
dhpollack / ContextualPolicy.ipynb
Created February 9, 2017 14:06 — forked from awjuliani/ContextualPolicy.ipynb
A Policy-Gradient algorithm that solves Contextual Bandit problems.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhpollack
dhpollack / SimplePolicy.ipynb
Last active February 9, 2017 12:23 — forked from awjuliani/SimplePolicy.ipynb
Policy gradient method for solving n-armed bandit problems.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhpollack
dhpollack / ffmpeg_installer
Last active October 25, 2021 22:07 — forked from joglomedia/ffmpeg_installer
Simple Bash Script to Install FFMPEG + Required Libraries in Ubuntu 14.04
#!/bin/bash
# Bash Script to Install FFMPEG in Ubuntu 14.04
# Ref: http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
# Opsional: install exiftool: apt-get install libimage-exiftool-perl
#
# Author: Edi Septriyanto http://masedi.net <hi@masedi.net>
########################################################################
CURDIR=$(pwd)