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
{ | |
"accessKey": "", | |
"secretKey": "", | |
"sessionToken": "", | |
"region": "" , | |
"queueUrl": "" | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// | |
// Press F12 to open the web browser console | |
// Copy/Paste this script in the browser console to skip the questions at https://vaccination.nh.org.au/ | |
// | |
function run () { | |
const showClasses = [ | |
'wpforms-page wpforms-page-1', | |
'wpforms-page wpforms-page-2', | |
'wpforms-page wpforms-page-3', |
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
// download.js v4.21, by dandavis; 2008-2018. [MIT] see http://danml.com/download.html for tests/usage | |
// v1 landed a FF+Chrome compatible way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime | |
// v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs | |
// v3 added dataURL and Blob Input, bind-toggle arity, and legacy dataURL fallback was improved with force-download mime and base64 support. 3.1 improved safari handling. | |
// v4 adds AMD/UMD, commonJS, and plain browser support | |
// v4.1 adds url download capability via solo URL argument (same domain/CORS only) | |
// v4.2 adds semantic variable names, long (over 2MB) dataURL support, and hidden by default temp anchors | |
// https://github.com/rndme/download | |
export default function download (data, strFileName, strMimeType) { |
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
{ | |
"routes": [ | |
{ | |
"geometry": "~_fiFc|fsZVL^?HKFALP|AN", | |
"legs": [ | |
{ | |
"summary": "Twentieth Avenue, Thirty Seventh Avenue", | |
"weight": 22.8, | |
"duration": 16.7, | |
"steps": [ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>BLE Demo</title> | |
<!-- Meta --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
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
/** | |
* AWS Lambda function to delete AMI backup images and associated snapshots | |
* To be used in conjunction with create_amis.js | |
*/ | |
var settings = { | |
'region': 'ap-southeast-2', | |
'retention_days': 7, | |
'ami_delete_tag_name': 'DeleteOn', // This tag name must match the one in the create_amis.js script. | |
'ami_delete_tag_value': 'yes', | |
'ami_deregister_wait_time_ms': 10000 |
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
/** | |
* AWS Lambda function to delete AMI backup images and associated snapshots | |
* To be used in conjunction with delete_amis.js | |
*/ | |
var settings = { | |
'region': 'ap-southeast-2', | |
'noreboot': true, | |
'ec2backuptagname': 'Backup', // Add this tag to EC2 instances you wish to backup. | |
'ec2backuptagvalue': 'yes', | |
'amideletetagname': 'DeleteOn', // This tag name must match the one in the delete_amis.js script. |
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
# Automated AMI Backups | |
# | |
# @author Robert Kozora <[email protected]> | |
# | |
# This script will search for all instances having a tag with "Backup" or "backup" | |
# on it. As soon as we have the instances list, we loop through each instance | |
# and create an AMI of it. Also, it will look for a "Retention" tag key which | |
# will be used as a retention policy number in days. If there is no tag with | |
# that name, it will use a 7 days default value for each AMI. | |
# |
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
'use strict' | |
/** USAGE ** | |
HTML requires script: | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js"></script> | |
Attempts to load /config/mysite.json | |
Provides get/set methods using string paths |
NewerOlder