Skip to content

Instantly share code, notes, and snippets.

View unacceptable's full-sized avatar
👑
Listen. Strange women lying in ponds distributing swords is no basis for a sys..

Robert J. unacceptable

👑
Listen. Strange women lying in ponds distributing swords is no basis for a sys..
View GitHub Profile
@unacceptable
unacceptable / Disable-ServerManager.ps1
Last active March 1, 2018 06:54
This will disable Windows Server manager fo the current user.
New-ItemProperty `
-Path HKCU:\Software\Microsoft\ServerManager `
-Name DoNotOpenServerManagerAtLogon `
-PropertyType DWORD `
-Value "0x1" `
–Force
@brianshumate
brianshumate / docker-macos-terraform.md
Last active April 16, 2024 02:18
The Simplest Terraform with Docker on macOS

If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:

1. Install Docker

Install Docker for Mac if you have not already.

@Faheetah
Faheetah / module.sh
Last active March 18, 2022 01:01
Ansible bash module boilerplate
#!/bin/bash
# Source arguments from Ansible
# These are passed into the module as $1 with a key=value format
# Sourcing this file sets the variables defined in the Ansible module
# Note that variables that are unused in the module are silently ignored
source $1
# Helper function to fail the module with the specified error
# This can accept $@ in printf for the full error
@alanwill
alanwill / aws-cfn-self-referencing-sg.json
Last active January 18, 2024 17:00
AWS CloudFormation example that allows a security group rule to reference the same security group as the source.
{
"Description": "Create a VPC with a SG which references itself",
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"vpctester": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": "172.16.0.0/23",
"EnableDnsSupport": false,
"EnableDnsHostnames": false,