Skip to content

Instantly share code, notes, and snippets.

View chrisleekr's full-sized avatar

Chris Lee chrisleekr

View GitHub Profile
@chrisleekr
chrisleekr / install-arch-linux.md
Last active June 21, 2019 07:12
Step by step guide to install Arch Linux for myself

Step by step guide to install Arch Linux for myself

Environment:

SSD (NVME): 256GB, but available only 238.5GB

RAM: 16GB

References

@chrisleekr
chrisleekr / install-arch-linux-lvm-luks-dell-xps-15-7590.md
Last active June 2, 2024 09:57 — forked from mjnaderi/install-arch.md
Install Arch Linux with Full Disk Encryption (LVM on LUKS) for Dell XPS 15 7590
@chrisleekr
chrisleekr / fix-dockerfile-alpine.sh
Last active June 5, 2023 23:14
Update alpine package versions automatically Dockerfile
#!/bin/bash
# This script is used to fix the alpine version in the Dockerfile.
DOCKERFILE=${1:-"Dockerfile"}
echo "Building Dockerfile: $DOCKERFILE"
BUILD_OUTPUT=$(docker build --progress plain -f "$DOCKERFILE" . 2>&1)
BUILD_STATUS=$?
@chrisleekr
chrisleekr / codex-setup-script.sh
Last active June 25, 2025 06:23
codex-setup-script.sh
#!/bin/bash
####
# # 1st edition setup script.
# # How to use:
# # 1. Copy the below setup script to the environment
# curl -L -o /tmp/codex-setup-script.sh "https://gist.githubusercontent.com/chrisleekr/5a558061a43b1f92c1d9e337953e5b55/raw/codex-setup-script.sh?$(date +%s)"
# chmod +x /tmp/codex-setup-script.sh
# /tmp/codex-setup-script.sh