Skip to content

Instantly share code, notes, and snippets.

View AWS Generic Metric Image Download
#!/bin/bash
DEFAULT_START_TIME="-PT1H"
DEFAULT_END_TIME="P0D"
DEFAULT_DOWNLOAD_JSON="download.json"
download()
{
local imageJson="${1}"
local startTime="${2}"
@hehu80
hehu80 / gist:487839008eb56b474aabfa33171c3075
Last active May 23, 2019
Siemens S7 function block to convert floating point into ASCII char array
View gist:487839008eb56b474aabfa33171c3075
FUNCTION "FC_REAL_ASCII" : VOID
TITLE =Conversion REAL -> ASCII Digits with leading zeros
{ S7_language := '7(1) Deutsch (Deutschland) 07.04.2018 15:45:30' }
AUTHOR : Henning Voss
FAMILY : Tools
NAME : Tools
VERSION : 1.0
VAR_INPUT