Skip to content

Instantly share code, notes, and snippets.

View goruck's full-sized avatar
🎯
Focusing

Lindo St. Angel goruck

🎯
Focusing
View GitHub Profile
@goruck
goruck / alexa-ip-cam.json
Created September 7, 2018 12:22
debug info for alexa-ip-cam
{"message":"Calling LWA to refresh the access token...","level":"info","timestamp":"2018-09-07T12:02:18.543Z"}
{"message":"post data: { event: \n { header: \n { namespace: 'Alexa.MediaMetadata',\n name: 'MediaCreatedOrUpdated',\n messageId: '5a18fc1a-e610-42cb-9a10-d0f647d13bcf',\n payloadVersion: '3' },\n endpoint: \n { scope: \n { type: 'BearerToken',\n token: 'Atza|IwEBINyWY2rB8axy1p56WiwPtlt-Rg-KiBYvNUFcYl90OylnYbzUU5ulV2uSP2w0FPipv9sy6MSVm4Pnh3ntX63Qs3m7bGYESPWVM9K7nzSGrb7CvCR7V4oFthVlu3KPrJkh0HxkBkZaevJKVeosycuIIdH8iolr7qmNQY-HMCHkzK8Yfrl0KpRI-punDGjRJPF1vbqhBNsrmoj8wQ-1J4DkEUnGSn-bM25DXteBdWRI7bYFKqrmZ7m0PyxVLPj7B0kcNU7HYZ0BuP5t-XnG93C-5UOM1yriWVzEY-zBe6BVPnYGyTspKEKmoVw-G7GQx91Ecl3Swudzr7YkAcBbavTym__RN9yQsMKSLHbPRwdcvE_p5JpnNXoL6n5tHaJ74zY9RPS5CptVt27cBOWt9VrHVYkeAnnLlwN5GsLB5UTILfjZQ7Ib2WOsP2wUEpkMBJ0xKxJ8YQrbov78yZUROAdB7DPdsIxHnXBr-KGeseaTfDmJazw7n04TelWMqNeQbAVqumtgqanu1no9MtbZ_secEuVQb1cdsSbGKu98VvUQrHjqBk2zNZTs8tNQBkcOrTB75-JT5XR8GblLL19-uM
@goruck
goruck / ssh-tunnel-start.sh
Last active September 21, 2022 14:47
Script to create a ssh tunnel from an AWS Lambda function to a remote host via an AWS EC2 instance.
#!/bin/sh
# Script to start a ssh tunnel via an AWS EC2 instance.
# Copyright (C) 2017 Lindo St. Angel.
# Must be called after the instance is setup by ssh-tunnel.sh
# Include global variables:
# EC2_MACH - EC2 machine type
# EC2_TYPE - EC2 instance type