Skip to content

Instantly share code, notes, and snippets.

/**
* Copyright 2017, Google, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Am I supposed to ride my bike on the sidewalk?,Unless you are a child no. Bicycles follow the rules of the road - including lights and stop signs. Bike close to the shoulder in the direction of traffic and use hand signals. Cyclists are allowed full use of the lane. At night and at dawn and dusk use bike lights. White for the front red for the back (like a car). You are not as visible as you think you are even if your bike has reflectors.
Can I bring my dog into your shop?,If your pooch is up-to-date with shots well potty trained and dog and kid-friendly then yes! We love dogs at the shop and Max is always up for making a new friend.
Can I test ride bikes?,Of course! We encourage you to test ride as many bikes as it takes to make up your mind. Check out our website or app to schedule a demo a bike for a longer period.
Can you ship my bike?,We ship all the time! Moving? Have your bike shipped here for assembly or let us take care of boxing your bike up with love and care and it'll be ready for you at your new
@mattcarrollcode
mattcarrollcode / APIAI_facebook_request.json
Created August 31, 2017 21:08
Sample API.AI Webhook Request with Facebook Rich Messaging Data: Photos
{
"lang": "en",
"status": {
"errorType": "success",
"code": 200
},
"timestamp": "2017-02-09T16:06:01.908Z",
"sessionId": "1486656220806",
"result": {
"parameters": {
@mattcarrollcode
mattcarrollcode / gist:687ec85e76c8ef7f452a
Created January 24, 2015 00:23
Get all Evernote notes from a specific notebook
Evernote = require('evernote').Evernote;
var authToken = "your developer token";
if (authToken == "your developer token") {
console.log("Please fill in your developer token");
console.log("To get a developer token, visit https://sandbox.evernote.com/api/DeveloperToken.action");
process.exit(1);
}