Skip to content

Instantly share code, notes, and snippets.

View cstrelioff's full-sized avatar

Chris Strelioff cstrelioff

View GitHub Profile
@cstrelioff
cstrelioff / README.md
Last active August 29, 2015 14:17
basic responsive page + js

overview

A basic responsive web page, following the ideas presented in Learning Responsive Web Design by Clarissa Peterson, with additional JavaScript to output the current window size as well as the size of various HTML elements in the page.

  • Do you have a better, or different, way of doing things like this? Please comment below. I'm mainly interested in basic HTML, CSS and JavaScript solutions (no external js libraries) as a starting point for simple responsive visualization projects.
@cstrelioff
cstrelioff / README.md
Last active August 29, 2015 14:16
Python + Socrata API

A script that replicates all examples in my blog post using Python to get data from the Socrata API: Socrata post

Run all the examples

    $ python ex004_socrata_api.py
@cstrelioff
cstrelioff / README.md
Last active February 14, 2018 09:15
Python + Bayes -- example 3

A script that replicates all examples in my blog post on inferring probabilities using a Beta prior-- see bayes post for more information.

Run all the examples

    $ python ex003_bayes.py
@cstrelioff
cstrelioff / README.md
Last active November 16, 2017 04:36
Python + Latent Dirichlet Allocation -- example 2

A script that replicates all examples in my blog post on using the lda Python package for Latent Dirichlet Allocation-- see my lda post for more information.

Run all the examples

    $ python ex002_lda.py
@cstrelioff
cstrelioff / README.md
Last active August 29, 2015 14:16
Python + Bayes -- example 1

A script that replicates all examples in my blog post on inferring probabilities-- see my bayes post for more information.

Run all the examples

    $ python ex001_bayes.py