MCP is just JSON-RPC 2.0 over stdio (or HTTP).
# Run directly (stdio mode)
| #!/bin/sh | |
| # halt execution immediately on failure | |
| # note there are some scenarios in which this will not exit; | |
| # see https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
| # for additional details | |
| set -e | |
| is_ci= | |
| for i in "$@"; do |
A complete guide to set up a modern, powerful terminal environment for developers on macOS.
Terraform 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 |