Skip to content

Instantly share code, notes, and snippets.

View hillaryfraley's full-sized avatar

Hillary Fraley hillaryfraley

View GitHub Profile
@hillaryfraley
hillaryfraley / gist:69c76fbe90b567be55a67e2bb806ac1b
Created October 26, 2022 12:50
Next steps page (save for potential future use)
---
title: "Next steps with Sensu"
description: "With Sensu Go running in a local development environment, read this page to envision where you can go from here. Take a few more steps in your local installation, take the work you’ve already done to a pre-production or production environment, or learn more in our Sensu Go workshop."
version: "6.9"
product: "Sensu Go"
---
Welcome to Sensu’s documentation!
Congratulations on getting Sensu Go up and running in a local development environment via the Sensu.io quick start guide ([here's a link][1] if you need a refresher).
@hillaryfraley
hillaryfraley / vim-sensu-slack-handler-json.md
Last active July 8, 2021 14:49
Open `sensu-slack-handler.json` and edit definition using Vi/Vim

These instructions explain how to open sensu-slack-handler.json and edit the definition using Vi/Vim.

NOTE: You can use any text editor you'd like for this step. These instructions are intended to help users who may not know how to open and edit the definition.

1. Open the JSON file. vi sensu-slack-handler.json

2. Start "insert" mode so you can add and replace text. i

From https://github.com/honsiorovskyi
For some reason our current dev portal renderer doesn't convert --- into em-dash (—), so I've converted them in the code using sed:
---
find . -iname '*.md' -exec sed -E -i 's/(\w)---(\w)/\1 — \2/g' {} \;
---
Unix magic does wonders! 😆