Skip to content

Instantly share code, notes, and snippets.

Steve Trefethen strefethen

View GitHub Profile
@strefethen
strefethen / foo.py
Created Jun 19, 2017
My python example
View foo.py
import os
import filesystem
def ...
View python.py
PropertySpec ps = new PropertySpec();
ps.setAll(true);
ps.setType("AuthorizationManager");
PropertyFilterSpec pfs = new PropertyFilterSpec();
pfs.getPropSet().add(ps);
ObjectSpec objSpec = new ObjectSpec();
objSpec.setObj(serviceContent.getAuthorizationManager());
pfs.getObjectSet().add(objSpec);
pfs.setReportMissingObjectsInResults(Boolean.TRUE);
RetrieveOptions retOp = new RetrieveOptions();
@strefethen
strefethen / localyticsexampledata.json
Last active May 28, 2016
Plotting Localytics Retention data using R and Shiny
View localyticsexampledata.json
{
"results": [
{
"birth_week": "2014-09-08",
"users": 1,
"week": "2014-12-29"
},
{
"birth_week": "2014-09-29",
"users": 1640,
You can’t perform that action at this time.