Skip to content

Instantly share code, notes, and snippets.

View pjakobsen's full-sized avatar

P Jakobsen pjakobsen

View GitHub Profile
# Insomnia Configuration
## Run the test query
{
shop {
id
name
}
}
# Query Structure Examples
@pjakobsen
pjakobsen / Code.ipynb
Last active January 28, 2016 03:26
Testing running iPython Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pjakobsen
pjakobsen / test.py
Created January 28, 2016 03:23
python test
#!/usr/bin/env python
# implement the example graphs/integral from pyx
from pylab import *
from matplotlib.patches import Polygon
def func(x):
return (x-3)*(x-5)*(x-7)+85
ax = subplot(111)
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
</head>
<body>
<div id="d3_line"></div>
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@pjakobsen
pjakobsen / pyffmpeg_error
Created August 30, 2013 14:42
Compile Error pyffmpeg
pyffmpeg.c:22519:40: warning: implicit declaration of function '__pyx_convert__from_py_AVRational' is invalid in C99 [-Wimplicit-function-declaration]
__pyx_v_8pyffmpeg_AV_TIME_BASE_Q = __pyx_convert__from_py_AVRational(o); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1946; __pyx_clineno = __LINE__; goto __pyx_L2_error;};
^
pyffmpeg.c:22519:38: error: assigning to 'struct AVRational' from incompatible type 'int'
__pyx_v_8pyffmpeg_AV_TIME_BASE_Q = __pyx_convert__from_py_AVRational(o); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1946; __pyx_clineno = __LINE__; goto __pyx_L2_error;};
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings and 3 errors generated.
error: Command "clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wa