Skip to content

Instantly share code, notes, and snippets.

View kbeckman's full-sized avatar

Keith Beckman kbeckman

  • Red Four Nine, LLC
  • Nashville, TN
View GitHub Profile
@kbeckman
kbeckman / Makefile
Last active August 6, 2021 14:22
Deploy Lambda via CLI
ROOT_PATH=$(PWD)
BUILD_PATH=$(ROOT_PATH)/build
DIST_PATH=$(ROOT_PATH)/dist
SRC_PATH=$(ROOT_PATH)/lambda/src
PROJECT_NAME=some-lambda-function
STACK_NAME=test-${PROJECT_NAME}
TEST_LAMBDA_ZIP_FILE=test-${PROJECT_NAME}.zip
TEST_LAMBDA_ZIP_PATH=${DIST_PATH}/${TEST_LAMBDA_ZIP_FILE}
CF_STACK_NAME=test-${PROJECT_NAME}
@kbeckman
kbeckman / keep_awake.ps1
Last active October 28, 2020 15:04
Windows Keep Awake
# 4 hours...
param($minutes = 240)
$myShell = New-Object -com "Wscript.Shell"
for ($i = 0; $i -lt $minutes; $i++) {
$myShell.sendkeys("{F15}")
Clear-Host
$remaining = $minutes - $i
@kbeckman
kbeckman / [cheat-sheets].asdf.md
Last active June 18, 2020 20:00
asdf Version Manager

asdf Version Manager

Installation

brew install asdf

# Required for installing / compiling Erlang documentation...
brew install autoconf wxmac
export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"