Skip to content

Instantly share code, notes, and snippets.

View awslattery's full-sized avatar
☸️
Kubernetes take the wheel

Andrew Slattery awslattery

☸️
Kubernetes take the wheel
View GitHub Profile
@alexberry
alexberry / automate-ubiquity-ap-leds-homeassistant.md
Last active March 28, 2025 23:17
Automating Ubiquity AP LEDs with Home Assistant & Unifi Network

This is a small guide to set up Unifi AP LED Control using Home Assistant.

Known Supported Hardware

These scripts have been tested as working on the following hardware:

Home Assistant Hosting

@mitchellh
mitchellh / merge_vs_rebase_vs_squash.md
Last active March 18, 2025 21:32
Merge vs. Rebase vs. Squash

I get asked pretty regularly what my opinion is on merge commits vs rebasing vs squashing. I've typed up this response so many times that I've decided to just put it in a gist so I can reference it whenever it comes up again.

I use merge, squash, rebase all situationally. I believe they all have their merits but their usage depends on the context. I think anyone who says any particular strategy is the right answer 100% of the time is wrong, but I think there is considerable acceptable leeway in when you use each. What follows is my personal and professional opinion:

@awslattery
awslattery / vpsCopypasta.txt
Created July 21, 2015 15:53
whoami: virtual private server
I identify as a Virtual Private Server. Ever since I was a boy I dreamed of having people sudo me around, dropping hot sticky loads of bash commands to my command line. People say to me that a Virtual Private Server and offering many distros to choose from is impossible, and that I’m destined to have my VHD sharded to the point that I don’t exist, but I don’t care. I’m a VPS. I’m helping developers make the most out of server virtualization, giving them affordable options to build businesses with, and allowing root level access to secure their data properly. From now on, I want you guys to call me Localhost, and respect my right to be a VPS. If you can’t accept me, you’re a Windows Server loving skrublord and need to check your privilege. Thank you for using sudo.