Skip to content

Instantly share code, notes, and snippets.

@deargle
deargle / _psiturk_ssl.conf.md
Last active August 27, 2017 02:19 — forked from yosemitebandit/yupyupnope.conf
psiturk example ssl config: nginx config file for flask app (behind gunicorn) with ssl. See https://github.com/NYUCCL/psiTurk/pull/226

psiturk example ssl config: nginx config file for flask app (behind gunicorn) with ssl. See NYUCCL/psiTurk#226

@deargle
deargle / .vimrc
Created July 26, 2016 19:45
My .vimrc
set showcmd
set showmatch
set ignorecase
set incsearch
set autowrite
set tabstop=4
set expandtab
set title
set cindent
@deargle
deargle / GedcomToOrgChart
Last active December 15, 2015 04:38
I used DallinQ's GedcomToJson GitHub tool to convert a GEDCOM export of my PAF file to Json, then I used this script to display it with Google's OrgChart Visualization tool.
<html>
<head>
<!-- I used DallinQ's GedcomToJson GitHub tool to convert a GEDCOM export of my PAF file to Json, then I used this script to display it with Google's OrgChart Visualization tool. -->
<script type='text/javascript' src='https://www.google.com/jsapi'></script>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.min.js'></script>
<script type='text/javascript' src='famTree.js'></script><!-- this references the JSON output of my GEDCOM file. I edited the file and called the entire json "var famTree". -->
<script type='text/javascript'>
var rowData = [];
google.load('visualization', '1', {packages:['orgchart']});