Skip to content

Instantly share code, notes, and snippets.

View mpociot's full-sized avatar

Marcel Pociot mpociot

View GitHub Profile
@mpociot
mpociot / codex.sh
Created June 4, 2025 09:06
OpenAI Codex PHP environment setup for Laravel
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)"
export PATH="/root/.config/herd-lite/bin/:$PATH"
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed --force -n
npm install
npm run build
@mpociot
mpociot / terminal-title-wrapper.zsh
Created July 1, 2025 07:01
Terminal title management for Claude Code.
#!/usr/bin/env zsh
# Terminal title management for Claude Code
# Place this file in ~/.config/zsh/claude-wrapper.zsh
# Source it in your ~/.zshrc
#
# Source: https://github.com/steipete/agent-rules
# Function to set terminal title
set_terminal_title() {
echo -ne "\033]0;$1\007"