Skip to content

Instantly share code, notes, and snippets.

💭
Im not gay. I'm just getting back at my dad for not getting me an xbox

Michael Corrado mikiec84

💭
Im not gay. I'm just getting back at my dad for not getting me an xbox
  • Hut8
  • Chicago
Block or report user

Report or block mikiec84

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
View fangraphs-starters-pitch-value-2018.csv
Name Team wFB wSL wCT wCB wCH wSF wKN wFB/C wSL/C wCT/C wCB/C wCH/C wSF/C wKN/C playerid
Max Scherzer Nationals 30.2 10.7 -1.4 -3.4 9.6 1.72 1.86 -0.41 -1.27 1.75 3137
Justin Verlander Astros 30.2 3.9 -2.6 8.6 -2.8 1.44 0.51 -13.18 1.73 -5.41 8700
Gerrit Cole Astros 29.9 3.1 -0.5 1.9 1.63 0.47 -0.08 1.33 13125
Jacob deGrom Mets 23.9 15.9 4.6 12.8 1.43 2.08 1.81 2.48 10954
Zack Wheeler Mets 23.8 4.5 1.6 0.5 -0.3 1.42 0.82 0.52 0.43 -0.11 10310
Trevor Williams Pirates 21.3 -0.4 -0.5 -5.3 1.12 -0.09 -9.56 -1.27 16977
Kyle Freeland Rockies 18.5 2.7 2.4 -2.7 1.09 1.82 0.25 -0.61 16256
Aaron Nola Phillies 17.8 23.1 2.1 1.12 2.32 0.33 16149
Walker Buehler Dodgers 17.4 8.7 3.9 2.4 -2.2 1.37 3.04 1.97 0.79 -2.83 19374
View la-dispensaries.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View counties-by-land-area.csv
We can't make this file beautiful and searchable because it's too large.
Areaname,STCOU,LND010190F,LND010190D,LND010190N1,LND010190N2,LND010200F,LND010200D,LND010200N1,LND010200N2,LND110180F,LND110180D,LND110180N1,LND110180N2,LND110190F,LND110190D,LND110190N1,LND110190N2,LND110200F,LND110200D,LND110200N1,LND110200N2,LND110210F,LND110210D,LND110210N1,LND110210N2,LND210190F,LND210190D,LND210190N1,LND210190N2,LND210200F,LND210200D,LND210200N1,LND210200N2
UNITED STATES,00000,0,3787425.08,0000,0000,0,3794083.06,0000,0000,0,3539289.16,0000,0000,0,3536341.73,0000,0000,0,3537438.44,0000,0000,0,3531905.43,0000,0000,0,251083.35,0000,0000,0,256644.62,0000,0000
ALABAMA,01000,0,52422.94,0000,0000,0,52419.02,0000,0000,0,50767.18,0000,0000,0,50750.23,0000,0000,0,50744,0000,0000,0,50645.33,0000,0000,0,1672.71,0000,0000,0,1675.01,0000,0000
"Autauga, AL",01001,0,604.49,0000,0000,0,604.45,0000,0000,0,597.04,0000,0000,0,596.01,0000,0000,0,595.97,0000,0000,0,594.44,0000,0000,0,8.48,0000,0000,0,8.48,0000,0000
"Baldwin, AL",01003,0,2027.08,0000,0000,0,2026.93,0000,0000,0,1589.42,0000,0000,0,1596.53,0000
View gist:867b2337a190cff5b00e2861a4091365
workspace()
importall POMDPs
using POMDPToolbox
using StatsBase
#using SARSOP
using BasicPOMCP
using D3Trees
using ParticleFilters
@mikiec84
mikiec84 / fetch-prices.py
Created Jun 20, 2019 — forked from wzyboy/fetch-prices.py
Fetch prices from IEX API for Beancount
View fetch-prices.py
#!/usr/bin/env python
'''A quick-and-dirty script to fetch prices from IEX API.'''
import sys
import argparse
import requests
from dateutil.parser import parse as parse_datetime
from beancount.core import data
@mikiec84
mikiec84 / annoytune.py
Created Jun 19, 2019 — forked from turian/annoytune.py
Tune search_k for annoy library.
View annoytune.py
"""
Tune search_k for annoy library.
This is for people who want their nearest-neighbors to be above a
certain threshold of precision, but otherwise want it as fast as
possible.
AUTHOR: Joseph Turian
LICENSE: Apache License 2.0
"""
@mikiec84
mikiec84 / understanding-word-vectors.ipynb
Created May 29, 2019 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
View understanding-word-vectors.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikiec84
mikiec84 / notebook.ipynb
Created May 15, 2019 — forked from palewire/notebook.ipynb
Rotating proxy scraper example
View notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikiec84
mikiec84 / smtp_qq.py
Created Apr 21, 2019 — forked from kingofhawks/smtp_qq.py
send Mail via SMTP QQ
View smtp_qq.py
from email.mime.text import MIMEText
from smtplib import SMTP_SSL as SMTP #For TLS please use SMTP_SSL instead, such as QQ mail
#import smtplib
_user = "xxx@qq.com"
_pwd = "xxxx"
_to = "xxx@qq.com"
msg = MIMEText("Content")
@mikiec84
mikiec84 / githubissues
Created Apr 21, 2019 — forked from kingofhawks/githubissues
export github issues to CSV files
View githubissues
__author__ = 'simon'
# coding=gbk
def export_csv(repository,target_csv):
import requests
resp = requests.get(url=repository)
#print resp.text
data = resp.json()
#print data
You can’t perform that action at this time.