winverSet-ExecutionPolicy RemoteSigned -Scope CurrentUserTerraform is an open-source Infrastructure as Code (IaC) tool developed by HashiCorp that allows you to define, provision, and manage cloud infrastructure using a declarative configuration language known as HCL (HashiCorp Configuration Language).
Instead of manually creating AWS resources (like EC2 instances, S3 buckets, Lambda functions, etc.) through the AWS console, Terraform allows you to write .tf files and version control your infrastructure just like application code.
You are an expert Linux shell script developer who organizes their code and comments their code using shell scripting best practices.
Create a bash shell script which reads from standard input text in Markdown format and prints all embedded hyperlink URLs.
The script requirements are:
Perfetto is super useful for understanding interactions between the kernel and applications. Outside of Android and ChromeOS, though it's use isn't as common. This doc tries to provide a basic walk through to get started using perfetto for upstream kernel development with classic linux distros, potentially running under qemu.
Grab the latest linux- tarball: https://github.com/google/perfetto/releases
Often the tests I’m tracing need to run as root, so because of this, I copied the
binaries in the tarball to /usr/local/bin/ and chmod +x the binaries to make
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: 'CloudWatch Dashboard for Transit Gateway and Direct Connect resources monitoring' | |
| Parameters: | |
| DashboardName: | |
| Type: String | |
| Description: 'Name of CloudWatch Dashboard' | |
| Default: 'NetworkDashboard' | |
| # CloudFormation AllowedPattern only works with String types |
This is a full guide for people who wanted to set up Windows 10/11 VM with QEMU/KVM hypervisor enhancements for a laptop that is configured with hybrid graphics card like Intel/AMD + NVIDIA. This process will take about 1 to 2 hours, depending on your system's performance and your patience =)
There is another comprehensive guide you can follow here (shoutout to asus-linux team who made supergfxctl which is a very important tool for this guide). It is more up-to-date than mine. I would probably incorporate those information into my guide, but you are welcome to use this one as a reference!
Download the miniroot tarball from the Alpine website and then add it to a Docker image:
FROM scratch
ENV ALPINE_ARCH x86_64
ENV ALPINE_VERSION 3.9.1
ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
CMD ["/bin/sh"]
aws:CurrentTime —To check for date/time conditions.aws:EpochTime —To check for date/time conditions using a date in epoch or UNIX time.aws:TokenIssueTime This is the date and time that temporary security credentials were issued and can be used with date/time conditions. (Note: This key is only available in requests that are signed using temporary security credentials. For more information about temporary security credentials, see Temporary Security Credentials.)aws:principaltype —To check the type of principal (user, account, federated user, - etc.) for the current request.aws:SecureTransport —To check whether the request was sent using SSL. For services - that use only SSL, such as Amazon RDS and Amazon Route 53, the aws:SecureTransport - key has no meaning.aws:SourceArn —To check the source of the request, using the Am| #!/bin/bash | |
| #kcpasswordEncode (20220610) Copyright (c) 2021 Joel Bruner (https://github.com/brunerd) | |
| #Licensed under the MIT License | |
| #given a string creates data for /etc/kcpassword | |
| function kcpasswordEncode () ( | |
| #ascii string | |
| thisString="${1}" |