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 / openssl.markdown
Created July 19, 2022 15:10 — forked from leommoore/openssl.markdown
OpenSSL Basics

#OpenSSL Basics

##Certificate Types

  • CA Certificate Authority
  • CRL Certificate Revocation List
  • CSR Certificate Signing Request
  • DCA Deligate Certificate Authority
  • DER Data Encryption Standard
  • DES Data Encryption Standard
  • DH Diffie-Hellmann
@abuxton
abuxton / .gitignore
Last active July 22, 2022 15:07 — forked from croxton/SSL-certs-OSX.md
Generate ssl certificates with Subject Alt Names
# Created by https://www.toptal.com/developers/gitignore/api/ssl
# Edit at https://www.toptal.com/developers/gitignore?templates=ssl
*.csr
*.pem
*.key
*.crt
# End of https://www.toptal.com/developers/gitignore/api/ssl
@abuxton
abuxton / tmux.md
Created July 20, 2022 07:28 — forked from davewongillies/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@abuxton
abuxton / Terraform on Mac M1.md
Created August 3, 2022 10:42 — forked from straubt1/Terraform on Mac M1.md
Notes to install Terraform on M1

Installing the amd64 version of Terraform on Mac with M1

Not all Terraform providers are built for arm64.

One solution here is to install Terraform as amd64 which can be easily done from the downloads page.

However, for those who are using and switching between versions of Terraform often, a more streamlined approach is desirable.

Enter asdf.

@abuxton
abuxton / Makefile
Last active September 7, 2022 11:13
makefile helper
test:
sentinel test -verbose $(shell find . -name "$(name)" -type f ! -path "*/testdata/*")
tests:
sentinel test $(shell find . -name "*.sentinel" -type f ! -path "*/testdata/*")
format:
sentinel fmt -write=true $(shell find . -name "*.sentinel" -type f)
generate:
@abuxton
abuxton / README.md
Last active October 7, 2022 12:26
tfe helper

tfe helpers

# will render output of tfe_user_data_.sh.tpl nonsensative
output "tfe_user_data" {
  value = nonsensitive(templatefile("${path.module}/templates/tfe_user_data.sh.tpl", local.user_data_args))
}
@abuxton
abuxton / markdown-cheatsheet.md
Created November 16, 2022 16:41 — forked from LeanSeverino1022/markdown-cheatsheet.md
markdown cheatsheet #markdown #cheatsheet