Skip to content

Instantly share code, notes, and snippets.

# https://github.com/laravel/agent-skills
/plugin marketplace add laravel/agent-skills
/plugin install laravel@laravel
/plugin install laravel-cloud@laravel
/plugin install laravel-nightwatch@laravel
# Laravel Boost (Offiziell/MCP): Ein MCP-Server (Model Context Protocol), der Claude Code direkten Zugriff auf die Laravel-Anwendung gibt,
# um Artisan-Befehle auszuführen, Eloquent-Abfragen zu generieren und die Dokumentation zu durchsuchen. Installation via Composer:
composer require laravel/boost --dev
php artisan boost:install
#install claude foundation rules from kaparthy - 4 simple rules - https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md
/plugin marketplace add forrestchang/andrej-karpathy-skills
/plugin install andrej-karpathy-skills@karpathy-skills
# install directly in project
curl -o CLAUDE.md https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md
#install in claude code
/plugin install comfyui-mcp@artokun-comfyui-mcp
#search in list for comfy
/plugin list
#click and install
/reload-plugins
# list all apps
umbreld client apps.list.query
#stop app
umbreld client apps.stop.mutate --appId appname
#restart app after changing docker-compose.yml
umbreld client apps.restart.mutate --appId appname
# copy files into folders
find . -type f -exec bash -c 'mkdir -p "${1%/*}/$(date -r "$1" "+%Y")"; cp "$1" "${1%/*}/$(date -r "$1" "+%Y")/"' _ {} \;
#move files into folders
find . -type f -exec bash -c 'mkdir -p "${1%/*}/$(date -r "$1" "+%Y")"; mv "$1" "${1%/*}/$(date -r "$1" "+%Y")/"' _ {} \;
# on local repo path
# rename origin
git remote rename origin bitbucket;
# add new github origin
git remote add origin git@github.com:workspace/repo.git;
# push to new github repo
git push -u origin main;
Schritt-für-Schritt Konfiguration (503-Response für gebannte IPs)
1. Apache so konfigurieren, dass er Client-IPs korrekt sieht
Installiere und aktiviere mod_remoteip:
sudo a2enmod remoteip
In /etc/apache2/conf-available/remoteip.conf (neu anlegen):
Fail2Ban
```
sudo apt update;
sudo apt install fail2ban;
sudo nano /etc/fail2ban/jail.local;
```
#
Grundkonfiguration:
```[DEFAULT]
bantime = 1h
**Schritt 1: Interface identifizieren**
Finde heraus, wie dein Ethernet-Interface heißt:
`ip link`
Du siehst eine Liste wie:
1: lo: <LOOPBACK,...>
2: enp3s0: <BROADCAST,MULTICAST> ...
#composer requirements
"require-dev": {
"captainhook/captainhook": "^5.25",
"deployer/deployer": "^7.5",
"friendsofphp/php-cs-fixer": "^3.75",
"frosh/shopware-rector": "^0.5.5",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-symfony": "^2.0",
"rector/rector": "^2.0",
"shopware/dev-tools": "^1.5",