Skip to content

Instantly share code, notes, and snippets.

@codyborders
codyborders / iterm2.md
Created December 31, 2016 19:04
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [

Keybase proof

I hereby claim:

  • I am codyborders on github.
  • I am codyborders (https://keybase.io/codyborders) on keybase.
  • I have a public key ASC4k_p-2FBB_05hdoib5EaU6GSK-WBXUwc2283cZzWiUAo

To claim this, I am signing this object:

@codyborders
codyborders / datadogConfiguration.ps1
Created September 20, 2021 22:49 — forked from andrewmatveychuk/datadogConfiguration.ps1
Sample DSC configuration for enrolling a server for monitoring with Datadog
Configuration datadogConfiguration {
#Importing required DSC resources
Import-DscResource -ModuleName PSDesiredStateConfiguration
Import-DscResource -ModuleName xPSDesiredStateConfiguration
#Getting the configuration parameters for deployment
$datadogAPIKey = Get-AutomationVariable -Name "datadogAPIKey"
$datadogSite = Get-AutomationVariable -Name "datadogSite"
@codyborders
codyborders / README.md
Created February 12, 2022 15:02 — forked from jamesmishra/README.md
Using Terraform to run a docker-compose.yml file directly on an Amazon EC2

Introduction

This is a Hashicorp Terraform module that provisions an AWS EC2 instance for the purpose of running a given docker-compose.yml file.

Usage

# ===== OUR MAGIC DOCKER-COMPOSE.YML FILE HERE =====
# It is also possible to get Terraform to read an external `docker-compose.yml`
# file and load it into this variable.
# We'll be showing off a demo nginx page.

Introduction

I just found the following article in the OpenTelemetry blog

Announcing a Community Demo for OpenTelemetry
https://opentelemetry.io/blog/2022/demo-announcement/

This is a demo kit for OpenTelemetry, where an e-commerce site is built with microservices in various languages. In addition, metrics and traces are already instrumented, and if you have a Docker environment at hand, you can just docker compose up to get it running. As a demonstration of OpenTelemetry, you can see traces and metrics in Jeager and Prometheus. In this article, I would like to send them to Datadog so that I can see them in Datadog.