Skip to content

Instantly share code, notes, and snippets.

View ppope's full-sized avatar

Phil Pope ppope

View GitHub Profile
@ppope
ppope / brythonmagic-highstocks
Created November 21, 2014 21:16
Highstocks with brythonmagic
{
"metadata": {
"name": "",
"signature": "sha256:ffc1076e469d1f185a7898713f686a88b18f798d06a3c45ad163abee4f1a1d2b"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@ppope
ppope / survival_analysis_bug.ipynb
Created April 22, 2016 14:38
PYMC3 Bayesian survival analysis: depiction of bug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ppope
ppope / survival_analysis_bug_fix.ipynb
Created May 11, 2016 00:14
PYMC3 Bayesian survival analysis: depiction of bug fix
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ppope
ppope / log.txt
Created June 2, 2016 16:01
mihaics/opengts: ERROR: Error reading Account
Attaching to opengts, mysql
opengts | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
opengts | *** Running /etc/my_init.d/my_config.sh...
mysql | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
mysql | *** Running /etc/rc.local...
mysql | *** Booting runit daemon...
mysql | *** Runit started as PID 11
opengts | Buildfile: /usr/local/OpenGTS_2.6.1/build.xml
opengts |
opengts | clean:
@ppope
ppope / preprocess_twitter.py
Last active May 13, 2021 14:32 — forked from tokestermw/preprocess-twitter.py
FORK: Python version of Ruby script to preprocess tweets for use in GloVe featurization http://nlp.stanford.edu/projects/glove/.
"""
preprocess-twitter.py
python preprocess-twitter.py "Some random text with #hashtags, @mentions and http://t.co/kdjfkdjf (links). :)"
Script for preprocessing tweets by Romain Paulus
with small modifications by Jeffrey Pennington
with translation to Python by Motoki Wu
Translation of Ruby script to create features for GloVe vectors for Twitter data.