Skip to content

Instantly share code, notes, and snippets.

View kevinashaw's full-sized avatar

Kevin Shaw kevinashaw

View GitHub Profile
@magnetikonline
magnetikonline / README.md
Last active March 30, 2024 06:24
CloudFormation API Gateway endpoint calling a Lambda function using proxy integration example.

CloudFormation API Gateway integration to Lambda function

Template that will create the following:

  • API Gateway:
    • Deployed as a REGIONAL endpoint.
    • Single root method, accepting POST requests only, with Lambda proxy integration to a target function.
  • In-line Python Lambda function echoing back requesting users IP address to API Gateway requests:
    • IAM role for Lambda allowing CloudWatch logs access.
    • Permissions for Lambda that allow API Gateway endpoint to successfully invoke function.
@Eccenux
Eccenux / InsertDate.gs
Created November 21, 2016 11:20
InsertDate Spreadsheet extenstion
/**
* The onOpen function runs automatically when the Google Docs document is
* opened.
*
* More on `onOpen` and other trigger functions: https://developers.google.com/apps-script/guides/triggers/
* More on `SpreadsheetApp` class: https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet-app
*/
function onOpen() {
// Add a menu with some items, some separators, and a sub-menu.
SpreadsheetApp.getUi().createMenu('Utilities')