- Fill out the template below. Maintainers are free to close any pull requests that do not include enough information, at their discretion.
- The pull request must contribute a change that has been endorsed by the maintainer team. See details in the template below.
- The pull request must update the test suite to exercise the updated functionality.
- After you create the pull request, all status checks must pass before a maintainer reviews your contribution.
- Fill out the template below. Maintainers are free to close any pull requests that do not include enough information, at their discretion.
- The pull request must only contribute documentation (for example, markdown files or API docs). To contribute other changes, you must use a different template. You can see all templates at https://github.com/USERNAME/REPOSITORY/tree/master/.github/PULL_REQUEST_TEMPLATE.
- Fill out the template below. Maintainers are free to close any pull requests that do not include enough information, at their discretion.
- The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/USERNAME/REPOSITORY/tree/master/.github/PULL_REQUEST_TEMPLATE.
- The pull request must update the test suite to demonstrate the changed functionality.
- After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/USERNAME/REPOSITORY/tree/master/CONTRIBUTING.md#pull-requests.
name | about |
---|---|
Feature request |
Suggest an idea for this project |
name | about |
---|---|
Bug report |
Report a bug to help us improve the project |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
If you’ve got an idea or suggestion you can:
const AWS = require('aws-sdk'); | |
const fs = require('fs'); | |
const path = require('path'); | |
//configuring the AWS environment | |
AWS.config.update({ | |
accessKeyId: "AWS_ACCESS_KEY", | |
secretAccessKey: "AWS_SECRET_ACCESS_KEY" | |
}); |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras metus turpis, sodales a lacus et, venenatis ullamcorper elit. Nunc cursus pellentesque leo. Nulla viverra sapien ac tortor feugiat finibus.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras metus turpis, sodales a lacus et, venenatis ullamcorper elit. Nunc cursus pellentesque leo. Nulla viverra sapien ac tortor feugiat finibus.
Nullam vestibulum risus non odio sollicitudin cursus. Maecenas ultrices neque massa, nec ullamcorper elit hendrerit nec. Duis quis nibh ultrices libero bibendum mollis eu et nunc. Sed tincidunt eu nisl in ornare.
function generateUUID() { | |
var d = new Date().getTime(); | |
if(Date.now) { | |
d = Date.now(); //high-precision timer | |
} | |
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = (d + Math.random()*16)%16 | 0; | |
d = Math.floor(d/16); | |
return (c=='x' ? r : (r&0x3|0x8)).toString(16); | |
}); |
/** | |
* Get the distance between 2 different addresses. | |
* @param {string} origin_address The origin/start address as string Eg. "102 Petty France, London, SW1H 9AJ". | |
* @param {string} destination_address The destination/end address as string Eg. "10 Whitechapel High Street, London, E1 8QS". | |
* @param {string} travel_mode The mode of travel as string. Default: DRIVING. Options: BICYCLING, TRANSIT, WALKING. | |
* @param {string} return_type The return type as string. Default: MILES. Options: KILOMETERS, MINUTES, HOURS, STEPS. | |
* @return the distance between 2 different addresses. | |
* @customfunction | |
*/ | |
function GOOGLEDISTANCE(origin_address,destination_address,travel_mode,return_type) { |