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
var https = require('https'); | |
var util = require('util'); | |
var SLACK_CHANNEL = process.env.SLACK_CHANNEL; | |
var SLACK_PATH = process.env.SLACK_PATH; | |
exports.handler = function(event, context) { | |
console.log(JSON.stringify(event, null, 2)); | |
console.log('From SNS:', event.Records[0].Sns.Message); |
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
#! /bin/bash | |
#A comment stating what this program is about | |
#Taking input, showing output | |
echo “Please enter in a variable” | |
read VARIABLE | |
echo “The variable you entered is: $VARIABLE” | |
#Taking in arguments | |
#Usage: ./script.sh var1 var2 var3 |
NewerOlder