Skip to content

Instantly share code, notes, and snippets.

View thomasingalls's full-sized avatar

Thomas Ingalls thomasingalls

View GitHub Profile
@thomasingalls
thomasingalls / nginxproxy.md
Created February 9, 2017 05:01 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@thomasingalls
thomasingalls / 96 Well Plate - js-driven values.markdown
Created December 3, 2015 19:43
96 Well Plate - js-driven values
@thomasingalls
thomasingalls / readme.md
Last active October 6, 2017 03:54
Use Rmarkdown with Python virtualenv

Motivation

Knitr beats the socks off of an iPython notebook. Both tools do the same job, but knitr doesn't require you to leave your established text editor workflow.

How to: Rmarkdown with Python virtualenv, for reproducibility.

Tested specifically on OS X 10.9, with R 3.1.2 and Anaconda python distribution.

  1. Calling an R script from the terminal will use the python version currently in the system PATH. If you need to specify a python 3.x or python 2.x environment, make your life easier and do it from the command line before you do anything else.
@thomasingalls
thomasingalls / Bootstrap-Card-Variations.markdown
Last active August 29, 2015 14:11
Bootstrap Card Variations

Bootstrap Card Variations

A side-by-side comparison of card components.

Current:

  • uses jade, less

  • depends on bootstrap latest, jquery, font-awesome