This file contains hidden or 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
| 'use strict'; | |
| /** | |
| * This sample demonstrates a simple nodejs function to check if site is up and running or not | |
| */ | |
| //var AWS = require('aws-sdk'); | |
| const SITE = process.env.SITE; //# URL of the site to check, stored in the site environment variable, e.g. https://aws.amazon.com | |
| const EXPECTED = process.env.EXPECTED; //# String expected to be on the page, stored in the expected environment variable, e.g. Amazon |
This file contains hidden or 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 | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |