AWS Organization * Policies

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html_
{
  "securityhub": {
    "enable_in_regions": {
      "@@assign": [
        "eu-central-1"
      ]
    },
    "disable_in_regions": {
      "@@append": [ALL_SUPPORTED],
      "@@remove": ["eu-central-1"]
    }
  }
}

Cursor personal keybindings

Open command palette with `Ctrl + Shit + P`, then type : **"Preferences: Open Keyboard Shortcut (JSON)"**. Usually stored here : _~/.config/Cursor/User/keybindings.json_ To display the keys pressed in terminal, open command palette and type : **"Developer: Toggle Keyboard Shortcuts Troubleshooting"**.
// Place your key bindings in this file to override the defaults
[
    {
        "key": "ctrl+i",
        "command": "composerMode.agent"
    },
    {
        // On French AZERTY keyboard, press ctrl + shift + ./; which is interpreted as a comma 
        "key": "ctrl+shift+,",
        "command": "editor.action.quickFix",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "alt+enter",
        "command": "editor.action.quickFix",
        "when": "editorTextFocus && !e

Claude Code - Claude in Chrome

# Veille Technologique : Claude in Chrome

**Date :** 29 décembre 2025  
**Sujet :** Extension navigateur Claude in Chrome (browser agent)  
**Statut :** Beta disponible pour tous les abonnés payants (depuis déc. 2025)

---

## Résumé exécutif

Claude in Chrome est une extension navigateur permettant à Claude de lire, cliquer et naviguer sur les sites web. Lancée en preview recherche le 26 août 2025 (1 000 utilisateurs Max), elle est désormais disponible en beta pour tous les plans payants (Pro,

Claude Code - ccstatusline

# ccstatusline — Fiche Synthétique

## Qu'est-ce que c'est ?

Outil communautaire qui affiche une barre de statut enrichie dans Claude Code, incluant notamment le **compteur de tokens** (non disponible nativement).

---

## Installation

```bash
# Prérequis : Node.js/npm
npm install -g ccstatusline

# Vérifier
ccstatusline --version
```

---

## Configuration

### 1. Fermer Claude Code

Quitter toute session active avant configuration.

### 2. Lancer l'outil

```bash
ccstatusline
```

### 3. Men

📒 NotebookLM - Data Table

# NotebookLM Data Tables

**Date de lancement** : 18-23 décembre 2025  
**Disponibilité** : Pro/Ultra immédiat, tous utilisateurs sous quelques semaines

## Fonctionnalité

Synthèse automatique des sources en tableaux structurés exportables vers Google Sheets. Accessible via le panneau Studio (côté droit), aux côtés de Audio Overview, Video Overview, Mind Map, Reports, Flashcards, Quiz, Infographic et Slide Deck.

## Utilisation

1. Ouvrir le panneau Studio
2. Sélectionner Data Table
3. Choisir 

Claude Code - Git - Worktrees

# Git Worktrees — Guide Pratique

## Concept

Un **worktree** est un répertoire de travail supplémentaire lié au même dépôt Git. Tu peux avoir plusieurs branches checkoutées simultanément dans des dossiers différents, sans duplication du repo.

```
~/projets/
├── mon-app/              ← Repo principal (branch: main)
│   └── .git/             ← Unique dépôt Git partagé
├── mon-app-feature/      ← Worktree (branch: feature-auth)
└── mon-app-hotfix/       ← Worktree (branch: hotfix-123)
```

Chaque

Claude Code - LSP - Use Cases & Advantages

# LSP dans Claude Code — Cas d'usage et avantages

## Exemples de prompts avec LSP

### Navigation

```
"Go to definition of process_data"
"Where is UserService defined?"
"Find all references to calculate_total"
```

### Exploration

```
"List all symbols in api/routes.py"
"Search for classes named *Repository in the workspace"
"What's the type signature of fetch_users?"
```

### Diagnostics

```
"Check for errors in this file"
"What type errors are in the project?"
"Run diagnostics on models/"

LSP - Premières Notions

# Language Server Protocol (LSP) — Fondamentaux

## Définition

Protocole JSON-RPC standardisé permettant à un éditeur de code (client) de communiquer avec un serveur fournissant des fonctionnalités de langage (autocomplétion, go-to-definition, diagnostics, etc.).

## Problème résolu

Avant LSP : N éditeurs × M langages = N×M implémentations.
Avec LSP : N clients + M serveurs. Chaque éditeur implémente le protocole une fois, chaque langage expose un serveur une fois.

## Architecture

```
┌─────

Claude Code - LSP - Intégration

# Intégration LSP dans Claude Code

## Vue d'ensemble

Claude Code (v2.0.74+) supporte nativement le Language Server Protocol via un système de plugins. Une fois configuré, Claude accède à :

- **goToDefinition** — Sauter à la définition d'un symbole
- **findReferences** — Trouver tous les usages
- **hover** — Afficher documentation et types
- **documentSymbol** — Lister les symboles d'un fichier
- **workspaceSymbol** — Rechercher dans tout le projet
- **Diagnostics automatiques** — Erreurs/warn

Claude Code - Plugins - Quick Guide

# Claude Code Plugins — Guide Rapide

## Ajouter des Marketplaces

```bash
/plugin marketplace add owner/repo
```

**Exemples :**

```bash
/plugin marketplace add anthropics/skills
/plugin marketplace add anthropics/claude-code
/plugin marketplace add wshobson/agents
/plugin marketplace add obra/superpowers-marketplace
```

## Commandes Essentielles

| Action | Commande |
|--------|----------|
| Menu interactif | `/plugin` |
| Lister marketplaces | `/plugin marketplace list` |
| Plugins disponib

position: absolute;した要素が中央からずれる件を調整

【参考サイト】 https://sugary-chunchun.com/2024/06/20/23559/
h1::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #BDA887;
    transform: rotate(45deg) translate(-50%, 0); // 追加
    bottom: -10px;
    left: 50%;
}

data file path

def get_dataset_path():
    """
    Checks predefined dataset paths and returns the one that exists.
    Raises FileNotFoundError if none are found.
    """
    path1 = r"C:\Users\TPWODL\New folder_Content\Twitter_X_Flow_Prediction_Tp\data\raw\twitter_x_data.xlsx"
    path2 = r"C:\Users\LENOVO\MachineLearningProhects\Twitter_X_Flow_Prediction_Tp\data\raw\twitter_x_data.xlsx"

    if os.path.exists(path1):
        return path1
    elif os.path.exists(path2):
        return path2
    e

plotly all visualizations

import pandas as pd
import plotly.graph_objects as go
import plotly.express as px

def create_visualizations(pivot_df: pd.DataFrame):
    """
    Create interactive Plotly visualizations for complaint data
    with distinct color schemes and backgrounds
    """
    
    # Remove the 'Total' row if it exists
    df = pivot_df[pivot_df['COMPLAINT TYPE'] != 'Total'].copy()
    
    # 1. STACKED BAR CHART - teal & red on light gray
    fig1 = go.Figure()
    
    departments = ['Comm

pivot table

def apply_pivot_examples(dataset_path: str) -> pd.DataFrame:
    # Load dataset
    df = pd.read_excel(dataset_path)

    # Ensure required columns exist
    required = ['COMPLAINT TYPE', 'DEPT', 'CLOSED/OPEN']
    missing = [c for c in required if c not in df.columns]
    if missing:
        raise ValueError(f"Missing required columns: {missing}")

    # Work on a copy and clean text
    d = df[required].copy()

    # Normalize strings: strip, lower, then title-case
    def norm(s

1351. Count Negative Numbers in a Sorted Matrix

Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, return the number of negative numbers in grid.
/**
 * @param {number[][]} grid - A 2D matrix sorted in non-increasing order
 * @return {number} - Total count of negative numbers in the matrix
 */
var countNegatives = function (grid) {
    let count = 0;

    // Loop through each row
    for (let row = 0; row < grid.length; row++) {

        // Loop through each value in the current row
        for (let col = 0; col < grid[row].length; col++) {

            // If the value is negative, increment the counter
            if (grid[row][col] < 0)

Force Windows Time Sync

@echo off
echo Force sync computer time from internet
echo.
echo Exporting registry w32time\Config (for restore)
reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config %TEMP%\exported_w32time.reg /y
echo Changing the registry keys temporarly
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config /v MaxNegPhaseCorrection /d 0xFFFFFFFF /t REG_DWORD /f
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config /v MaxPosPhaseCorrection /d