You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🏳️🌈
Be kind, and have an adventure.
Ben
othyn
🏳️🌈
Be kind, and have an adventure.
Lead Engineer. Rambling through code, one line at a time.
Connect to another host with your docker client, without modifying your local Docker installation
Run commands on remote Docker host
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
Enable Docker Remote API
First be sure to enable the Docker Remote API on the remote host.
Easy ZSH/Bash alias for swapping PHP versions on the fly
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
Easy ZSH/Bash alias for swapping Node versions on the fly
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
Easy ZSH/Bash alias for swapping kubectl contexts on the fly
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
Signing your Git Commits using GPG on MacOS Sierra/High Sierra
Methods of Signing with GPG
Last updated March 28, 2021
There are now two ways to approach this:
Using gpg and generating keys
Using Kryptonite by krypt.co
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions
Move files into directory/directories of their own (self) filename
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
Mac mini (late 2012, 6,2) Unraid Setup & Installation / Configuration Log
Mac mini (late 2012, 6,2) Unraid Setup & Installation / Configuration Log
I'm creating this as reference for people looking to run Unraid on a Mac mini, as there really isn't any info about this online. In this case, I'm running an MD388LL/A model (6,2), an Intel based model running an Intel i7-3615QM @ 2.3GHz with 16GB DDR3 1600MHz memory. In terms of drives, I'm currently running the original 120GB Apple re-badged SSD and 1TB Apple re-badged HDD which are both near EoL.
For the USB drive I'm using an old spare USB 2.0 Kingston 32GB DataTraveler 104. Space wise, its completely overkill, but I don't have any other spares to hand given my others have been used up on two other Unraid boxes. As for USB 2.0, I've had more success on 2.0 drives than 3+.
p.s. I know there is no installation step, just trying to get good SEO for this post to help wanderers!
Prints all Docker container MAC addresses with container ID and name for easy reference
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
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
How to disable default menu bar items in Swift / SwiftUI for macOS
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