Skip to content

Instantly share code, notes, and snippets.

View dalekurt's full-sized avatar

Dale-Kurt Murray dalekurt

View GitHub Profile
@dalekurt
dalekurt / .env
Created January 12, 2023 00:22
Initialize custom users and databases in MongoDb
# Database
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=admin
MONGO_INITDB_DATABASE=my-app-db
@dalekurt
dalekurt / mac-upgrade.sh
Created November 24, 2021 18:32
MacOS Update Script
#!/bin/bash
# Requirements:
# - homebrew: https://brew.sh/
# - homebrew tap: buo/cask-upgrade - https://github.com/buo/homebrew-cask-upgrade
# - homebrew mas (Mac App Store command-line interface - https://github.com/mas-cli/mas)
# Update, upgrade all and cleanup
brew update && brew upgrade && brew cu --all --yes --cleanup && mas upgrade && brew cleanup
# Dump all taps, apps, casks and mac apps into ~/Brewfile
@dalekurt
dalekurt / gist:983c545a530980cd3123d451cb258a54
Created September 3, 2021 17:14
AWS Architecture Diagram
<mxfile host="app.diagrams.net" modified="2021-09-03T17:13:16.047Z" agent="5.0 (Macintosh)" etag="Y03pCiZkCuuq8OGWPG9H" version="15.0.6" type="device"><diagram id="ZmlEOAwDyF2wny43QQX1" name="Page-1">7Vpdj+I2FP01PC6KE/LBIwRoV9qqo7LbrvoyMokJ1oQ4cszX/PpeJ05IHKOZVUGzaBkxIj62772xz7l2HAZOuD3+xnG++YPFJB3YVnwcOLOBbSPXduBLIieFINuvkITTWGFnYElfiQIthe5oTIpOQ8FYKmjeBSOWZSQSHQxzzg7dZmuWdr3mOCE9YBnhtI/+Q2OxqdDAtc7474Qmm9ozslTNFteNFVBscMwOLciZD5yQMyaqq+0xJKkcvXpcqn6LC7VNYJxk4j0dvo7H2enzd/zNT/99/vOIvobfT5+UlT1Od+qG/34KVbziVA9CzmgmyoF0p/ABP6E1cKEmlKWh7WqAXva7AOqXpI0uoJf9LoB080jzj/QAW0Cv1DFvaf6tVoDwcaZsJ1KakbChnAVgwnFMYSpCljIOWMYyGL3pRmxTKCG4PGyoIMscR3JUD6AXwNYsE4r0yK7LauClVSBNLq+3x0QKbIgPxWiYcLbLS5efgfbG2ud9HsnugrMXUoc0sB17FARoJB3RNNVC3RMuKDB/ktJEWhVMOsGqlJK1kBYhfpolX8rSzLFUzC0Xk8nUnwaAx7jYkFjdiOIZuCDHiwRGjSwgoRC2JYKfoInqMFJCqlOJp8qHsy6RXctv0xLluJYgVskgaWyf9QIXSjI/IJ+gJ5+/SEJhTnQF3QNleBW6gTWBP0Zj76asaVw0rEHXYU3QZU3DojZrkG1gTWDdijUgQJ02kz2mKV7RlAoZ+6sc23vkEG7dx/NrFUuPTu7InXq3TUKNi2vTqaFKzaegz6cGa9PJv1kSQm6PTk+7VUojSZ/dKiPisaDf
@dalekurt
dalekurt / log.txt
Created September 18, 2019 22:38
Output logs
Error: Error refreshing state: 7 errors occurred:
* module.audit.data.terraform_remote_state.stage: 1 error occurred:
* module.audit.data.terraform_remote_state.stage: data.terraform_remote_state.stage: error loading the remote state: NoSuchBucket: The specified bucket does not exist
status code: 404, request id: 7FEE83248E60C945, host id: tbiIT+DulLbPdtVBbQuO/vdFKGm2Obuwm6tACMmcEZVvUR56aSPwTPI9rJrDz0eZcGavpZTd6+w=
* module.dev.data.terraform_remote_state.stage: 1 error occurred:
* module.dev.data.terraform_remote_state.stage: data.terraform_remote_state.stage: error loading the remote state: NoSuchBucket: The specified bucket does not exist
status code: 404, request id: 64C9D80849C8A6D5, host id: Qn5xcpRc20N5ybZex7QvSN9NBndBfqUSSbS4PbNmMsGn0mh06ux7n3bSoJP3x57m/DqKhAwI7F8=
@dalekurt
dalekurt / gcp.tf
Created January 22, 2019 18:29
Terraform template based on Seth Vargo's vault-on-gke
# This file contains all the interactions with Google Cloud
provider "google" {
region = "${var.region}"
project = "${var.project}"
# An earlier attempt to use a service account with roles/owner
# credentials = "${file("account.json")}"
}
terraform {
required_version = ">= 0.10.0"
@dalekurt
dalekurt / keybase.md
Created January 4, 2019 02:41
keybase verification

Keybase proof

I hereby claim:

  • I am dalekurt on github.
  • I am dalekurt (https://keybase.io/dalekurt) on keybase.
  • I have a public key ASA5kM35VsgZI0BIKL8yFIEAK_ivyxXNWrCB1nUw0rR5_Ao

To claim this, I am signing this object:

Postprocessing results
Processing folder /share/CE_CACHEDEV1_DATA/Download/transmission/completed
TV_DOWNLOAD_DIR: /share/CE_CACHEDEV1_DATA/Multimedia/TVShows
PostProcessing Path: /share/CE_CACHEDEV1_DATA/Download/transmission/completed
PostProcessing Dirs: ['Mr.Robot.S01E07.m720p.WEB.DL.DD5.1.x264-ITSat', 'Dark.Matter.S01E10.720p.HDTV.x264-KILLERS', 'Halt.and.Catch.Fire.S01E04.720p.BluRay.X264-REWARD', 'Humans.S01E08.720p.BluRay.X264-DEFLATE', 'Halt.and.Catch.Fire.S01E02.720p.BluRay.X264-REWARD', 'Dark.Matter.S01E11.Episode.11.720p.WEB-DL.DD5.1.H.264-ECI', 'The.Muppets.S01E04.720p.WEB-DL.DD5.1.H.264-KiNGS', 'Halt.and.Catch.Fire.S01E06.720p.BluRay.X264-REWARD', 'Dark.Matter.S01E09.Episode.9.720p.WEB-DL.DD5.1.H.264-ECI', 'Dark.Matter.S01E13.720p.HDTV.x264-KILLERS', 'Halt.and.Catch.Fire.S01E01.720p.BluRay.X264-REWARD', 'Dark.Matter.S01E08.Episode.8.720p.WEB-DL.DD5.1.H.264-ECI', 'Halt.and.Catch.Fire.S01E08.720p.BluRay.X264-REWARD', 'Halt.and.Catch.Fire.S01E03.720p.BluRay.X264-REWARD', 'Mr.Robot.S01E08.eps1.7.wh1
@dalekurt
dalekurt / gist:b0d7987440d53a235f25
Last active November 17, 2015 14:13
traceroute
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 router.asus.com (192.168.1.1) 500.089 ms 1.006 ms 1.145 ms
2 10.101.1.1 (10.101.1.1) 701.239 ms 970.314 ms 126.222 ms
3 vl200-c10-15-b2-1-sa.pnj1.choopa.net (208.167.254.1) 113.045 ms 113.153 ms 878.419 ms
4 108.61.244.153 (108.61.244.153) 108.041 ms
108.61.244.117 (108.61.244.117) 999.313 ms
108.61.244.153 (108.61.244.153) 830.542 ms
5 108.61.244.41 (108.61.244.41) 127.407 ms
core1-0-2-0.lga.net.google.com (198.32.160.130) 406.098 ms
108.61.244.41 (108.61.244.41) 1069.311 ms
# -*- mode: ruby -*-
# # vi: set ft=ruby :
require 'fileutils'
Vagrant.require_version ">= 1.6.0"
CLOUD_CONFIG_PATH = File.join(File.dirname(__FILE__), "user-data")
CONFIG = File.join(File.dirname(__FILE__), "config.rb")
@dalekurt
dalekurt / kubernetes_error.log
Created June 12, 2015 05:14
Building Kubernetes binary files
./release.sh
+++ [0612 04:55:48] Verifying Prerequisites....
+++ [0612 04:55:48] Building Docker image kube-build:cross.
+++ [0612 04:55:53] Building Docker image kube-build:build-530557a4a1.
+++ [0612 04:56:08] Running build command....
+++ [0612 04:56:08] Building go targets for linux/amd64:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet