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
--- | |
system: | |
certificateFilePath: "/greengrass/v2/greengrass-nils_certificate.pem" | |
privateKeyPath: "/greengrass/v2/greengrass-nils_private.key" | |
rootCaPath: "/greengrass/v2/AmazonRootCA1.pem" | |
rootpath: "/greengrass/v2" | |
thingName: "greengrass-nils" | |
services: | |
aws.greengrass.Nucleus: | |
componentType: "NUCLEUS" |
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
provider "aws" { | |
region = "eu-central-1" | |
default_tags { | |
tags = { | |
terraform = "true" | |
} | |
} | |
} | |
# https://registry.terraform.io/providers/-/aws/latest/docs/data-sources/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
#!/usr/bin/env bash | |
for MY_COUNT in {0..1000} | |
do | |
MY_RANDOM=$((10 + RANDOM % 150)) | |
MY_UUID=$(uuidgen) | |
echo "$MY_COUNT $MY_UUID $MY_RANDOM" | |
dd if="/dev/random" of="test/$MY_UUID" bs=1M count="$MY_RANDOM" | |
done |
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
# Copyright 2022 Nils Knieling | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
DELAY 300 | |
ALT-SHIFT PRINTSCREEN | |
DELAY 300 | |
ENTER |
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
DELAY 2000 | |
GUI r | |
DELAY 500 | |
STRING notepad | |
DELAY 250 | |
ENTER | |
DELAY 500 | |
GUI UPARROW | |
DELAY 250 | |
ENTER |
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
function update_table() { | |
const sourceSheetName = "Source"; | |
const destinationSheetName = "Destination"; | |
const ss = SpreadsheetApp.getActiveSpreadsheet(); | |
const [src, dst] = [sourceSheetName, destinationSheetName].map(s => ss.getSheetByName(s)); | |
// update the status column in the source table with the word ??? | |
const setStatus = ['D2','D3','D6']; | |
src.getRangeList(setStatus).setValue("???"); // TODO: Add status word here | |
// add the current date to the Date column in the destination table | |
const date = new Date(); |
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/sh | |
MY_LAST_VERSION_URL="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://github.com/gitpod-io/openvscode-server/releases/latest)" | |
echo $MY_LAST_VERSION_URL | |
MY_LAST_VERSION="${MY_LAST_VERSION_URL#https://github.com/gitpod-io/openvscode-server/releases/tag/openvscode-server-v}" | |
echo $MY_LAST_VERSION | |
MY_DOWNLOAD_URL="https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v${MY_LAST_VERSION}/openvscode-server-v${MY_LAST_VERSION}-linux-x64.tar.gz" | |
echo $MY_DOWNLOAD_URL |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 2. in line 1.
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
Solution ;Vendor;CPU Architecture ;Memory;Size;TiB;IaaS Application Type ;Sockets ;vCPUs | |
S896OM;Microsoft Azure;Intel Cascade Lake SP;24.00;TiB;24,00;OLAP;16;896 | |
S896OM;Microsoft Azure;Intel Cascade Lake SP;24.00;TiB;24,00;OLTP Scale-Out;16;896 | |
o2-ultramem-896-metal;Google Cloud Platform;Intel Cascade Lake SP;24.00;TiB;24,00;OLTP;16;896 | |
S896M;Microsoft Azure;Intel Cascade Lake SP;24.00;TiB;24,00;OLAP;16;896 | |
S896M;Microsoft Azure;Intel Cascade Lake SP;24.00;TiB;24,00;OLTP Scale-Out;16;896 | |
u-24tb1.metal;Amazon Web Services;Intel Cascade Lake SP;24.00;TiB;24,00;OLTP;8;448 | |
S960m;Microsoft Azure;Intel Broadwell EX E7;20.00;TiB;20,00;OLTP;20;960 | |
S672OM;Microsoft Azure;Intel Cascade Lake SP;18.00;TiB;18,00;OLAP;12;672 | |
S672OM;Microsoft Azure;Intel Cascade Lake SP;18.00;TiB;18,00;OLTP Scale-Out;12;672 |
NewerOlder