There are 2 registry keys you need to remove.
HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode
HKEY_CLASSES_ROOT\Directory\shell\AnyCode
var draftBasePath = @"{YOUR_GITHUB_PATH}/blogdraft_entries\"; | |
var basePath = @"{YOUR_GITHUB_PATH}/entries/{YOUR_ACCOUNT}.hatenablog.com/entry/"; | |
var targetMonths = new[] { | |
// 持ってきたい日付を並べる | |
"2025/03" | |
}; | |
var titlePattern = new Regex("201[2,3]/[0-9]{2}/[0-9]{2}/[0-9]{6}", RegexOptions.Compiled); | |
var drafts = Directory.EnumerateFiles(draftBasePath, "*.md"); | |
foreach (var draft in drafts) |
マークダウンの表示用テキスト | |
# 見出し1 | |
## 見出し2 | |
### 見出し3 | |
#### 見出し4 |
// ConsoleAppFramework v4 | |
using ConsoleAppFramework; | |
// # OK | |
// # Output: foo | |
// args = ["--msg", "foo"]; | |
// # OK | |
// # Output: foo--hello bar |
using System.Collections.Concurrent; | |
using System.Text.Json; | |
using System.Text.Json.Serialization; | |
using System.Xml.Linq; | |
var path = @"output.json"; | |
var bytes = File.ReadAllText(path); | |
var packages = JsonSerializer.Deserialize<DotnetCliListPackages>(bytes); | |
ArgumentNullException.ThrowIfNull(packages); | |
var licenses = new ConcurrentBag<DotnetLicense>(); |
#!/bin/bash | |
set -euo pipefail | |
terraform graph -type=apply | docker run --rm -i --name terraform-graph-beautifier ghcr.io/pcasteran/terraform-graph-beautifier:latest-linux --embed-modules=false --output-type=cyto-html > config1.html |
using System; | |
using System.Linq; | |
using System.Text; | |
using Amazon; | |
using Amazon.Runtime; | |
using Amazon.Runtime.CredentialManagement; | |
using Amazon.Runtime.Internal; | |
using Amazon.Runtime.Internal.Auth; | |
using Amazon.Runtime.Internal.Util; | |
using Npgsql; |
mkdir ./run && cd ./run
# copy files into directory...
npm install octokit
node ./app.js
#/bin/bash | |
set -euo pipefaiil | |
echo "| Name | Path | Schedule (UTC) |" | |
echo "| ---- | ---- | ---- |" | |
json=$(gh workflow list --json name,path,state --limit 300) | |
echo "$json" | jq -c '.[] | select(.state == "active") | {name: .name, path: .path}' | sort | while read -r item; do | |
name=$(echo "$item" | jq -r '.name') | |
path=$(echo "$item" | jq -r '.path') | |
if [[ ! -f "$path" ]]; then continue; fi |