This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download and install Homebrew | |
curl -o- https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash | |
# Download and install Node.js: | |
brew install node@24 | |
# Verify the Node.js version: | |
node -v # Should print "v24.9.0". | |
# Verify npm version: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create docs directory | |
mkdir -p docs | |
# Parse subdomains from DNS records (extract from second column) | |
SUBDOMAINS=$(echo "$DNS_RECORDS" | cut -d',' -f2 | cut -d'.' -f1 | sort -u) | |
# Map subdomain to service docs URL (common mappings) | |
declare -A SERVICE_DOCS=( | |
["llm"]="https://ollama.com/docs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download and install nvm: | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash | |
# in lieu of restarting the shell | |
\. "$HOME/.nvm/nvm.sh" | |
# Download and install Node.js: | |
nvm install 24 | |
# Verify the Node.js version: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
################################################################################################### | |
# Name: Post-Install DevOps & Web Development Bootstrap Script | |
# Date: 2025-08-15 | |
# Script Name: post_install_devops_web.sh | |
# Version: 1.0.0 | |
# Log Summary: Creates a robust development environment on Ubuntu for DevOps & Web stacks. | |
# Description: Idempotent setup script to install and configure common tooling for | |
# DevOps, cloud engineering, container workflows, and web development. | |
# Safe to re-run; only missing or outdated components are (re)installed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From the website. install then pipe to bash: viola! | |
curl -LsSf https://astral.sh/uv/install.sh | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
sudo apt-get install build-essential | |
brew install gcc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-aio-gpu-nvidia-cuda-12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: litellm-config-file | |
data: | |
config.yaml: | | |
model_list: | |
- model_name: gpt-4o | |
litellm_params: | |
model: azure/gpt-4o-ca |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install ai tools | |
curl -fsSL https://opencode.ai/install | bash | |
git clone https://github.com/cbwinslow/forge.git | |
cd forge | |
npx forgecode@latest | |
# vLLM | |
# Get the code | |
git clone https://github.com/BerriAI/litellm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install_snap_store_opensuse.sh | |
# This script installs Snap and Snap Store on openSUSE | |
set -e | |
echo "Updating system..." | |
sudo zypper refresh | |
sudo zypper update -y |
NewerOlder