Skip to content

Instantly share code, notes, and snippets.

@boostrack
boostrack / CloudWatchAgentConfig.json
Created February 4, 2021 15:47 — forked from csereno/CloudWatchAgentConfig.json
AWS CloudWatch Agent configuration file example for Linux with standard /var/log/messages, secure, and yum logs
{
"agent": {
"metrics_collection_interval": 10,
"logfile": "/opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log"
},
"metrics": {
"metrics_collected": {
"cpu": {
"resources": [
"*"
@boostrack
boostrack / 00_README.md
Created February 11, 2021 19:52 — forked from alanivey/00_README.md
CentOS 8 AMIs for ARM64 and x86_64
@boostrack
boostrack / convert.groovy
Created February 18, 2023 21:42 — forked from melix/convert.groovy
Convert Confluence HTML export into asciidoc
@Grab('net.sourceforge.htmlcleaner:htmlcleaner:2.4')
import org.htmlcleaner.*
def src = new File('html').toPath()
def dst = new File('asciidoc').toPath()
def cleaner = new HtmlCleaner()
def props = cleaner.properties
props.translateSpecialEntities = false
def serializer = new SimpleHtmlSerializer(props)