隣接する要素それぞれに自分の順番分のdelayを発生させる

<ul>
  <li>1</li>
  <li>2</li>
  <li>3</li>
</ul>

AI利用に関する知見

※AIでの記述

# AIに画像を読ませる時の効果的な活用法

## AIの画像認識の特性

**AIも「ぼんやり見る」ことがある**
- 大枠の構造は認識できるが、重要な詳細を見落としがち
- 先入観やよくあるパターンに引っ張られやすい
- 人間が直感的に重要視する部分を軽視することがある

## 効果的な指示方法

### 1. 具体的な視点を提供する
- ❌ 「この画像について教えて」
- ✅ 「この画像の左上部分の色と形について詳しく説明して」
- ✅ 「特に文字の色と背景の関係に注目して分析して」

### 2. 段階的にアプローチする
1. **全体概要** → 「まず全体の構成を説明して」
2. **詳細分析** → 「次に各要素の色や配置について」
3. **確認・修正** → フィードバックを与えて再認識を促す

### 3. 複数の角度から質問する
- 同じ画像でも視点を変えて複数回質問
- 最初の回答に疑問があれば、具体的に指摘する

## 実践的なコツ

**医療・技術分野での例**
- 「病変を探して

Laravel throttling example



Route::get('/customer-login', App\Livewire\Auth\CustomerVerifier::class)
    ->name('customer.login')
    ->middleware('throttle:5,1'); // Allow 5 attempts per minute

Advanced Audit Configuration Policy

# Path to the registry key
$Path = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager"

#region Create Registry Audit Rule
$IdentityReference = [System.Security.Principal.NTAccount]"Everyone"
$RegistryRights = [System.Security.AccessControl.RegistryRights]::Delete -bor [System.Security.AccessControl.RegistryRights]::SetValue
$InheritanceFlags = [System.Security.AccessControl.InheritanceFlags]::ContainerInherit -bor [System.Security.AccessControl.InheritanceFlags]::ObjectI

Adding/Updating to FastAPI Endpoint

### Adding Attributes to FastAPI endopoint
- to add a new attribute to the items model to for creating/updating
  - locate `routers/v1/item.py` -> (links to) `models/item.py`
    - add the column names in here: `x04472414_NetsuiteInternalId: Mapped[str] = mapped_column(nullable=False)`
  - update `schemas.py` with the new fields
    - `json_schema_extra` displays ui example, can change here
    - most importantly, add changes right above in the class
```python
# get the attributes 
updatable_att

AGGIUNGI LINGUA (IT) AL TTITOLO DELLA PAGINA

/**
 * Modifica il titolo delle pagine nell'elenco del backend di WordPress
 * per includere il codice della lingua di WPML.
 *
 * Il codice della lingua (es. IT, ES, EN, DE) verrà aggiunto tra parentesi
 * alla fine del titolo della pagina (es. "Mia Pagina — Divi (IT)").
 * Questa modifica si applica solo nell'area di amministrazione.
 *
 * @param string  $title Il titolo originale del post/pagina.
 * @param int     $post_id L'ID del post/pagina.
 * @return string Il titolo modificato

PROTEGGI PAGINA MASTER

/**
 * Impedisce la modifica diretta di una pagina "MASTER" e ne crea una copia con le modifiche.
 *
 * Se un amministratore tenta di salvare modifiche alla pagina specificata come "MASTER",
 * le modifiche non vengono applicate alla pagina originale. Al contrario,
 * viene creata una nuova pagina (bozza per sicurezza) con il contenuto modificato,
 * e l'utente viene reindirizzato alla schermata di modifica di questa nuova pagina.
 *
 * @param array $data Array dei dati del post prima de

2200. Find All K-Distant Indices in an Array

You are given a 0-indexed integer array nums and two integers key and k. A k-distant index is an index i of nums for which there exists at least one index j such that |i - j| <= k and nums[j] == key. Return a list of all k-distant indices sorted in increasing order.
/**
 * @param {number[]} nums
 * @param {number} key
 * @param {number} k
 * @return {number[]}
 */
var findKDistantIndices = function(nums, key, k) {
    // Step 1: Find all indices where the value equals the 'key'.
    // We'll store these in an array to easily iterate over them later.
    const keyIndices = [];
    for (let i = 0; i < nums.length; i++) {
        if (nums[i] === key) {
            keyIndices.push(i);
        }
    }

    // Edge Case: If the key was never found in the array, n

Flexera App Portal Web Extension constantly uses fallback

# Flexera App Portal Web Extension Constantly Uses Fallback

## Expectation

When a computer, with the Flexera App Portal Web Extension installed, connects to the Flexera App Portal it should use the computer name returned from the Flexera App Portal Web Extension.

## Problem

When a computer, with the Flexera App Portal Web Extension installed, connects to the Flexera App Portal it returns no computer name. This causes the fallback to be used.

## Cause

Upon successful detection of the Flexer

Ctrl up and down cursor keys



Ctrl + U:
command: extension.vim_ctrl+u
keynbinding: Ctrl+u
when: editorTextFocus && vim.active && vim.use<C-u> && !inDebugRepl


Ctrl + D
command: extension.vim_ctrl+d
keybinding: Ctrl+d
when: editorTextFocus && vim.active && vim.use<C-d> && !inDebugRepl

Flexera Loader.aspx

<%@ Page Language="VB" %>

<script runat="server">

    Public ApAppRoot As String = "/ap/"
    Public Browser As System.Web.HttpBrowserCapabilities
    Public ComputerDiscoveryMethodTimeout As Integer
    Public WebExtensionTimeoutInMilliSecs As Integer = 300

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

        If System.Configuration.ConfigurationManager.AppSettings("ApAppRoot") IsNot Nothing Then
            ApAppRoot = System.Configuration.Co

gsheel change java version

sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java
export JAVA_HOME="/usr/lib/jvm/java-21-openjdk-amd64"

V-memo

// https://learnvue.co/articles/v-once-v-memo

<script setup>
import { ref } from 'vue'

const subscribers = ref(4000)
const views = ref(10000)
const likes = ref(3000)
</script>
<template>
  <div>
    <div v-memo="[subscribers]">
      <p>Subscribers: {{ subscribers }}</p>
      <p>Views: {{ views }}</p>
      <p>Likes: {{ likes }}</p>
    </div>
    <button @click="subscribers++">Subscribers++</button>
    <button @click="views++">Views++</button>
    <button @click="likes++">

Git Ignore files

# common gitignore template for most cases 
# Dependencies and Package Managers
node_modules/
vendor/
.pnpm-debug.log*

# Build Output and Distribution
build/
dist/
out/
target/
*.app
*.exe

# Environment Variables and Secrets
.env
.env.local
.env.*.local
.envrc
*.pem
*.key
secrets.json
config.local.*

# Database Files
*.sqlite
*.sqlite3
*.db

# macOS
.DS_Store
.DS_Store?

# Log Files
*.log
logs/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Cache and Temporary Files
.cache/
.parcel-cache/
.

VIM keyboard normal mode


Vim: Normal Mode Key Bindings (applies to all profiles)

{
    "window.commandCenter": 1,
    "intelliphp.inlineSuggestionsEnabled": false,
    "php.codeActions.enabled": false,
    "workbench.colorTheme": "Darcula Pycharm with Dark GUI",
    "vim.vimrc.enable": true,
    "editor.lineNumbers": "on",
    "workbench.iconTheme": "jetbrains-file-icon-theme-auto",
    "vim.autoSwitchInputMethod.enable": true,
    "keyboard.dispatch": "keyCode",
    "vim.useSystemClipboard": true,
    "vim.normalMode

2081. Sum of k-Mirror Numbers

A k-mirror number is a positive integer without leading zeros that reads the same both forward and backward in base-10 as well as in base-k. For example, 9 is a 2-mirror number. The representation of 9 in base-10 and base-2 are 9 and 1001 respectively, which read the same both forward and backward. On the contrary, 4 is not a 2-mirror number. The representation of 4 in base-2 is 100, which does not read the same both forward and backward. Given the base k and the number n, return the sum of the n smallest k-mirror numbers.
/**
 * Returns the sum of the first `n` numbers that are palindromic
 * in both base-10 and base-`k` (k-mirror numbers).
 *
 * @param {number} k - The target base (base-k)
 * @param {number} n - Number of k-mirror numbers to find
 * @return {number} - Sum of the first `n` k-mirror numbers
 */
var kMirror = function(k, n) {
    let res = [];      // Array to store valid k-mirror numbers
    let len = 1;       // Current length of decimal palindromes to generate

    // Checks if a number is a pal