Skip to content

Instantly share code, notes, and snippets.

View michaelaye's full-sized avatar

Michael Aye michaelaye

View GitHub Profile
@michaelaye
michaelaye / snippet.txt
Created May 15, 2014 00:17
OF2 crash report
Date/Time: 2014-05-14 17:09:18 -0700
OS Version: 10.9.2 (Build 13C1021)
Architecture: x86_64
Report Version: 18
Command: OmniFocus
Path: /Users/USER/Desktop/OmniFocus.app/Contents/MacOS/OmniFocus
Version: 2.0 test (87.0.209636)
Parent: launchd [273]
@michaelaye
michaelaye / snippet.txt
Created May 29, 2014 20:56
Evernote Console Messages
2014-05-29 13:52:43.698 Evernote[10535]: SFL(10535): AddNewItemWithProperties_rpc returned 5
2014-05-29 13:52:43.960 sandboxd[189]: ([10535]) Evernote(10535) deny file-read-data /Users/maye/Library/PreferencePanes
2014-05-29 13:52:43.970 sandboxd[189]: ([10535]) Evernote(10535) deny file-read-data /Users/maye/Library/PreferencePanes
2014-05-29 13:52:44.005 EvernoteHelper[423]: Terminating in response to shutdown notification
2014-05-29 13:52:44.021 EvernoteHelper[423]: EvernoteHelper updating preferences from main application
2014-05-29 13:52:44.021 EvernoteHelper[423]: *** Assertion failure in -[ENHelperWindow initWithMenuStatusItem:], /Users/geech/code/evernote/mac3/EverNoteHelper/src/ENHelperWindow.m:63
2014-05-29 13:52:44.036 EvernoteHelper[423]: Terminating in response to shutdown notification
2014-05-29 13:52:44.364 Evernote[10535]: objc[10535]: Class JKArray is implemented in both /Applications/Evernote.app/Contents/MacOS/Evernote and /Applications/Evernote.app/Contents/PlugIns/ENCoverPage.bundle/Conte
@michaelaye
michaelaye / pytest_bdd_fail_output.txt
Created June 11, 2014 05:36
pytest_bdd failure output
$ py.test
================================================ test session starts =================================================
platform darwin -- Python 2.7.7 -- py-1.4.20 -- pytest-2.5.2
plugins: bdd
collected 1 items
test_zero.py F
====================================================== FAILURES ======================================================
___________________________________________________ test_zero[0-1] ___________________________________________________
def render_split(time, color, offset = -4*pd.datetools.Minute(15)):
if(color is not None):
pl.gca().axvspan(
time + offset,
time + pd.datetools.Minute(15) + offset,
facecolor = pl.cm.Paired( float(color % 12)/12 ),
linewidth = 0,
alpha = 1.0,
)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelaye
michaelaye / markings.py
Created July 29, 2014 15:08
Math to create Fan from P4 data
class Fan(lines.Line2D):
"""Fan management class for P4. """
def __init__(self, json_row):
self.data = json_row
# first coordinate is the base of fan
self.base = self.data[['x', 'y']].values
# angles
self.inside_half = self.data.spread
alpha = self.data.angle - self.inside_half
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelaye
michaelaye / conda_hint.txt
Last active August 29, 2015 14:06
Output of conda update --all --alt-hint
[[u'not scikit-learn-0.14.1-np18py27_1.tar.bz2',
u'not scikit-learn-0.15.1-np18py33_0.tar.bz2'],
[u'not requests-2.3.0-py33_0.tar.bz2', u'not requests-2.4.0-py34_0.tar.bz2'],
[u'scikit-image-0.10.1-np18py26_0.tar.bz2',
u'scikit-image-0.10.1-np18py27_0.tar.bz2',
u'scikit-image-0.10.1-np18py33_0.tar.bz2',
u'scikit-image-0.10.1-np18py34_0.tar.bz2'],
[u'not anaconda-2.0.1-np18py27_0.tar.bz2',
u'scikit-learn-0.14.1-np18py27_1.tar.bz2'],
[u'not scikit-learn-0.14.1-np18py27_1.tar.bz2',
{
"metadata": {
"name": "",
"signature": "sha256:5672f60223b6357b7c90b777c4ad1fd4defd32ac3d428ab2afd8e4ca13d413d3"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@michaelaye
michaelaye / st3_freeze.txt
Created September 17, 2014 19:41
ST 3 freeze report
Date/Time: 2014-09-16 21:13:58 -0700
OS Version: 10.9.4 (Build 13E28)
Architecture: x86_64
Report Version: 18
Command: Sublime Text
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Version: Build 3065 (3065)
Parent: launchd [306]