Skip to content

Instantly share code, notes, and snippets.

View AlexAtkinson's full-sized avatar
🚀
AI Powered DevOps

Alex Atkinson AlexAtkinson

🚀
AI Powered DevOps
  • Toronto
View GitHub Profile
@AlexAtkinson
AlexAtkinson / File_Watch.sh
Last active January 28, 2026 04:38
Detects changes in a file
#!/usr/bin/env bash
# file_watch.sh
# ------------------------------------------------------------------------------
# Description:
# Watches a file for changes.
# Includes output on inode changes as that may be desirable in some scenarios.
# NOTE: ... Just use inotifywait.
#
# Usage:
# ./file_watch <path/to/file>
@AlexAtkinson
AlexAtkinson / dnsSUBflyover.sh
Last active November 12, 2025 19:23
Flyover subdomain detection.
#!/bin/env bash
# Checks if subdomain.$1 is registered.
# Iterates the 1000 most popular subdomains.
# NOTE: Can be changed to 10000, or even 100000.
#
# Usage:
# ./dnsSUBflyover.sh nike.com
#
# NOTE:
# For more subdomains:
@AlexAtkinson
AlexAtkinson / Images In Gists.md
Last active February 24, 2026 06:05
Adding Images to GISTs - The GIST Way

Adding Images to GISTs - The Gist Way

This approach relies on images being public in secret gists so long as you have the url to them.

  1. Create a secret gist called something like "Images for Gists".
  2. Clone the gist:
  3. Add images and push them. Note that gists repos do not support directories.
@AlexAtkinson
AlexAtkinson / JIRA_Workflows.md
Last active February 24, 2026 06:05
Jira Workflow Examples

Jira Workflow Examples

This GIST is here simply to demonstrate some workflows I've found helpful in guaranteeing a well-developed backlog for iteration teams. That said, workflows can be as simple or as complex as you need for your organization/project. At scale though, it's highly desirable to have a backlog as beautifully maintained as your products as their qualities are interdependent. And you'll see this point surface in retrospectives/feedback over time.

Structure

First off, DO NOT have workflows that looks like this:

Awful JIRA Workflow (From Atlassian)

@AlexAtkinson
AlexAtkinson / MongoDB_Setup.sh
Last active January 28, 2026 04:51
BASH from the PAST: Create a MondoDB Instance with Striped LVMs to cheat EBS performance...
#!/bin/bash
# ----------------------------------------------------------------------
# /root/build_mongod.sh
#
# NOTES:
# - This script has BIG AWESOME HEADERS to liven up the CLI experience...
# - DO NOT disable SELINUX... Learn it.
#
# INSTRUCTIONS:
# Launch in a screen. Pre-warming the devices takes 10-12 hours.
@AlexAtkinson
AlexAtkinson / Launch_Fargate.sh
Last active January 22, 2026 20:36
BASH from the PAST: Provision AWS Fargate cluster
#!/usr/bin/env bash
# --------------------------------------------------------------------------------------------------
# ./launch-stack.sh
#
# Description:
# Launches a ECS Fargate stack with blue/green deployment support.
#
# Notes:
# - This script offered as a curiosity, now, since this is now satisfied
# with Terraform.
@AlexAtkinson
AlexAtkinson / README.md
Last active January 3, 2024 19:06
Hoppscotch.ai docker-compose (that works)

Introduction

Hoppscotch is a utility like postman or insomnia that can be run locally. This quick guide will get you up and running in just a few minutes in scenarios where you want to self-host the app locally. This is bassed on hoppscotch's example docker-compose.yml.

⚠️ Despite Hoppscotch's docs stating that all data is saved with postgres, the collections data (your calls) are stored in the browser application data. When this data is cleared your collections will vanish.

Setup:

  1. Clone the repo:
@AlexAtkinson
AlexAtkinson / Docker_Assets.Dockerfile
Last active January 22, 2026 20:38
Docker Example: Building Artifacts
# DOCKER EXAMPLE: Generate assets with a docker build
# 1. Create this Dockerfile
# 2. Run: `docker build --output=foo --target=assets .`
#
# This results in an asset being created and exported to the
# local path foo/ on the host os. The key here is using
# 'scratch' to ensure an empty contianer the assets can be
# copied into before being exported. (Otherwise you get the
# entire OS.)
#
@AlexAtkinson
AlexAtkinson / GoodFastCheap.md
Created October 4, 2023 18:46
Venn Diagram - Good Fast Cheap

Good Fast Cheap

@AlexAtkinson
AlexAtkinson / docker-ignore-test.sh
Last active October 4, 2023 17:03
Docker Build - .dockerignore Interactions
#!/usr/bin/env bash
dir=$(mktemp -d)
cd $dir > /dev/null
export DOCKER_BUILDKIT=1
echo -e "FROM node:20-alpine\nCOPY . tmp/" > Dockerfile_foo
cp Dockerfile_foo Dockerfile_bar
touch foo bar