Skip to content

Instantly share code, notes, and snippets.

View AlexAtkinson's full-sized avatar

Alex Atkinson AlexAtkinson

  • Toronto
View GitHub Profile
@AlexAtkinson
AlexAtkinson / build_mesos_agent.sh
Created September 12, 2024 14:13
BASH from the PAST: Create a Mesos Agent Instance
#!/bin/bash
# ----------------------------------------------------------------------
# /root/build_mesos-slave.sh
# mesos-master auto-build
#
# ----------------------------------------------------------------------
# Variables
# ----------------------------------------------------------------------
user="root"
dir="/root"
@AlexAtkinson
AlexAtkinson / build_mesos_master.sh
Created September 12, 2024 14:11
BASH from the PAST: Create a Mesos Master Instance
#!/bin/bash
# ----------------------------------------------------------------------
# /root/build_mesos-master.sh
# mesos-master auto-build
#
# ----------------------------------------------------------------------
# Variables
# ----------------------------------------------------------------------
user="root"
dir="/root"
@AlexAtkinson
AlexAtkinson / make-ca-cert.sh
Last active May 28, 2024 23:39
Create a CA & Server Cert
#!/usr/bin/env bash
# ----------------------------------------------------------------------------------------------------------------------
#
# make-ca-cert.sh
#
# SYNOPSIS
# Creates a CA if one doesn't already exist, and installs it (debian).
# Creats a server certificate (including wildcard SAN) signed by the CA.
#
# ----------------------------------------------------------------------------------------------------------------------
@AlexAtkinson
AlexAtkinson / CORS.md
Last active May 29, 2024 20:58
A CORS Cheat...

CORS -- Just the edge knowledge

localhost

To set cookies on the localhost, either have a self signed cert setup (see refs), or exclude the 'secure', and 'sameSite' directives.

CORS

@AlexAtkinson
AlexAtkinson / Modernization_Dockerization Enablement.md
Last active September 18, 2024 19:47
Modernization/Dockerization Enablement

Modernization/Dockerization Hazards Enablement

Despite Digital Transformation and application modernization being well established practices, there are always unforeseen issues the creep up. This exceedingly truncated list of hazards will hopefully help identify some issues early.

💡 This is a companion to -- not a replacement for -- the decadeds of retrospective material that exists on the subject. While it's advisable to engage an outside consultancy if you're unfamiliar with the topic, tackling this list early can offset those costs as their runbook will contain similar content as they assess your application.

Resources

Here are a few vids that give more context to this issue.

@AlexAtkinson
AlexAtkinson / BASH_Cheatsheet.md
Created April 10, 2024 04:38
BASH Cheatsheet
@AlexAtkinson
AlexAtkinson / check_failover_dhcp.ps1
Created April 2, 2024 14:08
PS1 From The Past: Nagios DHCP Failover Check
# ----------------------------------------------------------------------
# File: check_failover_dhcp.ps1
# Description: NRPE Nagios Check for Windows Server 2012 DHCP Failover Servers
# https://exchange.nagios.org/directory/Plugins/Network-Protocols/DHCP-and-BOOTP/Windows-2012-DHCP-Failover-and-Scope-Health-Check/details
#
# Checks: Failover State
# Failover Mode
# Scope State of Each Scope
# Scope Statistics (PercentInUse) of Each Scope
#
@AlexAtkinson
AlexAtkinson / Domain Names, DNS & URLs for DevOps & Friends.md
Last active May 7, 2024 23:01
Domain Names, DNS, and URLs for DevOps & Friends

Domain Names, DNS, and URLs for DevOps & Friends

Table of Contents

@AlexAtkinson
AlexAtkinson / Project Management.md
Last active September 19, 2024 19:32
Scrum/SAFe/Basic Project Management

Scrum/SAFe/Basic Project Management

Project Management can be as simple or as complex as needed. If your project is you and a few highly-aligned folks in the same room then you might be able to make due with a whiteboard and some sticky-notes, but this doesn't scale. There's a lot of expertise involved in taking a project from sticky-notes to a scaled agile enterprise operating model, but the foundations of planning don't change. IE: If you want to dig for treasure, then you should plan to get a shovel to enable your success.

Aside: Discover Your Minimum Viable Operating Posture

Before you jump into executing your vision, start by discovering a your minimum viable operating posture (see also the concept of minimum virtuous products), as this dictates a large portion of your overall organizational structure and talent strategy. Getting this wrong is similar to getting software architecture wrong -- it's all dysfunction and d

@AlexAtkinson
AlexAtkinson / Evernote_Alternative.md
Last active April 4, 2024 13:40
Free Evernote Alternative

Evernote Icon Evernote Alternative - Obsidian Evernote Icon

This is my free Evernote alternative.

Tech Stack

There are three components of this solution: the note taking app, cloud-sync utility, and the optional cloud storage.

NOTE: If you don't need more than 2GB of cloud storage, you can get away with simply putting the vault in Dropbox and accessing from all your devices. NO NEED FOR SYNCTHING. Otherwise, read on.