function Get-SymantecLicense {
function ConvertFrom-XmlElement {
$input | ForEach-Object {
$XmlElement = $_
$PropertyNames = $XmlElement | Get-Member -MemberType Property, NoteProperty | Select-Object -ExpandProperty Name | Sort-Object
$Properties = [ordered]@{}
foreach ($PropertyName in $PropertyNames) {
if ($XmlElement."${PropertyName}" -is [array]) {
$Properties."${PropertyName}" = $XmlElem/**
* @param {number[]} nums
* @return {number[]}
*/
var minBitwiseArray = function(nums) {
const ans = new Array(nums.length);
for (let i = 0; i < nums.length; i++) {
const p = nums[i];
// The only even prime is 2.
// If p == 2, its binary is '10' (no trailing 1s),
// and there is no x such that x | (x + 1) == 2.
if (p === 2) {
ans[i] = -1;
continue;
}
// For any odd prime p > 2, the least significant <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style>
.Card {
border: 1px solid gray;
border-radius: .75rem;
padding: 1rem;
background: lightgray;
img {
max-width: 100%;
border-radius: .75rem;
anchor-name: --product-image;
}
.badge {
position: absolute;
position-anchor: --product-image;
bottom: calc(anchor(bottom) + 10px);
right: calc(a# Dell DA300 USB Hub – Mouse or Screen Not Responding on Ubuntu 24.04
## Affected Hardware
- Dell DA300 USB-C hub
- USB mouse
- External screen connected via **USB-C / DisplayPort through the hub**
- Ubuntu 24.04
---
## Issue 1 – Mouse LED ON but Cursor Does Not Move
### Symptoms
- Mouse LED is **ON**
- Mouse is connected through the **Dell DA300**
- Cursor does **not move**
- Plugging / unplugging the mouse **does nothing**
- `lsusb` output **does not change**
### Root Cause
This is a */**
* @param {number[]} nums
* @return {number[]}
*/
var minBitwiseArray = function(nums) {
const ans = new Array(nums.length);
for (let i = 0; i < nums.length; i++) {
const p = nums[i];
// The only even prime is 2, and we can quickly verify
// there is no x such that x | (x + 1) = 2.
if (p === 2) {
ans[i] = -1;
continue;
}
// For odd primes, we will find the minimal x.
// Strategy:
// - Look const isBot = /bot|crawler|spider|crawling/i.test(navigator.userAgent);
if (!isBot) {
}/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※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 (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/**
* @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.'
## 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

### CBS.log Output
.join(' ');
---
<h2 class={classes} data-position={position}><slot /></h2>
---
/*
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 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
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
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