Git-flow

- **master** - основная ветка
- фича ветвится от master, имя фичи = название задачи
- фича никуда не мержится а отдается на ревью
- **hot-fix** - ветвится от мастера

Существует еще ветка **релиз-кандидат**, которая мержится в мастер во время релиза

Веток **dev** и **stage** нет

❌ ENV in Dev and Prod

## 🎓 Development vs Production Workflows Explained

### 📊 The Two Workflows

```
DEVELOPMENT (Local)                    PRODUCTION (AWS Lambda)
┌─────────────────┐                   ┌──────────────────┐
│   Your .env     │                   │ Secrets Manager  │
│  ┌───────────┐  │                   │  ┌────────────┐  │
│  │DB_PASSWORD│  │                   │  │ username   │  │
│  │DB_HOST    │  │                   │  │ password   │  │
│  └───────────┘  │                   │  └────────

DockerFile

**FROM** = base Java leggera **ARG** = variabile per specificare quale JAR copiare **COPY** = copia il JAR dentro il container **ENTRYPOINT** = comando per avviare la tua app
FROM openjdk:17-jdk-alpine
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

Correlation_id SMALL tuto

```python
def _extract_correlation_id(event: dict[str, Any]) -> str:
    """Extract correlation ID from API Gateway event."""
    # Try multiple sources in order of preference
    correlation_id = (
        event.get("requestContext", {}).get("requestId")  # API Gateway v1
        or event.get("headers", {}).get("X-Correlation-Id")  # Custom header
        or event.get("headers", {}).get("x-correlation-id")  # Lowercase variant
        or None
    )
    
    if correlation_id:
      

mdtest

# markdownのテスト

## 日本語テスト

## 日本語テスト2

3136. Valid Word

A word is considered valid if: It contains a minimum of 3 characters. It contains only digits (0-9), and English letters (uppercase and lowercase). It includes at least one vowel. It includes at least one consonant. You are given a string word. Return true if word is valid, otherwise, return false. Notes: 'a', 'e', 'i', 'o', 'u', and their uppercases are vowels. A consonant is an English letter that is not a vowel.
/**
 * @param {string} word
 * @return {boolean}
 */
var isValid = function(word) {
    // ✅ Check if the word has at least 3 characters
    if (word.length < 3) return false;
    
    // ✅ Check if the word contains only English letters and digits
    // This regular expression ensures all characters are alphanumeric
    if (!/^[a-zA-Z0-9]+$/.test(word)) return false;
    
    // ✅ Define a regex pattern that matches vowels (both uppercase and lowercase)
    let vowels = /[aeiouAEIOU]/;
    
  

gsapUtils

/* -----------------------------------------------
  ES Utils / gsapUtils
----------------------------------------------- */

import { gsap } from 'gsap';

/**
 * 要素が存在する場合、GSAP Timeline に .to() を登録する
 * @param {gsap} timeline GSAP Timeline
 * @param {Element | NodeList} target 対象となる要素
 * @param {options} options オプション
 * @param {string} position 開始位置
 * @returns {void}
 */
export const safeTo = (timeline, target, options, position) => {
  // 要素が存在しない場合は処理を終了
  if (!target || (target instanceof 

Вопросы

### Ошибки с JOIN и агрегациями
Попытка выполнить JOIN между таблицами из разных шардов

- VTGate не поддерживает полноценные JOIN между шардами, что приводит к ошибкам выполнения или неожиданным результатам.
- Неверная работа агрегатных функций (SUM, COUNT, GROUP BY)
При scatter-запросах (когда запрос выполняется по нескольким шардом), результаты могут быть некорректными, либо работа запроса становится крайне медленной. Например, GROUP BY требует, чтобы поле группировки всегда было в SELECT, ин

在VSCode中解决PyQt5包导入问题

# 在VSCode中解决PyQt5包导入问题
- ## 问题描述
> PyQt5输入QWdiget无法自动提示导入`from PyQt5.QtWidgets import QWidget`

- ## 原因:
> 默认情况下仅对顶级模块编制索引,也就是深度为1
- ## 解决:
在配置文件中的`python.analysis.packageIndexDepths`项中为`PyQt5`单独配置索引深度,配置后如下:
```json
"python.analysis.packageIndexDepths": [
    {
      "name": "PyQt5",
      "depth": 3,
      "includeAllSymbols": true
    },
    {
      "name": "fastapi",
      "depth": 2
    }
  ]
```

JS - fetch cart and update Cart Note

async function _k0updateCartNote() {
  try {
    const response = await fetch('cart/update.js', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        note: ''
      })
    });

    if (!response.ok) return;
    const responseJson = await response.json();

    console.debug('--- k0updateCartNote responseJson', responseJson)

  } catch (error) {
    console.debug('--- k0updateCartNote', error);
  }
}

Prompt lovable bo new

per lovable
risolvi gli errori ma non toccare i componenti usati in altre pagine 

risolvi gli errori ma non toccare i componenti usati in altre pagine e sposta i componenti specifici di questa pagina nella cartella src/components/Insurance

Команда

- Шумилов Дмитрий - аналитик
- Козлов Алексей- собесил меня
- Хомяков - разраб
- Семечкин Михаил - тимлид
- Глаголев Сергей - разраб
- Згурский Андрей - разраб
- Онищенко Максим - техлид
- Борзикова Кристина - вроде тестер
- Никита - ?
- Андрей - тестер из РБ

テーブル

<script>
  document.addEventListener("DOMContentLoaded", () => {
    if (document.body.dataset.hasCompiledHtml) {
      return;
    }

    /** caption要素 */
    const caption = document.querySelector("caption");

    // caption要素が存在する場合は消去する。
    if (caption !== null) caption.remove();

    /** 横幅・高さのリセット */
    const layoutReset = () => {
      /** オプション値 */
      const optionValue = document.querySelector(".js-table-layout").textContent;

      // 無効の場合は処理を終了
      if (optionValue === "無効") ret

B2 Unit 20

E
1. fast-paced
2. ice-cold
3. forty-storey
4. one-year
5. world-famous
6. middle-aged
7. last-minute
8. old-fashioned

F
1. stress-free
2. well-maintained
3. four-year-old
4. easy-to-use
5. three-leg
6. solar-powered
7. English-speaking
8. slow-moving

E
picturesced
urbinasiation
abandonment
clever plan
europian history
dreams
foreign byiers

I
run-down
token price
undeniable
cultural heritage

J

Monday_2025_07_14

terraform fmt
terraform init
aws configure list
terraform state list
terraform state show <aws_instance.app_server>
terraform output  or terraform output -json

https://www.abc.net.au/news/2025-07-15/superannuation-system-subsidises-the-wealthy/105530936

1290. Convert Binary Number in a Linked List to Integer

Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number. Return the decimal value of the number in the linked list. The most significant bit is at the head of the linked list.
/**
 * Definition for singly-linked list.
 * function ListNode(val, next) {
 *     this.val = (val===undefined ? 0 : val)
 *     this.next = (next===undefined ? null : next)
 * }
 */
/**
 * @param {ListNode} head
 * @return {number}
 */
// Definition for singly-linked list node:
function ListNode(val, next = null) {
    this.val = val;
    this.next = next;
}

// Function to convert binary linked list to decimal
var getDecimalValue = function(head) {
    let num = 0;

    // Traverse the linked