copy of b2b-checkout

// pages/b2b-checkout.js
import wixLocation from 'wix-location';
import getSymbolFromCurrency from 'currency-symbol-map';
import { authentication } from 'wix-members-frontend';

import { TAX_RATE, COUNTRIES, ORDER_CONFIRM_PATH } from 'public/b2bData.js';
import { getMemberCheckoutProfile } from 'backend/b2bDataBackend.web.js';
import { getCheckoutById, updateCheckoutForB2B, createOrderFromCheckout } from 'backend/b2bCheckout.web.js';

$w.onReady(async () => {
    console.log("ON REDAY"

copy of b2b cart

// pages/b2b-cart.js
import getSymbolFromCurrency from 'currency-symbol-map';
import wixLocation from 'wix-location';
import { TAX_RATE, WEIGHT_FALLBACK, SHIPPING_RULES, COUNTRIES } from 'public/b2bData.js';
import {
  getCart, changeItemQuantity, removeItemFromCart, getCartTotals,
  getWeightsForCatalogItemIds, pickAddress, setCartShippingCountry
} from 'backend/b2bCart.web.js';
import { createB2BCheckoutFromCurrentCart } from 'backend/b2bCheckout.web.js';

function setError(msg) {
 

ACF - Сотрудники

[
  {
    "key": "post_type_6847e2d048d7e",
    "title": "Сотрудники",
    "menu_order": 0,
    "active": true,
    "post_type": "staff",
    "advanced_configuration": true,
    "import_source": "",
    "import_date": "",
    "labels": {
      "name": "Сотрудники",
      "singular_name": "Сотрудник",
      "menu_name": "Персонал",
      "all_items": "Все сотрудники",
      "edit_item": "Изменить сотрудника",
      "view_item": "Посмотреть сотрудника",
      "view_items": "Посмотреть сотрудников"

ツリーシェイキングされる/されないの目安

/*
 * Tree Shaking(ツリーシェイキング)とは?
 *ビルドツール(webpack, Rollup, Viteなど)が、「使われていないコード」を自動的に削除する最適化アプローチ。
 * utils.js に 10個の関数があるとして、そのうち2つしか使わなかった場合、ビルド時に残りの8個は削除される。
 */

// ========================================
// Classを使った場合
// ========================================
class UserService {
  getUserName(user) {
    return user.name;
  }

  getUserEmail(user) {
    return user.email;
  }

  getUserAge(user) {
    return user.age;
  }

  formatUserProfile(user) {
    return `${user.name} (${user.age

RustでWASMゲームを作る環境構築手順

### 1. Rustの初期化
```bash
rustup init
```

### 2. WebAssemblyターゲットの追加
```bash
rustup target add wasm32-unknown-unknown
```

### 3. プロジェクトの作成
```bash
cargo new rpg_game
cd rpg_game
```

### 4. 依存関係の設定(Cargo.toml)
```toml
[package]
name = "rpg_game"
version = "0.1.0"
edition = "2021"

[dependencies]
macroquad = "0.4"

[profile.release]
opt-level = "z"
lto = true
```

### 5. ゲームコードの実装(src/main.rs)
```rust
use macroquad::prelude::*;

#[macroquad::main("RPG Game")]
a

2211. Count Collisions on a Road

There are n cars on an infinitely long road. The cars are numbered from 0 to n - 1 from left to right and each car is present at a unique point. You are given a 0-indexed string directions of length n. directions[i] can be either 'L', 'R', or 'S' denoting whether the ith car is moving towards the left, towards the right, or staying at its current point respectively. Each moving car has the same speed. The number of collisions can be calculated as follows: When two cars moving in opposite directions collide with each other, the number of collisions increases by 2. When a moving car collides with a stationary car, the number of collisions increases by 1. After a collision, the cars involved can no longer move and will stay at the point where they collided. Other than that, cars cannot change their state or direction of motion. Return the total number of collisions that will happen on the road.
/**
 * @param {string} directions
 * @return {number}
 */
var countCollisions = function(directions) {
    // Step 1: Convert string to array for easier handling
    let arr = directions.split('');
    
    // Step 2: Remove cars that will never collide
    // Trim leading 'L' cars (they move left off the road)
    let i = 0;
    while (i < arr.length && arr[i] === 'L') {
        i++;
    }
    
    // Trim trailing 'R' cars (they move right off the road)
    let j = arr.length - 1;
    while (j

Fresh CC Fullz Bank Logs Paypal Transfer WU Transfer Bug MoneyGram CashApp Zelle Venmo Apple Pay Skrill Transfer ATM Cards.


              Lazarus Group (North Korea)

Selling 100% Good Cvv CC Fullz Dumps ATM Track 1/2 + Pin SMTP /WU/Transfer CashApp Venmo Apple Pay PayPal Zelle Skrill Bank logins-----

U.P.D.A.T.E CVV 2025 Sell CVV Good info And High Balance

(Cvv CC Fullz Credit Cards Dumps ATM Track 1/2 + Pin SMTP /WU/Transfer)

Buy Valid Cvv CC Dumps Track 1/2 CC SSN DOB Track-1/2-FULLZ-Transfer/Western union

[Please contact me]
--------------------------------------------
- telegram : @JeansonTooL

- telegram h

GMM Base Rechte Anpassen (wegen Contentblocks)

ContentBlocks muss in TYPO3 v13 einen Symlinks in Resources/Public erstellen können. Wenn die Rechte nicht vorhanden sind, müssen sie nachgerüstet werden:
sudo chown -R dev ./*

sudo chgrp -R www-data ./*

Pack put colours in CRM

- **Auteur** : Sathya - **Date** : 17/0/2021 - **Description** :Displays Deal Information, Contact Information, Account status, AMI status in related list with logos - **Video** : https://www.youtube.com/watch?v=E49IggGff5M 1. Install node, npm and zoho extension toolkit to run widgets 2. Create a project in node js command prompt 3. Replace the code in widget.html with the code given below 4. Run the command zet pack 5. In Zoho CRM add Related List to the module 6. Create a widget and associate it to the related list
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <link
      href="https://fonts.googleapis.com/css2?family=Roboto:wght@200&display=swap"
      rel="stylesheet"
    />
    <script
      type="application/javascript"
      src="https://live.zwidgets.com/js-sdk/1.0.6/ZohoEmbededAppSDK.min.js"
    ></script>
    <script>
      function pageLoadFn(data) {
        //Linkedin and Website
        acctID = data.EntityId;
        ZOHO.CRM.API.getRecord({ Entity: "Accounts", RecordID: acct

[tauri] ルーティングを実装

# === Tauriアプリケーションにルーティングを実装 ===
# 目的: React Router を導入し、複数ページに対応できる構造に変更
# 機能: HashRouter による SPA ルーティング、既存のコンテンツを Home ページに移行
# 影響範囲: App.tsx(ルーティング構造に変更)、App.css(スタイルを Home.css に移動)、新規ページコンポーネント作成
# 必要なパッケージ: react-router-dom

diff --git a/src/App.css b/src/App.css
--- a/src/App.css
+++ b/src/App.css
@@ -1,10 +1,3 @@
-.logo.vite:hover {
-  filter: drop-shadow(0 0 2em #747bff);
-}
-
-.logo.react:hover {
-  filter: drop-shadow(0 0 2em #61dafb);
-}
 :root {
   font-family: Int

ezviz24h.vn

fix replace phone

Maintenance Mode


/* ==================================================
MAINTENANCE MODE BG IMAGE--------------------
================================================== */
.alert.callout {
  display: none;
}
/* Maintenance Page */
.maintenance-container {
  display: block;
  max-width: 100%;
}

.maintenance-page {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('/files/adobestock_1700192769.jpg');
  background-position: center;
  background-size: cover;
}
.maintena

3625. Count Number of Trapezoids II

You are given a 2D integer array points where points[i] = [xi, yi] represents the coordinates of the ith point on the Cartesian plane. Return the number of unique trapezoids that can be formed by choosing any four distinct points from points. A trapezoid is a convex quadrilateral with at least one pair of parallel sides. Two lines are parallel if and only if they have the same slope.
/**
 * Count the number of unique trapezoids that can be formed
 * from a set of points on the Cartesian plane.
 *
 * @param {number[][]} points - Array of [x, y] coordinates
 * @return {number} - Number of trapezoids
 */
var countTrapezoids = function(points) {
    const t = new Map(); // Tracks lines grouped by slope (normalized)
    const v = new Map(); // Tracks lines grouped by raw vector direction
    const n = points.length;

    /**
     * Helper to add a line into a map structure.
     

How iterate a slice in go?

// https://go.dev/tour/moretypes/16
// https://chatgpt.com/share/69304294-58ac-8006-9cde-961288946986

package main

import "fmt"

var pow = []int{1, 2, 4, 8, 16, 32, 64, 128}

func main() {
	for i, v := range pow {
		fmt.Printf("2**%d = %d\n", i, v)
	}
}

Buttons container stijling

.block-button-container,
.button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 3rem;

    &.align-center {
        justify-content: center;
    }

    &.align-right {
        justify-content: end;
    }
}

VerneMQ check connections

# VerneMQ Connection Handling

If you use a vernemq and you need to check to which broker which client is
connected, these commands might help.

Connect to vernemq
```sh
k -n <namespace> exec -it <pod_name_of_vernemq_broker> -- /bin/sh
```

List connections and grep for specific service

```sh
vmq-admin session show --limit 10000 --node --client_id --is_online | grep <service>
```

Enforce a disconnect and re-connect

```sh
vmq-admin session disconnect client-id=<client_id>
```

If you have a ta