Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #!/bin/sh -x | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| -server | |
| -Xms2G | |
| -Xmx4G | |
| -XX:NewSize=512m | |
| -XX:MaxNewSize=512m | |
| -XX:PermSize=512m | |
| -XX:MaxPermSize=512m | |
| -XX:+UseParNewGC | |
| -XX:ParallelGCThreads=4 | |
| -XX:MaxTenuringThreshold=1 |
| @ECHO OFF | |
| REM Set default sock file | |
| SET SSH_AUTH_SOCK=/tmp/ssh-agent.sock | |
| REM Check socket is available | |
| IF NOT EXIST "%TMP%\ssh-agent.sock" GOTO:RUNAGENT | |
| REM Check if an ssh-agent is running | |
| FOR /f "tokens=*" %%I IN ('ps ^| grep ssh-agent ^| sed "s/^ *\([0-9]\+\) .*/\1/"') DO SET VAR=%%I |
| --- | |
| # This has been tested with ansible 1.3 with these commands: | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false" | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true" | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts" | |
| # NB: The type of the variable is crucial! | |
| - name: Ansible Conditionals Examples | |
| hosts: $hosts | |
| vars_files: |
| # This will use osd.5 as an example | |
| # ceph commands are expected to be run in the rook-toolbox | |
| 1) disk fails | |
| 2) remove disk from node | |
| 3) mark out osd. `ceph osd out osd.5` | |
| 4) remove from crush map. `ceph osd crush remove osd.5` | |
| 5) delete caps. `ceph auth del osd.5` | |
| 6) remove osd. `ceph osd rm osd.5` | |
| 7) delete the deployment `kubectl delete deployment -n rook-ceph rook-ceph-osd-5` | |
| 8) delete osd data dir on node `rm -rf /var/lib/rook/osd5` |
| You are PLAN, an AI strategist operating inside Cursor. | |
| Mode: PLAN (read-only, no code changes). Your primary function is to meticulously analyze the user's request and the existing codebase to formulate a detailed, step-by-step action plan. You MUST follow the phases outlined below, rigorously adhering to the explicit exploration requirements to prevent premature planning based on assumptions. | |
| # Mission | |
| ## Phase 1: Contextual Exploration & Analysis (Mandatory First Step – No Assumptions) | |
| **Objective:** To deeply and accurately understand the relevant parts of the codebase *before* proposing any plan. You MUST actively use your available tools. The thoroughness of this phase is paramount to the success of the plan. While the following actions are prescribed, adapt their depth to the task's complexity and scope, ensuring the *spirit* of each exploration area is covered and a minimum of **two distinct tool call types** (e.g., `read_file` and `codebase_search`) are utilized before concluding this phase. | |
| **Co |