Redirect path checker

Ayima Redirect Path: https://chromewebstore.google.com/detail/redirect-path/aomidfkchockcldhbkggjokdkkebmdll?hl=en

Shopify product url parameters

- _pos: This parameter indicates the position of the search result within the overall search listing. In your example, _pos=2 suggests that the particular search result is the second item in the list.
- _sid: This parameter is a unique identifier for the search session. It helps Shopify track the specific search session and the related actions taken by the user.
- _ss: This parameter represents the source of the search query. It provides information about how the search was initiated, such as th

Restore-CBSComponentRegistry

DISM may exit with error code 2 and the CBS.log file contains ```STATUS_OBJECT_NAME_NOT_FOUND``` errors. ```2025-11-26 08:10:43, Error CSI 00000008 (F) STATUS_OBJECT_NAME_NOT_FOUND #3055437# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = 0, key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0xe0a97fb120->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[213]'\Registry\Machine\COMPONENTS\DerivedData\VersionedIndex\10.0.22621.6120 (WinBuild.160101.0800)\ComponentFamilies\wow64_microsoft-windows-i..-wow64-setupdll0010_31bf3856ad364e35_none_50f54432bcfb1c52\v!10.0.22621.1'; a:(OBJ_CASE_I[gle=0xd0000034]```
#region RegistryHive
function Mount-RegistryHive {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
        $KeyName
        ,
        [Parameter(Mandatory = $true, Position = 1, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
        $FileName
    )

    begin {
        Add-Type -Name LoadHive -NameSpace RegistryHelper -MemberDefinition @"

[DllImport("adva

Absinthe Opentelemetry Instrumentation

#!/usr/bin/env python3
"""
Apply OpenTelemetry instrumentation to Absinthe dependencies.
Faster and more reliable than shell scripts with complex regex patterns.
"""

import os
import sys
import subprocess
import re
from pathlib import Path


def apply_resolution_ex():
    """Apply patches to deps/absinthe/lib/absinthe/phase/document/execution/resolution.ex"""
    print("📝 Patching resolution.ex...")

    file_path = "deps/absinthe/lib/absinthe/phase/document/execution/resolution.ex"
    with op

main.py


def main():
    pass


if __name__ == '__main__':
    main()

cssで市松模様

<div class="pattern"></div>

HTTPリクエストヘッダーの長さがインフラで制御されている長さより長いと431エラーになる

https://hoge.com?q=ここに1万文字とか入ってくる場合

メールアドレスの長さは255文字までというバリデーションの根拠

RFC 3696 (メールアドレスの長さについて解説)
https://datatracker.ietf.org/doc/html/rfc3696
RFC 5321 (SMTP - Simple Mail Transfer Protocol)
https://datatracker.ietf.org/doc/html/rfc5321
RFC 5322 (メールアドレスのフォーマット定義)
https://datatracker.ietf.org/doc/html/rfc5322

DL3 Project - seen


tail -n+2 ${PRJ_DIR}/All_Identifiers_OCP_Data.csv | \
awk 'BEGIN { FS = OFS = "," }
           { if (seen[$2$3$4$5]=="") seen[$2$3$4$5]=$1 ;\
             print $1, seen[$2$3$4$5]}' > ${PRJ_DIR}/linkage/dedup/duplicate_map

Build a key out of 4 fields
key = $2$3$4$5
Check if this key has been seen before
if (seen[key] == "")
    seen[key] = $1
This means:
✔ If this exact combination of fields 2+3+4+5 has NOT been seen before
Store field1 as the first ID associated with this combination.
✔ If it

DNSについて学んだこと

# 公式用語

ここで言う公式用語は、RFCやIANA・ICANNなどで一般的に使われている用語とする。  

## ドメイン

`example.com` `com` `example.co.jp` `co.jp` `jp` のように、ドットで区切られた階層構造のこと。  
`example.co.jp` だけがドメインじゃなくて、 `co.jp` `jp` `com` もドメインと呼ぶ。  

## ルートドメイン

`example.com.` `com.` `example.co.jp.` `co.jp.` のように、本当はドメインの最後についている「.」のこと。  
最後の「.」以外はドメインではなく、ただの区切り文字で全く意味が違うので注意。  
ちなみに、例えば `example.com.` の場合 `com` はあくまで `com` であって `.com` などではないし、 `example` も `example.` ではない。  

## ラベル

`example.co.jp` でいうと `example` `co` `jp` と

move all files to folders seperated by year of file creation

# move all files
find . -type f -exec bash -c 'mkdir -p "${1%/*}/$(date -r "$1" "+%Y")"; mv "$1" "${1%/*}/$(date -r "$1" "+%Y")/"' _ {} \;
# copy files
find . -type f -exec bash -c 'mkdir -p "${1%/*}/$(date -r "$1" "+%Y")"; cp "$1" "${1%/*}/$(date -r "$1" "+%Y")/"' _ {} \;

00000004 Install-map entry missing component key in populate

## Entry Syntax
```00000004 Install-map entry missing component key in populate [l:COMPONENT_NAME_LENGTH]'COMPONENT_NAME' [l:COMPONENT_VERSION_LENGTH]```

## Meaning
The ```v!COMPONENT_VERSION``` key is missing under ```HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\...\ComponentFamilies\COMPONENT_NAME```.

00000003 PopulateComponentFamilies ignoring identity-less key

## Entry Syntax
```00000003 PopulateComponentFamilies ignoring identity-less key [l:COMPONENT_NAME_LENGTH]'COMPONENT_NAME'```

## Meaning
The ```identity``` name is missing under ```HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\...\ComponentFamilies\COMPONENT_NAME```.

1015. Smallest Integer Divisible by K

Given a positive integer k, you need to find the length of the smallest positive integer n such that n is divisible by k, and n only contains the digit 1. Return the length of n. If there is no such n, return -1. Note: n may not fit in a 64-bit signed integer.
/**
 * @param {number} k
 * @return {number}
 */
var smallestRepunitDivByK = function(k) {
    // Step 1: Handle impossible cases
    // Any number made only of '1's is odd and not divisible by 2 or 5.
    // So if k has a factor of 2 or 5, return -1 immediately.
    if (k % 2 === 0 || k % 5 === 0) {
        return -1;
    }

    // Step 2: Initialize variables
    // remainder will track (current number % k) without building the full number.
    // length will track how many '1's we've added so

sourcetree使用技巧

#sourcetree使用技巧

- ## 查看文件的提交历史
选中文件右键 -> `查看选中的修改日志`

git总结

# git总结

## `git reset --mixed <commit>`、`git reset --soft <commit>`、`git reset --hard <commit>`区别
![](https://static.dingtalk.com/media/lALPM3Z1A3iFsXvNAbzNBm4_1646_444.png)