This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vars": {}, | |
"css": [ | |
"print.less", | |
"grid.less", | |
"forms.less", | |
"responsive-utilities.less" | |
], | |
"js": [ | |
"tooltip.js", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XDELETE 'http://localhost:9200/_all' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 ADD_DATE="1463411293" LAST_MODIFIED="1463418384" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3> | |
<DL><p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Preferences for __UP_myname__" height="250" /> | |
<UserPref name="myname" display_name="Name" required="true" /> | |
<UserPref name="myphoto" display_name="Photo" default_value="http://doc.examples.googlepages.com/rowan-headshot.jpg"/> | |
<UserPref name="mychoice" display_name="Show Photo?" datatype="bool" default_value="true"/> | |
<UserPref name="mycolor" display_name="Color" default_value="Yellow" datatype="enum" > | |
<EnumValue value="Red" /> | |
<EnumValue value="Aqua" /> | |
<EnumValue value="Lime" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Extension id="from" type="contextExtractor"> | |
<Name>Email Sender</Name> | |
<Url>google.com:SenderEmailExtractor</Url> | |
<Param name="sender_email" value="my_boss@my_domain.com"/> | |
<Triggers ref="bossIsCalling"/> | |
<Scope ref="senderScope"/> | |
<Container name="mail"/> | |
</Extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function base64DecodetoUTF8(string) { | |
return decodeURIComponent(escape(atob(string.split('-').join('+').split('_').join('/')) )); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import naturalSort from 'javascript-natural-sort'; | |
import emojiStrip from 'emoji-strip'; | |
import {cloneDeep} from 'lodash'; | |
import {isOrgLib, isPersonalLib} from './directory'; | |
import {getTitle} from './properties'; | |
naturalSort.insensitive = true; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Api} from '@shelf/sdk'; | |
import {Meteor} from 'meteor/meteor'; | |
const graphqlConfig = { | |
apiKey: Meteor.settings.public.decisionTree.apiKey, | |
apiUrl: `https://${Meteor.settings.public.decisionTree.graphqlAPIHost}/graphql` | |
}; | |
// Todo: Setup Apollo during Visual Editing implementation and switch to QueryLayer | |
class DecisionTreeApi extends Api { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const goToDecisionStep = (stepId = 'Step#1', gemId) => async (dispatch, getState) => { | |
const { | |
gemDecisionTree: {nodes} | |
} = getState(); | |
const alreadyFetchedStep = nodes[stepId]; | |
if (!isEmpty(alreadyFetchedStep)) { | |
return dispatch(setActiveDecisionStep(alreadyFetchedStep)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AWSAppSyncClient, {createAppSyncLink} from 'aws-appsync'; | |
import {PureQueryOptions} from 'apollo-client'; | |
import {MutationOptions, QueryOptions, ApolloQueryResult} from 'apollo-client'; | |
import {map} from 'lodash'; | |
import AppSyncConfig from '../../aws.config'; | |
import {getAccessToken, getDefaultQueryParams, getMeteorTokenString} from '../helpers/apiHelper'; | |
import {logError, logResponse} from './apolloLogHelpers'; | |
import '../polyfills/server-fetch'; | |
import {InMemoryCache} from 'apollo-cache-inmemory'; | |
import {setContext} from 'apollo-link-context'; |
OlderNewer