Skip to content

Instantly share code, notes, and snippets.

View abuxton's full-sized avatar
💭
Always discombobulated. Never really too busy.

adam buxton abuxton

💭
Always discombobulated. Never really too busy.
View GitHub Profile
@abuxton
abuxton / sed cheatsheet
Created November 11, 2025 10:23 — forked from johnbianchi/sed cheatsheet
Sed Text Transformation and Find/Replace Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@abuxton
abuxton / submit.md
Last active May 6, 2025 09:06 — forked from gregorynicholas/submit.md
Downloading Shared Files on Google Drive Using Curl

Downloading Shared Files on Google Drive Using Curl

When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.

File size < 40MB

CURL

filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&amp;id=${fileid}"
@abuxton
abuxton / ansible-summary.md
Created August 9, 2024 13:27 — forked from andreicristianpetcu/ansible-summary.md
Ansible 1.7 Configuration and Command Cheatsheet by 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 / 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]
@abuxton
abuxton / markdown-cheatsheet.md
Created November 16, 2022 16:41 — forked from LeanSeverino1022/markdown-cheatsheet.md
Markdown Syntax and Formatting Cheatsheet
@abuxton
abuxton / README.md
Last active October 23, 2026 16:32 — forked from thiagozs/kubernetes.md
Kubernetes and kubectl Operations Cheatsheet and Learning Notes
@abuxton
abuxton / Terraform on Mac M1.md
Created August 3, 2022 10:42 — forked from straubt1/Terraform on Mac M1.md
Installing amd64 Terraform on Apple Silicon Macs

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.