Skip to content

Instantly share code, notes, and snippets.

View abuxton's full-sized avatar
💭
discombobulated as always

adam buxton abuxton

💭
discombobulated as always
View GitHub Profile
@abuxton
abuxton / Makefile
Last active September 16, 2024 15:14
GH API get issues
all: teams
team:
echo $(team_name)
for i in `gh api /orgs/hashicorp/teams/$(team_name)/members | jq '.[].login' | sed 's/"//g'` ; do echo $i && gist -l $i ;done;
# to get the list of all teams in org
teams:
gh api /orgs/hashicorp/teams | jq '.[].name'
@abuxton
abuxton / ansible-summary.md
Created August 9, 2024 13:27 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@abuxton
abuxton / append_image.js
Created August 10, 2023 14:35
tamper monkey add image
// ==UserScript==
// @name _Add an image to a web page
// @include http://stackoverflow.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
// ==/UserScript==
$("body").append (
'<img id="myNewImage" src="https://www.pikpng.com/pngl/m/399-3994789_mst3k-mystery-science-theater-silhouettes-clipart.png">'
);
$("#myNewImage").css ( {
@abuxton
abuxton / NOTES.md
Created March 13, 2023 09:49 — forked from fatso83/NOTES.md
Installing Vagrant on Apple Silicon Macs (M1, M1X, etc)

VirtualBox only supports the x86 platform, so the default installation instructions for Vagrant does not work on Apple silicon. Thankfully Vagrant has a VMWare Provider (more on providers here), and so if I can get VMWare running on my M1 MacBook, I should be able to run Vagrant as well!

These are my notes during figuring this out.

Get the VMWare Tech Preview released in September 2021!

We are in luck, as VMWare released this just a few weeks ago.

  • See [their blog entry][1]
# Create kv-policy with variable for Identity Group ID
data "vault_policy_document" "group" {
rule {
path = "group-kv/data/training/{{identity.groups.ids.${vault_identity_group.group.id}.name}}/*"
capabilities = ["create", "read", "update", "delete", "list"]
description = "allow all on secrets"
}
rule {
@abuxton
abuxton / README.md
Last active August 15, 2024 14:00
debugging cloud-init and user_data on cloud platforms
@abuxton
abuxton / markdown-cheatsheet.md
Created November 16, 2022 16:41 — forked from LeanSeverino1022/markdown-cheatsheet.md
markdown cheatsheet #markdown #cheatsheet
@abuxton
abuxton / README.md
Last active November 15, 2022 09:20 — forked from thiagozs/kubernetes.md
sheet codes development day