Skip to content

Instantly share code, notes, and snippets.

View springcoil's full-sized avatar

Peadar Coyle springcoil

View GitHub Profile
// @flow
import React from "react";
import {
Dimensions,
Image,
ImageBackground,
SafeAreaView,
Slider,
StyleSheet,
Text,
@springcoil
springcoil / pydata_requirements.txt
Created March 3, 2019 20:01
For padraic requirements.txt
absl-py==0.5.0
alabaster==0.7.12
altair==2.3.0
aniso8601==3.0.2
apispec==0.19.0
appdirs==1.4.3
appnope==0.1.0
argcomplete==1.9.3
arviz==0.3.1
asn1crypto==0.24.0
@springcoil
springcoil / s3_script_for_deleting_objects.py
Created January 12, 2019 13:36
This is a super hacky script for deleting objects one by one on a restricted s3 bucket
import boto3
boto3.setup_default_session(profile_name='dev')
client = boto3.client('s3')
def delete_object(key_name):
return client.delete_object(Bucket='s3_bucket', Key=key_name )
delete_object('bad_image.jpg')
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / puppy_steps (1).ipynb
Created December 7, 2018 12:06
Further improvements to puppy steps
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / puppy_steps.ipynb
Created December 7, 2018 00:10
Puppy_Steps_analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / model_education.ipynb
Last active November 5, 2018 13:27
An early blog post - with a discussion of a regression model for number of hours of homework per state.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / rugby_model_arviz.ipynb
Created October 29, 2018 14:21
Rugby_model_arviz
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / Bootstrapped_Aalen_Additive.ipynb
Last active August 12, 2020 06:21
Bootstrapped Aalen Additive
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / sampled_api.py
Created September 23, 2017 14:49
Attempted API with flask and sampled
from flask import Flask,request, jsonify
from sampled import sampled
import numpy as np
import pymc3 as pm
import theano.tensor as tt
import pandas as pd
app = Flask(__name__)
@sampled