Skip to content

Instantly share code, notes, and snippets.


Michael Gonzalez genomics-geek

View GitHub Profile
genomics-geek /
Created Sep 5, 2019 — forked from cmaureir/
Sun Grid Engine SGE state letter symbol codes meanings
genomics-geek / DataTable.ts
Created Aug 18, 2017 — forked from cschmidli/DataTable.ts
Semantic UI Data Table Component
View DataTable.ts
import * as React from 'react';
import * as hash from 'object-hash';
import {
genomics-geek / AvroHTTP.avdl
Created Jun 19, 2017 — forked from eggsby/AvroHTTP.avdl
Example generic spark setup that uses avro for schemas and the parquet file format for storage
View AvroHTTP.avdl
protocol HTTP {
record Header {
string name;
string value;
record Request {
string method;
string path;
genomics-geek /
Created Apr 15, 2017 — forked from bruth/
Django command that gives a set of subcommands a namespace. For example, a command named after an app can be defined with a set of subcommands, e.g. `python command subcommand`.


Managment commands are assumed to be unique across all apps in a Django project. This can lead to long or obscure command names in attempt to namespace those commands.

Subcommander acts as a proxy command giving the real commands a namespace. The subcommander module can be named after the app name or some derivation. The structure looks as follows:

View airflow-supervisord.conf
; Configuration for Airflow webserver and scheduler in Supervisor
command=/bin/airflow webserver
genomics-geek / cors-nginx.conf
Created Feb 26, 2017 — forked from alexjs/cors-nginx.conf
Slightly tighter CORS config for nginx
View cors-nginx.conf
# Slightly tighter CORS config for nginx
# A modification of to include a white-list of URLs
# Despite the W3C guidance suggesting that a list of origins can be passed as part of
# Access-Control-Allow-Origin headers, several browsers (well, at least Firefox)
# don't seem to play nicely with this.

I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):

Detailed Instructions

For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.

Install Jenkins Plugins


Jenkins CI on OSX

Instructions on how to setup a secured Jenkins CI on a Mac.

Download & Install dependencies

All of these operations are done with your admin user.

Developer tools

Install the command line developer tools.

genomics-geek /
Created Jan 16, 2017 — forked from ravidsrk/
Deploying django application with gunicorn nginx mysql

Step One: Update Packages

sudo apt-get update
sudo apt-get upgrade

Step Two: Install and Create Virtualenv

sudo apt-get install python-virtualenv
sudo virtualenv /opt/myenv
genomics-geek / gist:5c58461a4bfdb95b54d1db47e3a1f573
Created Jan 16, 2017 — forked from Atem18/gist:4696071
Tutorial to seting up a django website in production.
View gist:5c58461a4bfdb95b54d1db47e3a1f573

Set up Django, Nginx and Gunicorn in a Virtualenv controled by Supervisor

Steps with explanations to set up a server using:

  • Virtualenv
  • Virtualenvwrapper
  • Django
  • Gunicorn