hook cookie

hook
!(function () {
  Object.defineProperty(document, "cookie", {
    enumerable: true,
    configurable: true,

    set(value) {
      if (value.indexOf("acw_sc__v2") != -1) {
        debuggel;
      }
      try {
        this.cookie_ = value;
      } catch (error) {}
    },
    get() {
      return this.cookie_;
    },
  });
})();

3370. Smallest Number With All Set Bits

You are given a positive number n. Return the smallest number x greater than or equal to n, such that the binary representation of x contains only set bits
/**
 * @param {number} n
 * @return {number}
 */
var smallestNumber = function(n) {
    // Start with 1 and keep shifting left and OR-ing to build numbers like 1, 3, 7, 15, 31, etc.
    let x = 1;

    // Keep generating numbers with all bits set until we find one >= n
    while (x < n) {
        // Shift left by 1 (multiply by 2) and add 1 to set the next bit
        x = (x << 1) | 1;
    }

    return x;
};

3354. Make Array Elements Equal to Zero

You are given an integer array nums. Start by selecting a starting position curr such that nums[curr] == 0, and choose a movement direction of either left or right. After that, you repeat the following process: If curr is out of the range [0, n - 1], this process ends. If nums[curr] == 0, move in the current direction by incrementing curr if you are moving right, or decrementing curr if you are moving left. Else if nums[curr] > 0: Decrement nums[curr] by 1. Reverse your movement direction (left becomes right and vice versa). Take a step in your new direction. A selection of the initial position curr and movement direction is considered valid if every element in nums becomes 0 by the end of the process. Return the number of possible valid selections.
/**
 * Counts how many zero positions in the array can lead to all elements being reduced to zero
 * by moving forward or backward and decrementing non-zero values.
 *
 * @param {number[]} nums - Array of non-negative integers
 * @return {number} - Total number of valid selections from zero positions
 */
var countValidSelections = function (nums) {
    // Collect indices where the value is zero
    const zeroIndexArr = nums.reduce((acc, cur, idx) => {
        if (cur === 0) acc.push(idx);
      

Docker templates

FROM node:alpine AS base
RUN set -eux; \
    apk add --no-cache git

# --- Build-time args ---
ARG USER=dev
ARG GROUP=${USER}
ARG UID=1000
ARG GID=1000
ARG __HOME=/home/${USER}
ARG __DIST=${__HOME}/workspace/app/dist
ARG __NODE_MODULES=${__HOME}/workspace/app/node_modules

# Handle existing user/group conflicts in base image
# The node:alpine image includes a 'node' user (uid=1000, gid=1000) that may conflict
# with our target user. This section modifies the existing user to match our requiremen

Get Category data from each location card.

This script prints to the browser console a list of all locations that have categories with images, including the location name and category details. It helps confirm that category images are properly assigned for each location.
window.mapListLocatorLoaded = () => { 
  const listmaplocator__locationListContainer = document.querySelectorAll('.listmaplocator__locationListContainer .card');
  
  listmaplocator__locationListContainer.forEach((card) => {
      // Try to get locationId — common places: data attribute or hidden input
    // === Obtener locationName desde el span con name="location_name" ===
      const locationNameElement = card.querySelector('[name="location_name"]');
      const locationName = locationNameEl

Claude Code - Agent Skills

# Agent Skills dans Claude Code - Analyse Complète

**Mise à jour:** Les Agent Skills SONT disponibles dans Claude Code (j'avais tort initialement)

---

## 🎯 Qu'est-ce que les Agent Skills?

**Agent Skills = Dossiers d'expertise que Claude découvre et charge dynamiquement**

**Structure minimale:**
```
mon-skill/
└── SKILL.md           # Fichier principal avec YAML + instructions
    ├── scripts/       # Scripts optionnels
    ├── templates/     # Templates optionnels
    └── re

Graph: chart.js

<!DOCTYPE html>
<html>
<head>
  <title>CM-wise Qty & Value Bar Chart</title>
  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels"></script>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 20px;
    }
    .chart-container {
      position: relative;
      width: 100%;
      max-width: 900px;
      height: 450px;
      margin: auto;
    }
    @@media (max-width: 600px) {
      .chart-containe

☀️ UV - Python Packaging

# Python Packaging avec UV - Fondamentaux

**Guide de référence rapide** - Concepts essentiels appris lors du refactoring

---

## 🎯 Qu'est-ce qu'un Package Python?

**Package = Dossier de code réutilisable et installable**

**Différence clé:**
- **Script** → Fichier Python isolé, non installable
- **Package** → Ensemble de modules, installable, importable, distribuable

---

## 📁 Structure Minimale d'un Package

```
mon_package/
├── pyproject.toml        # Configuration du p

Claude Code - PLAN MODE

# Agent Skills dans Claude Code - Analyse Complète

**Mise à jour:** Les Agent Skills SONT disponibles dans Claude Code (j'avais tort initialement)

---

## 🎯 Qu'est-ce que les Agent Skills?

**Agent Skills = Dossiers d'expertise que Claude découvre et charge dynamiquement**

**Structure minimale:**
```
mon-skill/
└── SKILL.md           # Fichier principal avec YAML + instructions
    ├── scripts/       # Scripts optionnels
    ├── templates/     # Templates optionnels
    └── re

HTML5バリデーションのエラーメッセージ変更

# セレクトボックスの場合(必須チェックのみ)

```
let validation = (event) => {
  event.target.setCustomValidity('');
  if (event.target.validity.valueMissing) {
    event.target.setCustomValidity('項目を選択してください');
  }
}
document.getElementById("select0").addEventListener('invalid', (event) => validation(event));
document.getElementById("select1").addEventListener('invalid', (event) => validation(event));
document.getElementById("select0").addEventListener("change", event => event.target.setCustomValidity(""));
docume

Legit CashApp Transfer WU Transfer Bug CC Fullz TopUp PayPal Zelle Venmo Apple Pay Skrill Bank Drop Wire Logs Ship Shop Administrative


______JEANSON ANCHETA______


Stop Paying for Fluff. Start Getting Results.


            U.S.A 🌍 


🛡️ Verified • HQ Access • Fast Delivery
💬 DM for escrow or direct 🔥
WESTERN UNION / MONEYGRAM / BANK LOGINS / BANK SWAPS / PAYPAL SWAPS GLOBAL / CASHAPP / ZELLE / APPLE PAY / SKRILL / VENMO SWAPS
©2025  Telegram: @JeansonCarder
https://t.me/+2__ynBAtFP00M2Fk
https://t.me/+CsF2t7HvV_ljMmU8


Hello fam, offering HQ services 💻💸 — got WU pluggz, bank logs w/ fullz, PayPal jobz, Skrill flips 🔥. HMU f

2125. Number of Laser Beams in a Bank

Anti-theft security devices are activated inside a bank. You are given a 0-indexed binary string array bank representing the floor plan of the bank, which is an m x n 2D matrix. bank[i] represents the ith row, consisting of '0's and '1's. '0' means the cell is empty, while'1' means the cell has a security device. There is one laser beam between any two security devices if both conditions are met: The two devices are located on two different rows: r1 and r2, where r1 < r2. For each row i where r1 < i < r2, there are no security devices in the ith row. Laser beams are independent, i.e., one beam does not interfere nor join with another. Return the total number of laser beams in the bank.
/**
 * @param {string[]} bank
 * @return {number}
 */
// Function to calculate the total number of laser beams between security devices
var numberOfBeams = function(bank) {
    // Array to store the count of devices (i.e., '1's) in each non-empty row
    let arr = [];

    // Variable to accumulate the total number of beams
    let result = 0;

    // Iterate through each row in the bank
    for (let i = 0; i < bank.length; i++) {
        // Count the number of '1's (devices) in the current row

Klipper_Ghost6_TS35_Bookworm.md


### Serial premission denied error

If you have error in klippy log like:
``` [Errno 13] could not open port /dev/serial0: [Errno 13] Permission denied: '/dev/serial0' ```

Follow the `raspi-config` -> Inerface Options -> Serial Port and **disable a Login Shell**

Then disable a `getty` service:

```
systemctl stop serial-getty@ttyAMA0.service
systemctl disable serial-getty@ttyAMA0.service
systemctl mask serial-getty@ttyAMA0.service
```

## Setup TS35 on Flyingbear Ghost6/Reborn2 on Raspberry P

b2b Cart v8

// /b2b-cart.js

import { session } from 'wix-storage-frontend';
import wixLocation from 'wix-location';
import { loadB2BCart, saveB2BCart } from 'backend/b2bCartStorage.jsw';

const CART_KEY = 'b2bCart';

/* --------------------- Session-Handling --------------------- */
function getCartSession() {
  try {
    return JSON.parse(session.getItem(CART_KEY) || '[]');
  } catch {
    return [];
  }
}

function saveCartSession(items) {
  session.setItem(CART_KEY, JSON.stringify(item

b2b checkout BACKEND

import wixStores from 'wix-stores-backend';
import wixData   from 'wix-data';
import { currentMember } from 'wix-members-backend';
import { contacts }       from 'wix-crm-backend';

/* ───────────── Helpers ───────────── */

const GUID_RX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;

function pseudoUuid() {
  let s = '', i = 0;
  while (i++ < 36) {
    s += (i === 9 || i === 14 || i === 19 || i === 24) ? '-' :
         (i === 15 ? '4' :
         (Math.random

b2b checkout v8

import wixUsers from 'wix-users';
import wixLocation from 'wix-location';
import { session } from 'wix-storage-frontend';
import wixData from 'wix-data';
import { getMemberCheckoutProfile, createOrderFromProfile } from 'backend/b2bCheckout.jsw';

function formatAddressBlock(company, firstName, lastName, addr) {
  const countryNameMap = { AT:'Österreich', DE:'Deutschland', CH:'Schweiz' };
  return [
    company,
    `${firstName} ${lastName}`.trim(),
    addr?.addressLine || '',
    `