Cron

Cron jobs set in order to run wpcron via cpanel + wprocket cache auto clean and reload + > **CHANGE** fivagr with site cpanel username and **CHECK** if wp is installes in puclic_html or a folder (/dev/)
/usr/local/bin/php -q /home/fivagr/public_html/dev/wp-cron.php > /dev/null 2>&1


/usr/local/bin/php -q /home/fivagr/dev/public_html/wp-content/plugins/wp-rocket/inc/Engine/Preload/Warmup.php > /dev/null 2>&1


/usr/bin/curl -sL https://fiva.gr/dev/ > /dev/null 2>&1

GAS(Google Apps Script)入門チュートリアル

※AIによってまとめました

# GAS(Google Apps Script)入門チュートリアル

## 事前準備

1. Googleスプレッドシートを新規作成
2. メニュー「拡張機能」→「Apps Script」でエディタを開く

---

## 1. セルの値を読み取る(最小構成)

A1セルに何か入力してから実行。

```javascript
function myFunction() {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  const value = sheet.getRange('A1').getValue();
  Logger.log(value);
}
```

**実行方法**
1. コードを貼り付けて保存(Ctrl+S)
2. 上部の「▶ 実行」ボタンを押す
3. 初回は権限確認 → 「詳細」→「(安全ではないページ)に移動」→「許可」
4. 「実行ログ」で結果確認

---

## 2

CV09 9‑Key Macropad Configuration

# CV09 9‑Key Macropad Configuration (Ubuntu 24.04) This document explains how a **CV09 9‑key USB macropad** was configured on **Ubuntu 24.04** using **keyd**, an open‑source system daemon for low‑level keyboard remapping. The goal of this setup is to: - Provide **terminal‑friendly copy/paste** - Avoid proprietary software - Work system‑wide (Wayland/X11, login screen, all apps) - Keep configuration simple, explicit, and reproducible --- ## Hardware - **Device**: CV09 9‑key USB macropad - **USB ID**: `d747:0009` - **Physical layout**: ``` 7 8 9 4 5 6 1 2 3 ``` The device behaves like a small numeric keypad and emits keys such as `kp7`, `kp4`, etc. --- ## Why keyd? `keyd` is a **system daemon** that: - Intercepts raw input events from `/dev/input/event*` - Works before the desktop environment - Does not depend on X11/Wayland shortcuts - Uses simple text configuration Because it runs system‑wide, its configuration lives in `/etc/keyd/`. --- ## Installation summary ```bash git clone https://github.com/rvaiya/keyd.git cd keyd make sudo make install sudo systemctl enable keyd --now ``` (Dependencies: `build-essential`, `libevdev-dev`, `libudev-dev`) --- ## Important syntax notes (learned the hard way) - **Inline comments on the same line as bindings are NOT supported** - Comments must be on their **own line** - Use key names from: `keyd list-keys` - Reload config with: `sudo keyd reload` --- ## Configuration file **Path**: `/etc/keyd/cv09.conf` ```ini # CV09 9-key macropad (USB id d747:0009) # Terminal-friendly copy/paste + audio controls [ids] d747:0009 [main] # Clipboard (terminal-safe) kp7 = C-S-c # etc. ``` Apply changes with: ```bash sudo keyd reload ``` --- ## Resulting behavior | Key | Action | |---|---| | kp7 | Copy (Ctrl+Shift+C) | | kp8 | ... | --- ## Notes - This setup is **Wayland/X11 agnostic** - No GUI tools or proprietary drivers are required - Configuration is easy to version‑control and redeploy - Ideal for terminal‑heavy workflows --- ## References - keyd: https://github.com/rvaiya/keyd - Linux input stack: `/dev/input/event*` - systemd service: `keyd.service` --- Author notes: This configuration was created to optimize terminal usage without changing terminal settings or muscle memory for SIGINT.
# CV09 9-key macropad (USB id d747:0009)
# 7/8/9 4/5/6 1/2/3
# Terminal-friendly copy/paste + audio controls

[ids]
d747:0009

[main]
# Clipboard (terminal-safe)
kp7 = C-S-c
kp9 = C-S-v

# Volume (output)
kp4 = volumedown
kp5 = volumeup
kp6 = mute

# Microphone (input)
kp1 = micmute

# Free keys (available for later)
# kp8 = noop
# kp2 = noop
# kp3 = noop

1292. Maximum Side Length of a Square with Sum Less than or Equal to Threshold

Given a m x n matrix mat and an integer threshold, return the maximum side-length of a square with a sum less than or equal to threshold or return 0 if there is no such square.
/**
 * @param {number[][]} mat
 * @param {number} threshold
 * @return {number}
 */
var maxSideLength = function(mat, threshold) {
    const m = mat.length;
    const n = mat[0].length;

    // -----------------------------
    // 1. Build 2D prefix sum matrix
    // -----------------------------
    // pre has size (m+1) x (n+1) to avoid boundary checks.
    const pre = Array.from({ length: m + 1 }, () => Array(n + 1).fill(0));

    for (let r = 1; r <= m; r++) {
        for (let c = 1; c <= n;

The lie of 'No component store corruption detected.'

# The lie of 'No component store corruption detected.'
## Problem
Microsoft Deployment Image Servicing and Management (DISM) erroneously exits stating _No component store corruption detected._' when the Component Based Servicing (CBS) log shows warnings and errors.
### DISM Output
![](https://cdn.cacher.io/attachments/u/37fpvpwy13r3o/8bFNNuH5tudYKqSa9MDT779MWcwYaDkq/sx8ua3vax.png)
### CBS.log Output
![](https://cdn.cacher.io/attachments/u/37fpvpwy13r3o/9UMvHB8RqtZClZDFW6XnynSO-6wyYnxv/gxq9o8iz4.

Heading(見出し)

---
/*
  HeadingLv2 コンポーネント

  使用例:
  <HeadingLv2 class="p-custom-block-margins__heading-lv2" position="center">ラベル</HeadingLv2>
 */

interface Props {
  class?: string;
  position?: 'center' | 'right';
}

const { class: className = '', position } = Astro.props as Props;

const classes = [className, 'c-heading-border-bottom'].filter(Boolean).join(' ');
---

<h2 class={classes} data-position={position}><slot /></h2>

Grid2Column(2カラム)

---
/*
  Grid2Column コンポーネント

  使用例:
	<Grid2Column class="p-custom-block__grid-2column" desktopRatio="left" mobileOrder="reverse">
		<Fragment slot="left">
			<p>左カラム</p>
		</Fragment>
		<Fragment slot="right">
			<p>右カラム</p>
		</Fragment>
	</Grid2Column>
 */

interface Props {
  class?: string;
  desktopRatio?: 'left' | 'right'; // lg以上:どちらを大きくするか
  mobileOrder?: 'reverse'; // lg未満:上下を入れ替えるか
}

const { class: className = '', desktopRatio, mobileOrder } = Astro.props as Props;

const classes = [

Table(表)

---
/*
  Table コンポーネント

  使用例:
  <Table class="p-custom-block-margins__table" responsive="scroll" caption="テーブルタイトル">
		<tbody>
			<tr>
				<th scope="row">項目名</th>
				<td>データ</td>
			</tr>
		</tbody>
	</Table>
 */

interface Props {
  caption: string;
  class?: string;
  responsive?: 'vertical' | 'scroll';
}

const { class: className = '', responsive, caption } = Astro.props as Props;

const classes = [className, responsive === 'scroll' ? 'c-table js-scroll-hint' : 'c-table']
  .filter(Boolean

LinkButton(リンクボタン)

---
/*
  LinkButton コンポーネント

  使用例:
  <LinkButton
    class="p-custom-block-margins__link-button"
    href="https://www.google.com/"
    isBlank
    position="right"
  >
    ラベル
  </LinkButton>
 */

interface Props {
  class?:string,
  href?: string,
  isBlank?: boolean,
  position?: 'center' | 'right',
}

const {
  class: className = '',
  href = '#',
  isBlank = false,
  position,
  } = Astro.props as Props;

  const classes = [className, 'c-link-button'].filter(Boolean).join(' ');
---

<a
  c

Breadcrumbs(パンくずリスト)

---
/*
  Breadcrumbs コンポーネント

  使用例:
  <Breadcrumbs
		items={[
			{name: 'ホーム', href: '/'},
			{name: '2階層目', href: '/company/'},
			{name: '3階層目(現在地)'},
		]}
	/>
 */

type BreadcrumbsItem = {
  name: string,
  href?: string,
};

interface Props {
  items: BreadcrumbsItem[];
  class?: string;
}

const { class: className = '', items } = Astro.props as Props;

const classes = [className, 'p-breadcrumbs'].filter(Boolean).join(' ');

const labelId = crypto.randomUUID();
---

<nav class={classes} ari

unique neo4j keys on a label

```cypher
MATCH (p:Product)
UNWIND keys(p) AS propertyKey
RETURN DISTINCT propertyKey
ORDER BY propertyKey
```

C1 C13

kitchen appliences
moist = feucht
limeskale - limescale
chlorine
wee hours

popoverAPIでツールチップ(hoverがトリガー)

<button interestfor="popover1" style="anchor-name: --anchor-el-1">ツールチップ1</button>
<div id="popover1" class="popover-target" style="position-anchor: --anchor-el-1" popover>
  <p>ツールチップ1です(他のツールチップが開くと自動で閉じられる)</p>
</div>

<button interestfor="popover2" style="anchor-name: --anchor-el-2">ツールチップ2</button>
<div id="popover2" class="popover-target" style="position-anchor: --anchor-el-2" popover="hint">
  <p>ツールチップ2です(他のツールチップが開いても自動で閉じられない)</p>
</div>

<button interestfor="popover3" style="anchor-na

Legit Skrill Transfer PayPal Transfer WU Transfer Bug CC Fullz ATM Cards cPanel host Leads Visa Debit Ship Shop Administrative


_______ JEANSON ANCHETA_______

💻💸 Fresh Logs Pricing 💸💻
🔐 UK 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:@JeansonCarder     
Group: https://t.me/+2__ynBAtFP00M2Fk                 
Group: https://t.me/+CsF2t7HvV_ljMmU8


Y

1895. Largest Magic Square

A k x k magic square is a k x k grid filled with integers such that every row sum, every column sum, and both diagonal sums are all equal. The integers in the magic square do not have to be distinct. Every 1 x 1 grid is trivially a magic square. Given an m x n integer grid, return the size (i.e., the side length k) of the largest magic square that can be found within this grid.
/**
 * @param {number[][]} grid
 * @return {number}
 */
var largestMagicSquare = function(grid) {
    const m = grid.length;
    const n = grid[0].length;

    // Helper: check if the k×k square starting at (r, c) is magic
    function isMagic(r, c, k) {
        // Compute the target sum using the first row
        let target = 0;
        for (let j = 0; j < k; j++) {
            target += grid[r][c + j];
        }

        // Check all row sums
        for (let i = 0; i < k; i++) {
            

3047. Find the Largest Area of Square Inside Two Rectangles

There exist n rectangles in a 2D plane with edges parallel to the x and y axis. You are given two 2D integer arrays bottomLeft and topRight where bottomLeft[i] = [a_i, b_i] and topRight[i] = [c_i, d_i] represent the bottom-left and top-right coordinates of the ith rectangle, respectively. You need to find the maximum area of a square that can fit inside the intersecting region of at least two rectangles. Return 0 if such a square does not exist.
/**
 * @param {number[][]} bottomLeft
 * @param {number[][]} topRight
 * @return {number}
 */
var largestSquareArea = function(bottomLeft, topRight) {
    let n = bottomLeft.length;
    let maxArea = 0;

    // Compare every pair of rectangles (i, j)
    for (let i = 0; i < n; i++) {
        const [a1, b1] = bottomLeft[i];
        const [c1, d1] = topRight[i];

        for (let j = i + 1; j < n; j++) {
            const [a2, b2] = bottomLeft[j];
            const [c2, d2] = topRight[j];