| Name | Description |
|---|---|
aws2tf |
aws2tf - automates the importing of existing AWS resources into Terraform and outputs the Terraform HCL code |
burrito |
🌯 Burrito is a TACoS Kubernetes Operator - "Argo CD for Terraform" |
cf2tf |
Convert Cloudformation templates to Terraform |
graft |
Graft is a CLI tool that brings the Overlay Pattern (similar to Kustomize) to Terraform |
hclconv |
Simple tool to convert JSON files to HCL2 files and vice versa |
hclfmt |
Format and prettify HCL files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S awk -f | |
| # https://gist.github.com/yermulnik/7e0cf991962680d406692e1db1b551e6 | |
| # Tested with GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.1.0, GNU MP 6.2.1) | |
| # Usage: /path/to/tf_vars_sort.awk < variables.tf | tee sorted_variables.tf | |
| # Note: "chmod +x /path/to/tf_vars_sort.awk" before use | |
| # No licensing; yermulnik@gmail.com, 2021-2024 | |
| { | |
| # skip blank lines at the beginning of file | |
| if (!resource_type && length($0) == 0) next |
| Name | Description |
|---|---|
aws-gate |
Better AWS SSM Session manager CLI client |
aws-ssm-tools |
Handy tools for AWS Systems Manager - ssm-session, ecs-session, ssm-ssh and ssm-tunnel |
gossm |
💻Interactive CLI tool that you can connect to ec2 using commands same as start-session, ssh in AWS SSM Session Manager |
quick_ssm |
Quickly connect to AWS servers from the cli. No GUI or ssh needed. |
ssm-helpers |
Help manage AWS systems manager with helpers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # youtube-subs-to-opml.py -- Convert YouTube subscriptions exported | |
| # via Google Takeout into OPML | |
| # | |
| # See <https://www.reddit.com/r/youtube/comments/jqlks2/where_did_opml_export_go/gcdii2n/>. | |
| # 1. Go to youtube homepage | |
| # 2. Click top right icon, "Your Data in Youtube" | |
| # 3. Click "Show More" | |
| # 4. Click "Download Youtube data" | |
| # 5. This takes you to a similar screen as the other google takeout one, but only for youtube data. The subscription info here is more up to date. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git_protocol: ssh | |
| aliases: | |
| personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
| work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import logging | |
| try: | |
| import http.client as http_client | |
| except ImportError: | |
| # Python 2 | |
| import httplib as http_client | |
| http_client.HTTPConnection.debuglevel = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HCL (Terraform >= 0.12.20) | |
| locals { | |
| combined_cardinal_directions = { | |
| northeast = "ne", | |
| northwest = "nw", | |
| southeast = "se", | |
| southwest = "sw", | |
| } | |
| aws_region_array = split("-", lower(var.aws_region_name)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @NonCPS | |
| /* | |
| * slackChannel = '#channel,@user' - Slack channel for notifications, space- or comma-separated list (leave empty to use global Jenkins settings) | |
| * silentNotifyFor = ['STARTED'] - Silent notifications for certain buildStatuses. E.g.: silentNotifyFor = ['STARTED','SUCCESS','FAILURE','ABORTED'] | |
| */ | |
| def notifyBuild(String buildStatus = 'FAILURE', String customMessage = null) { | |
| // buildStatus of null means FAILURE | |
| buildStatus = buildStatus ?: 'FAILURE' | |
| // Default values |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
| # syntax = docker/dockerfile:1.4.0 | |
| FROM node:20 | |
| WORKDIR /root | |
| RUN npm install sqlite3 |
NewerOlder