Standardize Configuration for Software Update Deployments / Automatic Deployment Rules

Get-CMSoftwareUpdateDeployment | Set-CMSoftwareUpdateDeployment -DownloadFromMicrosoftUpdate $true -AllowUseMeteredNetwork $true -ProtectedType NoInstall -UnprotectedType NoInstall

Popula Carta Recusa Sinistro

 SELECT DISTINCT sin.idesin
          ,ter.nomter
          ,ter_rec.nomter nomterrec
          , 'Olá, '||ter.nomter olaNome
          ,ter_rec.direc direc
          ,ter_rec.bairro bairro
          ,ciu_rec.descciudad descciudad
          ,ter_rec.codestado codestado
          ,est_rec.descestado descestado
          ,ter_rec.zip zip
          ,sin.codcli
          ,sin.idepol
          ,sin.idesin
          ,sin.numsin
          ,sin.textmotvanul
          ,pol.numpol
        

Popula Carta Recusa Sinistro

 SELECT DISTINCT sin.idesin
          ,ter.nomter
          ,ter_rec.nomter nomterrec
          , 'Olá, '||ter.nomter olaNome
          ,ter_rec.direc direc
          ,ter_rec.bairro bairro
          ,ciu_rec.descciudad descciudad
          ,ter_rec.codestado codestado
          ,est_rec.descestado descestado
          ,ter_rec.zip zip
          ,sin.codcli
          ,sin.idepol
          ,sin.idesin
          ,sin.numsin
          ,sin.textmotvanul
          ,pol.numpol
        

ipv6

# docker 开启 ipv6

```
docker network create --driver bridge --ipv6=true --subnet=<ipv6> ipv6_network

docker run -d \
    --network ipv6_network \
    <image>
```

ipv6

# ipv6

查看 ipv6 地址

```
ip -6 addr show [device]
```

apt install lubuntu

    ventoy-*.tar.gz: This uses a wildcard * to match the filename, so it will extract the ventoy-x.x.xx-linux.tar.gz file regardless of the version number.

After extraction, you will have a new directory named something like ventoy-1.0.xx in your Downloads directory.

Navigate into the Ventoy Directory:

      
cd ventoy-*

    

IGNORE_WHEN_COPYING_START
Use code with caution.Bash
IGNORE_WHEN_COPYING_END

This will change your current directory to the newly extracted Ventoy directory.

Run the

TH Calendar datepicker

.date-picker {
    width: 100%;
    height: 25px;
    padding: 0;
    border: 0;
    line-height: 25px;
    padding-left: 10px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    color: #303030;
    position: relative;
    z-index: 2;
}



.date-picker-wrapper {
    position: absolute;
    z-index: 5000000;
    color: $c_txt;
    border: 1px solid #E3E3E3;
    background: $c_white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.1);
   

2206. Divide Array Into Equal Pairs

You are given an integer array nums consisting of 2 * n integers. You need to divide nums into n pairs such that: Each element belongs to exactly one pair. The elements present in a pair are equal. Return true if nums can be divided into n pairs, otherwise return false.
/**
 * @param {number[]} nums
 * @return {boolean}
 */
var divideArray = function(nums) {
    // Create a map to store the frequency of each number
    let frequencyMap = new Map();
    let length = nums.length;

    // Populate the frequency map
    for (let i = 0; i < length; i++) {
        frequencyMap.set(nums[i], (frequencyMap.get(nums[i]) || 0) + 1);
    }

    // Check if all frequencies are even
    for (const count of frequencyMap.values()) {
        if (count % 2 !== 0) {
            /

Arbitrary props / variants / styling by parent

<!-- https://play.tailwindcss.com/yyRSjWdDIv -->

<section class="m-5 *:mb-2 *:border *:text-red-400 [&_p]:text-blue-500">
  <div>text1</div>
  <div>text2</div>
  <div>text3</div>
  <div>text4</div>
  <div>text5</div>
  <p>Para 1</p>
  <p>Para 2</p>
  <div>text 6</div>
</section>

hot to check in EAS which user I am logged in with?

eas whoami

zsh_setup

>> cat .zshrc
# Load vcs information
autoload -Uz vcs_info
precmd() { vcs_info }

# Format the vcs_info_msg_0_ variable
COLOR_DEF=$'\e[0m'
COLOR_GIT=$'\e[38;5;39m'
zstyle ':vcs_info:git:*' formats ${COLOR_GIT}'(%b)'${COLOR_DEF}

# Setup the prompt with git branch name
setopt PROMPT_SUBST
PROMPT='%F{green}%*%f %F{yellow}${PWD/#$HOME/~}%f ${vcs_info_msg_0_} exit code: %?
>> '


func() {
    `ls -la`='ls -alG'
}

alias func=`ls -la`

export EDITOR=/usr/local/bin/nano
export VISUAL="$EDITOR"

2594. Minimum Time to Repair Cars

ou are given an integer array ranks representing the ranks of some mechanics. ranksi is the rank of the ith mechanic. A mechanic with a rank r can repair n cars in r * n2 minutes. You are also given an integer cars representing the total number of cars waiting in the garage to be repaired. Return the minimum time taken to repair all the cars. Note: All the mechanics can repair the cars simultaneously.
/**
 * @param {number[]} ranks
 * @param {number} cars
 * @return {number}
 */
var repairCars = function (ranks, cars) {
    // Initialize the binary search range:
    // 'left' represents the minimum possible time (1 minute).
    // 'right' is the maximum possible time (if the slowest mechanic repairs all cars).
    let left = 1;
    let right = Math.min(...ranks) * cars * cars;

    /**
     * Helper function to determine if it's possible to repair all cars
     * within the given time `mid`.

ReentrantLock Simple Thread Counter

This code creates multiple threads with unique ID numbers using Java's ReentrantLock for thread safety. The program manages a shared counter variable by explicitly locking access when assigning thread IDs. It creates and starts multiple threads, waits for them to finish their work, then prints a completion message. The program demonstrates: Using ReentrantLock for explicit thread synchronization Proper lock handling with try/finally blocks Creating and managing multiple threads
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.ReentrantLock;

public class SimpleSyncCounter implements Runnable {
    private int taskNo = 0;
    private static int counter = 0;
    private static final ReentrantLock lock = new ReentrantLock();

    public SimpleSyncCounter() {
        lock.lock();
        try {
            taskNo = counter++;
        } finally {
            lock.unlock();
        }
    }
    
    @Override
    public void run() {
        

AtomicInteger Simple Thread Counter

This code creates multiple threads with unique ID numbers using Java's AtomicInteger for thread safety. Each thread gets its own number without needing explicit synchronization blocks. The program starts all threads, waits for them to finish, then prints a completion message. The program demonstrates: Using AtomicInteger for thread-safe operations Creating and running multiple threads Waiting for all threads to complete their work
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

public class SimpleSyncCounter implements Runnable {
    private int taskNo = 0;
    private static final AtomicInteger counter = new AtomicInteger(0); // AtomicInteger to handle thread-safe increment

    public SimpleSyncCounter() {
            taskNo = counter.getAndIncrement(); // Atomically get and increment the counter        
    }
    @Override
    public void run() {
        System.out.

Synchronized Simple Thread Counter

This code creates and runs multiple threads with unique ID numbers. It uses synchronization to make sure each thread gets its own number without conflicts. The main program starts all threads, waits for them to finish, then prints a completion message. The program shows how to: Create threads that do work with run() method Give each thread a unique ID Wait for threads to finish>
import java.util.ArrayList;
import java.util.List;

public class SimpleSyncCounter implements Runnable {
    private int taskNo = 0;
    private static int counter = 0;

    public SimpleSyncCounter() {
        synchronized (SimpleSyncCounter.class) {
            taskNo = counter++;
        }
    }
    @Override
    public void run() {
        System.out.println("Task " + taskNo + " is running");
    }

    public static void main(String[] args) {
        List<Thread> threadList = new ArrayList<

CSSの@propertyを使用する際の記述箇所

<div class="container">
</div>