Skip to content

Instantly share code, notes, and snippets.

Ashley Anderson aganders3

Block or report user

Report or block aganders3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aganders3
aganders3 / Flask Gunicorn NginX Digital Ocean fabfile.py
Last active Sep 26, 2018
My fabfile for deploying a Flask app on a Digital Ocean droplet
View Flask Gunicorn NginX Digital Ocean fabfile.py
from fabric import task
import os
import getpass
import subprocess
# you also need to install doctl and set it up for create/destroy to work
APP_NAME = 'the-name-of-your-app'
DOMAIN = 'example.com' # SSL is not in here yet
View Anaconda.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Mutable vs. Immutable.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aganders3
aganders3 / desertpy-lightning.md
Last active Sep 26, 2018
DesertPy Lightning Talks
View desertpy-lightning.md

Requested Lightning Talk Topics

  • Introductory Topics
    • Mutable vs. immutable objects
    • Classes and Objects
    • Iterators
    • Working with strings
    • File I/O
    • Python 2 and Python 3
    • Is there a good Python IDE?
@aganders3
aganders3 / test_monitor.py
Created May 6, 2015
Streaming (faked) LabJack data to Bokeh plot
View test_monitor.py
import csv, datetime, os
from threading import Timer, Lock
import re
import numpy as np
import bokeh.plotting as bk
from bokeh.models import Range1d
# import u3 # LabJack library
# from LabJackPython import LabJackException
View Inpainting.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.