<build>
<plugins>
<!-- FatJar -MVN-Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
test("Dropdown should be sorted in alphabetical order", async ({ page }) => {
await page.goto(PAGE_URL);
const dropdown = page.getByRole("combobox").and(page.locator("#country"));
const options = await dropdown.locator("option").all();
const optionValues = await Promise.all(options.map(option => option.textContent()));
const sortedOptionValues = [...optionValues].sort();
expect(optionValues).toEqual(sortedOptionValues);
});// adding --headed option
npx playwright test tests/singleSelectDropdown.spec.ts --headed// page.getByRole("combobox")
test("Single select dropdown actions", async ({ page }) => {
await page.goto(PAGE_URL);
const dropdown = page.getByRole("combobox").and(page.locator("#country"));
await dropdown.selectOption("India");
});Selects one or multiple options in the <select> element with locator.selectOption(). You can specify option value, or label to select. Multiple options can be selected.
// Single selection matching the value or label
await page.getByLabel('Choose a color').selectOption('blue');
// Single selection matching the label
await page.getByLabel('Choose a color').selectOption({ label: 'Blue' });
// Multiple selected items
await page.getByLabel('Choose multiple colors').selectOption(['red', 'green', '// 1 install
npm install class-variance-authority clsx tailwind-merge
// 2 /lib/utils.ts
/*
clsx handles conditional logic and class composition
tailwind-merge removes conflicting Tailwind classes
*/
import { clsx } from "clsx"
import { twMerge } from "tailwind-merge"
cn("px-2 px-4") // => "px-4"
// 3 variant with cva
import { cva } from "class-variance-authority"
import { cn } from "@/lib/utils"
const buttonVariants = cva(
"rounded px-4 py-2 font-medium transition",
{
variants: {
// 1 install
npm install zustand
// 2 create
// store.js
import { create } from 'zustand';
const useStore = create((set) => ({
count: 0, // Initial state
increase: () => set((state) => ({ count: state.count + 1 })),
decrease: () => set((state) => ({ count: state.count - 1 })),
}));
export default useStore;
// 3 use
// App.js
import React from 'react';
import useStore from './store';
const Counter = () => {
const { count, increase, decrease } = useStore((state) => ({
count: state./**
* @param {string} s
* @param {number} k
* @return {number}
*
* This solution is based on analyzing how many zeros can be flipped per operation.
* Each operation flips exactly k bits, so the parity of the zero count changes
* depending on k. The editorial shows that the minimum number of operations can be
* computed using two candidate formulas depending on parity constraints.
*/
var minOperations = function (s, k) {
const n = s.length;
// Count how many zeros are in the str<?php
declare(strict_types=1);
/**
* ============================================================
* VARIANTA 1
* Jednoduchá request-level cache pomocí static proměnných
* ============================================================
*/
function getExpensiveData(): mixed
{
static $loaded = false;
static $data;
if (!$loaded) {
$data = loadFromDatabase();
$loaded = true;
}
return $data;
}
/**
* =============================# 公開ディレクトリ分離
Webサーバーのドキュメントルートを `public/` に限定し、それ以外のファイルをHTTPアクセスから遮断する。
## ディレクトリ構造
```
project-root/
├── bootstrap.php # プロジェクトルートのパス定数を定義
├── public/ # ドキュメントルート(Webアクセス可能)
│ ├── index.php
│ ├── api/
│ └── assets/ # CSS, JS, 画像
├── config/ # DB接続情報、環境変数等の設定ファイル
├── lib/ # クラス定義、ユーティリティ関数
├── templates/ # HTMLテンプレート、レイアウト
└── vendor/ # 外部ライブラリ、依存パッケージ
```
## public/ に置くもの
- エントリポイント(index.php 等)
- 静的リソース(CSS, background: url('../images/table-left-top.png') left top/12rem 10rem no-repeat,
url('../images/table-right-top.png') right top/12rem 10rem no-repeat,
url('../images/table-left-bottom.png') left bottom/12rem 16rem no-repeat,
url('../images/table-right-bottom.png') right bottom/12rem 14rem no-repeat;"""
ECO-STORM + AQUA-GOV (Reference Implementation Skeleton)
========================================================
This is a *research-oriented* code template in PyTorch that mirrors the paper's
core ideas:
- ECO-STORM: stochastic ecological dynamics + MDP + neural value approximation
+ softmax effort allocation + enforcement-aware reward
- AQUA-GOV: decentralized multi-agent quota negotiation + uncertainty-aware
quota reduction + enforcement penalties + fa
_______ LAZARUS GROUP_______
🌎
💻💸 Fresh Logs Pricing 💸💻
🔐 UK/US Logs / Clean Bank Drops (GBP/$)
💰 10K GBP/$ = 250
💰 12K GBP/$ = 300
💰 16K GBP/$ = 350
💰 20K GBP/$ = 500
💰 30K GBP/$ = 800
🛡️ Verified • HQ Access • Fast Delivery
💬 DM for escrow or direct 🔥
WESTERN UNION / MONEY GRAM/BANKS LOGINS/BANK TRANFERS/PAYPAL TRANSFERS WORLDWIDE/CASHAPP/ZELLLE/APPLE PAY/SKRILL/VENMO TRANSFER
Telegram:@lazarustoolz
Group: https://t.me/+LE893Ma2vIwyYWNk
Group: https://t.me/+2__ynBAtF// Modify these start and end variables for the dates you wish to load
var startDate = '2026-02-24';
var endDate = '2026-02-27';
// Optionally use deltaStart when loading work orders to only load records which have been updated since this date
var deltaStart = '2026-02-25';
var gdtStartDate = new GlideDate(startDate);
var gdtEndDate = new GlideDate(endDate);
var daysIncrement = 1;
var startDateCurrent = startDate;
var endDateCurrent = addDays(startDateCurrent, daysIncrement);
varservices:
app:
image: node:20-alpine
working_dir: /app
# Si usas package.json, cambia esto a: npm start
command: sh -c "npm install && node server.js"
environment:
- DB_HOST=db
- DB_USER=${DB_USER:-app_user}
- DB_PASSWORD=${DB_PASSWORD:-secret}
- DB_NAME=${DB_NAME:-app_db}
- REDIS_HOST=redis
- PORT=80
- NODE_ENV=${NODE_ENV:-production}
volumes:
- app_data:/app
depends_on:
- db
- redis
db:
image: mariservices:
app:
image: python:3.11-slim
working_dir: /app
# Instala dependencias y lanza Gunicorn en el puerto 80 con 4 workers
command: sh -c "pip install --no-cache-dir -r requirements.txt && gunicorn -w 4 -b 0.0.0.0:80 app:app"
environment:
- DB_HOST=db
- DB_USER=${DB_USER:-app_user}
- DB_PASSWORD=${DB_PASSWORD:-secret}
- DB_NAME=${DB_NAME:-app_db}
- REDIS_HOST=redis
- PYTHONUNBUFFERED=1
volumes:
- app_data:/app
depends_on