Skip to content

Instantly share code, notes, and snippets.

@t0mst0ne
t0mst0ne / MRPyMC3.ipynb
Created July 10, 2017 14:49 — forked from AustinRochford/MRPyMC3.ipynb
MRPyMC3-Multilevel Regression and Poststratification with PyMC3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@t0mst0ne
t0mst0ne / error.log
Created March 2, 2017 11:19
Error log of g0v
FAIL 0602030026 1 crawlers/0602030026/vghks.py
FAIL 1131100010 1 crawlers/1131100010/mmh-ts.py
FAIL 0936060016 1 crawlers/0936060016/sltung.py
FAIL 0602030026 1 crawlers/0602030026/vghks.py
FAIL 1131100010 1 crawlers/1131100010/mmh-ts.py
FAIL 0936060016 1 crawlers/0936060016/sltung.py
FAIL 0602030026 1 crawlers/0602030026/vghks.py
FAIL 1131100010 1 crawlers/1131100010/mmh-ts.py
FAIL 0936060016 1 crawlers/0936060016/sltung.py
FAIL 0602030026 1 crawlers/0602030026/vghks.py
@t0mst0ne
t0mst0ne / HLS_dvr.sh
Created September 21, 2016 00:21 — forked from John07/HLS_dvr.sh
A small script to make recording http live streams (HLS, those streams that work on iOS devices) nicer on a Mac. Script records the stream for a defined period of time and sends the user notifications if anything goes wrong and once it's done.
# required: ffmpeg (e.g. from homebrew), terminal-notifier from https://github.com/alloy/terminal-notifier
# you can schedule this with launchd to run e.g. weekly
# Specify in seconds how long the script should record (default here is 1 hour).
seconds=3600
# Date format for the recording file name
DATE=`date "+%d-%m-%y_%H-%M"`
# start ffmpeg recording
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@t0mst0ne
t0mst0ne / bayesian_neural_network.ipynb
Created June 5, 2016 12:19 — forked from twiecki/bayesian_neural_network.ipynb
Bayesian Neural Network in PyMC3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@t0mst0ne
t0mst0ne / fbfeed2csv.py
Created May 4, 2016 03:19 — forked from pofeng/fbfeed2csv.py
fbfeed2csv: a tool to download all posts from a user/group/page's facebook feed to a csv file
"""
modified for Python 2.7 and unicode
get your goup id at https://lookup-id.com/
get your acess token at https://developers.facebook.com/tools/explorer/
fork from
fbfeed2csv: a tool to download all posts from a user/group/page's facebook feed to a csv file
yuzawa-san
https://github.com/yuzawa-san
"""
@t0mst0ne
t0mst0ne / TWquake.py
Created April 26, 2016 06:33
Parse the Taiwan earthquake data and plot
import requests
import pandas as pd
from bs4 import BeautifulSoup
from bokeh.io import output_file, show
from bokeh.models import (
GMapPlot, GMapOptions, ColumnDataSource, Circle, DataRange1d, PanTool, WheelZoomTool, BoxSelectTool
)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.