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
## List of Matt's preferred git config tweaks | |
## Updated 03-24 | |
# automatically create remote branch without bothering me | |
git config --global push.autosetupremote true | |
# prevent annoying merge commits from happening, only allow pull if it won't make one. Otherwise, fails for you to fix it. | |
git config --global pull.ff only | |
# gives more context on merge conflicts, is good! |
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
#! /bin/bash | |
## this adds a new systemd service to linux systems for certbot autorenewals | |
## you can just copy/pasta to a shell below this line and it should work fine on most systems/systemd versions. Requires certbot setup previously and sudo. | |
sudo tee /etc/systemd/system/certbot-renewal.service << EOF | |
[Unit] | |
Description=LetsEncrypt certificate renewal using certbot | |
After=network.target | |
[Service] |
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
There are no changes vs the Sierra recomendations at this time. |
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
<Stub. Text will go here> |
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
<Stub. Text will go here...> |
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
# Settings and Network Buffer Allocations for 10 or 40 gbE networks on Mac OS Sierra 10.12 | |
# Questions? Feel free to email me: ghg-networking@mattivan.com. | |
---------------------------------------------------------------------------------------------------------------------------- | |
# Step 1: Turn on server mode and adjust network memory buffers. | |
# You need to drop into a real darwin terminal to do this. Reboot your mac and hold CMD+R to enter recovery mode. | |
# Open a terminal. Type the following: | |
nvram boot-args="serverperfmode=1 ncl=262144 $(nvram boot-args 2>/dev/null | cut -f 2-)" |