scoop install rustup
scoop install llvm
scoop install gcc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"affinity": { | |
"nodeAffinity": { | |
"requiredDuringSchedulingIgnoredDuringExecution": { | |
"nodeSelectorTerms": [ | |
{ | |
"matchExpressions": [ | |
{ | |
"key": "karpenter.sh/nodepool", | |
"operator": "DoesNotExist" |
- Prepare profile in
~/.aws/credentials
. - Change
from_profile
andto_profile
to your profile name, then Run command.
from_profile=profile-A to_profile=profile-B sts=$(aws sts assume-role --profile "${from_profile}" --role-arn $(aws configure get "${to_profile}.role_arn") --role-session-name "${to_profile}-assume"); \
export AWS_ACCESS_KEY_ID=$(echo "${sts}" | jq -r '.Credentials.AccessKeyId'); \
export AWS_SECRET_ACCESS_KEY=$(echo "${sts}" | jq -r '.Credentials.SecretAccessKey'); \
export AWS_SESSION_TOKEN=$(echo "${sts}" | jq -r '.Credentials.SessionToken') \
export AWS_EXPIRE=$(echo "${sts}" | jq -r '.Credentials.Expiration')
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
extension="txt" | |
result=$(find . -type f -name "*.${extension}" | cut -d / -f 2 | sort -u) | |
if [[ -n "$result" ]]; then | |
while read -r item; do | |
echo "$PWD/$item" | |
done <<< "$result" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$reservedMemoryMB = Get-Content -Raw -Path "${env:APPDATA}/Docker/settings.json" | ConvertFrom-Json | Select-Object -ExpandProperty memoryMiB | |
$dockerStats = docker stats --no-stream --format "{{.MemUsage}}" | |
$totalMemoryKB = 0 | |
foreach ($line in $dockerStats) { | |
$memoryUsage = $line.Split('/')[0].Trim() | |
$value = [double]($memoryUsage -replace '[^\d.]') | |
if ($memoryUsage -match "GiB") { | |
$totalMemoryKB += $value * 1024 * 1024 | |
} elseif ($memoryUsage -match "MiB") { |
http://127.0.0.1:2375/info response for Docker Engine backend with Hyper-V or WSL2.
Windows 11 Pro 22H2
$ wsl --version
メトリクス
flowchart LR
subgraph ContainerA
Application["App"]
end
subgraph ContainerB
DatadogAgent["ddagent"]
end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
var messages = new[] { | |
"Invalid VFX Particle System. It is skipped.", | |
"WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?", | |
"WARNING: Shader Did you use #pragma only_renderers and omit this platform?", | |
"ERROR: Shader Sniper/InvisibleShadowCasterUniversalRP shader is not supported on this GPU (none of subshaders/fallbacks are suitable)", | |
"ERROR: Shader Hidden/Universal Render Pipeline/Foobar shader is not supported on this GPU (none of subshaders/fallbacks are suitable)", | |
"WARNING: Shader Unsupported: 'SineVFX/FooEffects/SG/DissolveParticleFlip' - All subshaders removed", | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m_EditorVersion: 2021.3.17f1 | |
m_EditorVersionWithRevision: 2021.3.17f1 (3e8111cac19d) |
NewerOlder