Skip to content

Instantly share code, notes, and snippets.

View r0b0t3d's full-sized avatar
🏠
Working from home

Tuan Luong r0b0t3d

🏠
Working from home
View GitHub Profile
@r0b0t3d
r0b0t3d / setup_dev_env.sh
Last active May 28, 2025 10:54
Setup dev env
#!/bin/bash
set -e
# Detect architecture
ARCH=$(uname -m)
echo "Detected architecture: $ARCH"
# Detect shell
CURRENT_SHELL=$(basename "$SHELL")
@r0b0t3d
r0b0t3d / setup_plugins.sh
Created May 28, 2025 10:52
Setup plugins for asdf
#!/bin/bash
# Default versions
DEFAULT_RUBY="3.2.2"
DEFAULT_NODE="20.11.1"
# Use args or defaults
RUBY_VERSION="${1:-$DEFAULT_RUBY}"
NODE_VERSION="${2:-$DEFAULT_NODE}"