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
* { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
font-size: small} | |
} |
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
/** | |
* Script Name: {Browser - Check current release} | |
* | |
* Generated using New Relic Synthetics Formatter for Katalon | |
* | |
* Feel free to explore, or check out the full documentation | |
* https://docs.newrelic.com/docs/synthetics/new-relic-synthetics/scripting-monitors/writing-scripted-browsers | |
* for details. | |
*/ |
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
const separator = ', '; | |
const dvType = SpreadsheetApp.DataValidationCriteria.VALUE_IN_RANGE; | |
function onEdit(e) { | |
if (e.value != null && e.oldValue != null && e.value !== "") { | |
var dataValidation = e.range.getDataValidation(); | |
if(dataValidation != null && dataValidation.getCriteriaType() == dvType && | |
e.value.indexOf(separator) < 0 && e.oldValue.indexOf(e.value) < 0) { | |
e.range.setValue(e.oldValue + separator + e.value); | |
} |
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
// Google Sheets to New Relic Insights | |
// Google Apps Script that takes the contents of a Google Sheet (or any two-dimensional array) | |
// and sends each row to New Relic as an Insights Event. | |
// Configurable settings | |
const InsightsInsertKey = 'your_insights_insert_api_key'; | |
const RpmAccountId = 'your_RPM_account_ID'; | |
const CSVDelimiter = ','; | |
const DateFormats = ["M/D/YYYY", "M/D/YYYY h:mm:ss A"]; |
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 | |
wordinput=$1 | |
wordnumber=$(expr ${#wordinput} - 2) | |
echo "${wordinput:0:1}${wordnumber}${wordinput: -1}" |