Skip to content

Instantly share code, notes, and snippets.

View JasperHG90's full-sized avatar

Jasper Ginn JasperHG90

View GitHub Profile
@JasperHG90
JasperHG90 / default
Last active January 9, 2018 20:15
nginx configuration used by shiny server. Example file.
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@JasperHG90
JasperHG90 / fingerprint.py
Created October 25, 2016 07:46
Use Cortical's SF API to create a semantic fingerprint for news articles in bulk
# Use Cortical's SF API to create a semantic fingerprint for news articles in bulk
# Copyright (C) 2016 Jasper Ginn
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@JasperHG90
JasperHG90 / processMasterFilings.py
Created May 24, 2016 16:06
Extract 10-K reports from a SEC IDX master file
#!/usr/bin/env python2.7
# encoding: utf-8
## Get filings from master list
## Available here: ftp://ftp.sec.gov/edgar/full-index/
## Jasper GInn
## 07/05/2016
## Call function from terminal
## python processMasterFilings.py </path/to/master/list> </path/to/output/csv> <document type>