Skip to content

Instantly share code, notes, and snippets.

View ncronquist's full-sized avatar

Nicholas Cronquist ncronquist

View GitHub Profile
ncronquist / mysql-docker-compose.yml
Created April 19, 2023 20:25
Local MySQL with Docker-Compose
View mysql-docker-compose.yml
version: "3"
container_name: mysql
image: mysql:5.7
command: "--character-set-server=utf8 --collation-server=utf8_unicode_ci"
- db-data:/var/lib/mysql
- /var/run/mysqld:/var/run/mysqld
ncronquist / my-shortcuts.ahk
Last active March 10, 2023 19:24
AutoHotKey Script to Support Em Dash and Moving Windows Across Virtual Desktops
View my-shortcuts.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
ListLines Off
SetBatchLines -1
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#KeyHistory 0

This post/message in response to

I was required to use Terragrunt for a while by a well-meaning company policy. I did put a lot of time and effort into trying to make it work well for us though and definitely agree that it solves some problems, but in my experience it introduced more complexity than it solved.

I'll start by saying that my usage of Terraform has been at larger companies where dev teams own their services end-to-end and manage most of their own infrastructure (Some companies using single/few AWS accounts might centrally manage VPCs/DNS, but teams with their own AWS accounts might manage everything other than audit logging/security checks). In any case, I can't talk to a central operations team managing infrastructure for everyone. As we both noted, the actual use-case and requirements make a big difference for what is going to work for any single team/company.

  1. Strongly prefer using human readable variable values with data resources
ncronquist / windows-terminal-settings.jsonc
Last active March 7, 2021 19:40
Windows Terminal Settings with Multiple Themes
View windows-terminal-settings.jsonc
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
ncronquist / .editorconfig
Last active July 15, 2019 04:19
Golang Cheatsheet
View .editorconfig
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
ncronquist / arrayUtils.js
Created June 1, 2018 01:24
Smallest Missing Positive Integer
View arrayUtils.js
function swap(arr, indexLeft, indexRight) {
const temp = arr[indexLeft];
arr[indexLeft] = arr[indexRight];
arr[indexRight] = temp;
return arr;
function deleteIndex(arr, indexToDelete) {
for (let i = indexToDelete; i < arr.length; i++) {
if (i + 1 < arr.length) {
View nuc_atom_config.cson
closeDeletedFileTabs: true
telemetryConsent: "limited"
themes: [
fontSize: 13
View nuc_atom_snippets.cson
'Receipt Info Add':
'prefix': 'rec'
'body': """
"$1": {
"receipt": "../samples/post-requests/$1.json",
"schema": "$3.schema.json"
View nuc_atom_keymap.cson
'.platform-linux atom-text-editor':
'alt-shift-L': 'grammar-selector:show'
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-c': 'core:copy'
'ctrl-c': 'core:copy'
ncronquist / boxstarter.ps1
Last active October 23, 2017 05:09
Boxstarter Computer Setup Script
View boxstarter.ps1
# Boxstarter Script
# Author: Nick Cronquist <>
# Last Updated: 2017-10-22
# Originally sourced from Jess Frazelle (
# Install boxstarter and chocolatey
# . { iwr -useb } | iex; get-boxstarter -Force
# Allow scripts to be run
# Set-ExecutionPolicy Unrestricted -Force