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
| import psutil | |
| import time | |
| import datetime | |
| import csv | |
| import os | |
| # --- Configuration --- | |
| LOG_INTERVAL_SECONDS = 5 # How often to log data (in seconds) | |
| LOG_DURATION_MINUTES = 60 # How long to run the monitoring (in minutes). Set to 0 for indefinite. | |
| LOG_FILE_NAME = "system_performance_log.csv" |
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
| <!DOCTYPE html> | |
| <html lang="en" class="scroll-smooth"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>The Augmented Architect: A Cursor Power User's Guide (2025)</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
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 | |
| # Directory to search for git repositories | |
| # Defaults to current directory if no argument is provided | |
| SEARCH_DIR="${1:-.}" | |
| # Find all .git directories, then go to their parent directory and run git pull | |
| find "$SEARCH_DIR" -name ".git" -type d -prune | while IFS= read -r d; do | |
| REPO_DIR="$(dirname "$d")" | |
| echo "Pulling changes in: $REPO_DIR" |
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": "dashboard.grafana.app/v2beta1", | |
| "kind": "Dashboard", | |
| "metadata": { | |
| "name": "claude-code-metrics", | |
| "generation": 12, | |
| "creationTimestamp": "2025-12-10T13:33:56Z", | |
| "labels": {}, | |
| "annotations": {} | |
| }, |
OlderNewer