Skip to content

Instantly share code, notes, and snippets.

@DaneWeber
DaneWeber / .ebignore
Created October 15, 2022 00:16
Just the .ebignore for running a Yarn app on AWS Elastic Beanstalk in 2022
# next.js
/.next/
/out/
# EB
/source-bundles/*.zip
@DaneWeber
DaneWeber / Procfile
Created October 15, 2022 00:14
Just the Procfile for running a Yarn app on AWS Elastic Beanstalk in 2022
web: yarn start
@DaneWeber
DaneWeber / .ebignore
Created October 14, 2022 21:19
Files for running a Yarn app on AWS Elastic Beanstalk in 2022
# next.js
/.next/
/out/
# EB
/source-bundles/*.zip
@DaneWeber
DaneWeber / MacOS_Catalina_ISO.sh
Last active March 14, 2024 23:01
Create a MacOS Catalina install ISO
# Download the installer for MacOS Catalina
softwareupdate --fetch-full-installer --full-installer-version 10.15.7
# Create a directory for the VM installer
cd ~/
mkdir VMs
cd VMs
mkdir installers
cd installers
@DaneWeber
DaneWeber / MacOS_Monterey_ISO.sh
Created May 4, 2022 16:15
Create a MacOS Monterey install ISO
# Download the installer for MacOS Monterey
softwareupdate --fetch-full-installer --full-installer-version 12.3.1
# Create a directory for the VM installer
cd ~/
mkdir VMs
cd VMs
mkdir installers
cd installers
@DaneWeber
DaneWeber / Brewfile
Created March 16, 2021 15:26
Sample Brewfile
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
cask "docker"
cask "iterm2"
cask "visual-studio-code"
@DaneWeber
DaneWeber / Brewfile
Created March 15, 2021 17:03
Gentle idempotent Mac dev setup
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
cask "docker"
cask "iterm2"
cask "visual-studio-code"
@DaneWeber
DaneWeber / IncidentResponse.md
Created January 6, 2021 17:34
Notes on incident response

Incident Response

One incident response approach:

  • ChatOps
    • Time-stamped record of actions taken.
    • Transparent for any interested party to review.
    • Reduces need to answer questions about status and next steps.
    • Can integrate with alerts and more advanced bots.
  • Incident Commander
@DaneWeber
DaneWeber / keybase.md
Last active March 27, 2020 19:12
keybase.md

Keybase proof

I hereby claim:

  • I am daneweber on github.
  • I am daneweber (https://keybase.io/daneweber) on keybase.
  • I have a public key ASDj2P-TIqdncADPOvVRgUqIFcKQqqx-gSkL60Vs1O03kgo

To claim this, I am signing this object:

@DaneWeber
DaneWeber / dateToJSON.spec.js
Created September 24, 2019 15:45
ISO8601 date & time with offset for Javascript
import "./dateToJSON";
// This spec file should be exercised in various timezones. Set the timezone in the container with
// docker exec -it -e TZ=Pacific/Chatham cmd
// Or interactively with commands like the following:
// echo "Pacific/Niue" > /etc/timezone
// dpkg-reconfigure tzdata
// date