vault backup: 2026-02-04 13:41:36
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"userName": "windy",
|
||||
"enableBlocklist": true,
|
||||
"blockedCommands": {
|
||||
"unix": [
|
||||
"rm -rf",
|
||||
"chmod 777",
|
||||
"chmod -R 777"
|
||||
],
|
||||
"windows": [
|
||||
"del /s /q",
|
||||
"rd /s /q",
|
||||
"rmdir /s /q",
|
||||
"format",
|
||||
"diskpart",
|
||||
"Remove-Item -Recurse -Force",
|
||||
"Remove-Item -Force -Recurse",
|
||||
"Remove-Item -r -fo",
|
||||
"Remove-Item -fo -r",
|
||||
"Remove-Item -Recurse",
|
||||
"Remove-Item -r",
|
||||
"ri -Recurse",
|
||||
"ri -r",
|
||||
"ri -Force",
|
||||
"ri -fo",
|
||||
"rm -r -fo",
|
||||
"rm -Recurse",
|
||||
"rm -Force",
|
||||
"del -Recurse",
|
||||
"del -Force",
|
||||
"erase -Recurse",
|
||||
"erase -Force",
|
||||
"rd -Recurse",
|
||||
"rmdir -Recurse",
|
||||
"Format-Volume",
|
||||
"Clear-Disk",
|
||||
"Initialize-Disk",
|
||||
"Remove-Partition"
|
||||
]
|
||||
},
|
||||
"permissionMode": "normal",
|
||||
"model": "sonnet",
|
||||
"thinkingBudget": "low",
|
||||
"enableAutoTitleGeneration": true,
|
||||
"titleGenerationModel": "",
|
||||
"show1MModel": false,
|
||||
"enableChrome": false,
|
||||
"excludedTags": [],
|
||||
"mediaFolder": "05_Attachments",
|
||||
"systemPrompt": "",
|
||||
"allowedExportPaths": [
|
||||
"~/Downloads"
|
||||
],
|
||||
"persistentExternalContextPaths": [],
|
||||
"environmentVariables": "",
|
||||
"envSnippets": [],
|
||||
"customContextLimits": {},
|
||||
"keyboardNavigation": {
|
||||
"scrollUpKey": "w",
|
||||
"scrollDownKey": "s",
|
||||
"focusInputKey": "i"
|
||||
},
|
||||
"locale": "en",
|
||||
"claudeCliPath": "",
|
||||
"claudeCliPathsByHost": {
|
||||
"MacBook-Pro.local": "/Users/windy/.local/bin/claude"
|
||||
},
|
||||
"loadUserClaudeSettings": true,
|
||||
"lastClaudeModel": "haiku",
|
||||
"lastCustomModel": "",
|
||||
"lastEnvHash": "",
|
||||
"maxTabs": 3,
|
||||
"tabBarPosition": "input",
|
||||
"enableAutoScroll": true,
|
||||
"openInMainTab": false,
|
||||
"hiddenSlashCommands": []
|
||||
}
|
||||
+18
-61
@@ -1,63 +1,20 @@
|
||||
{
|
||||
"userName": "windy",
|
||||
"enableBlocklist": true,
|
||||
"blockedCommands": {
|
||||
"unix": [
|
||||
"rm -rf",
|
||||
"chmod 777",
|
||||
"chmod -R 777"
|
||||
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(npm run | grep daily-note)",
|
||||
"Edit(06_Metadata/Templates/Daily Note Template.md)",
|
||||
"Edit(06_Metadata/Reference/DAILY_NOTE_GUIDE.md)",
|
||||
"Edit(.obsidian/plugins/quickadd/data.json)",
|
||||
"Edit(04_Archive/Projects/Airport/Chengdu/Office Test Env.md)",
|
||||
"Bash(wc:*)",
|
||||
"Bash(cat > .replace_urls.py << 'PYEOF'\n#!/usr/bin/env python3\nimport re\n\n# Read the mapping\nmappings = []\nwith open\\('.url_mapping.txt', 'r'\\) as f:\n for line in f:\n if '|' in line:\n url, filename = line.strip\\(\\).split\\('|', 1\\)\n mappings.append\\(\\(url, filename\\)\\)\n\n# Read the markdown file\nnote_path = \"00_Inbox/Clippings/2026/01/ZeroLuawesome-nanobanana-pro 🚀 An awesome list of curated Nano Banana pro prompts and examples. Your go-to resource for mastering prompt engineering and exploring the creative potential of the Nano banana pro\\(Nano banana 2\\) AI image model..md\"\n\nwith open\\(note_path, 'r', encoding='utf-8'\\) as f:\n content = f.read\\(\\)\n\n# Perform replacements\nreplacements_made = 0\nfor url, filename in mappings:\n # Escape special regex characters in URL\n escaped_url = re.escape\\(url\\)\n # Replace markdown image syntax: ![alt]\\(url\\) -> ![[path/filename]]\n pattern = r'!\\\\[\\([^\\\\]]*\\)\\\\]\\\\\\(' + escaped_url + r'\\\\\\)'\n replacement = f'![[05_Attachments/nanobanana-pro/{filename}]]'\n new_content, count = re.subn\\(pattern, replacement, content\\)\n if count > 0:\n content = new_content\n replacements_made += count\n print\\(f\"✓ Replaced {count}x: {filename}\"\\)\n\n# Write back\nwith open\\(note_path, 'w', encoding='utf-8'\\) as f:\n f.write\\(content\\)\n\nprint\\(f\"\\\\nTotal replacements: {replacements_made}\"\\)\nPYEOF\npython3 .replace_urls.py)",
|
||||
"Bash(cat > .fix_links.py << 'PYEOF'\n#!/usr/bin/env python3\nimport re\n\nnote_path = \"00_Inbox/Clippings/2026/01/ZeroLuawesome-nanobanana-pro 🚀 An awesome list of curated Nano Banana pro prompts and examples. Your go-to resource for mastering prompt engineering and exploring the creative potential of the Nano banana pro\\(Nano banana 2\\) AI image model..md\"\n\nwith open\\(note_path, 'r', encoding='utf-8'\\) as f:\n content = f.read\\(\\)\n\n# Pattern: [![[wikilink]]]\\(url\\) -> ![[wikilink]]\n# Remove the clickable link wrapper around wikilinks\npattern = r'\\\\[\\(!!\\\\[\\\\[05_Attachments/nanobanana-pro/[^\\\\]]+\\\\]\\\\]\\)\\\\]\\\\\\([^\\)]+\\\\\\)'\nreplacement = r'\\\\1'\nnew_content, count = re.subn\\(pattern, replacement, content\\)\n\nprint\\(f\"Fixed {count} clickable link wrappers\"\\)\n\nwith open\\(note_path, 'w', encoding='utf-8'\\) as f:\n f.write\\(new_content\\)\nPYEOF\npython3 .fix_links.py)",
|
||||
"Bash(ls -lh 05_Attachments/nanobanana-pro/ | awk '{if \\($5 ~ /^[0-9]+$/ && $5 < 1024\\) print $9, $5}' | head -20)",
|
||||
"Bash(find:*)",
|
||||
"Bash(find 05_Attachments/nanobanana-pro/ -type f \\\\\\( -size 0 -o -size -100c \\\\\\) | sort > .failed_images.txt && head -10 .failed_images.txt)"
|
||||
],
|
||||
"windows": [
|
||||
"del /s /q",
|
||||
"rd /s /q",
|
||||
"rmdir /s /q",
|
||||
"format",
|
||||
"diskpart",
|
||||
"Remove-Item -Recurse -Force",
|
||||
"Remove-Item -Force -Recurse",
|
||||
"Remove-Item -r -fo",
|
||||
"Remove-Item -fo -r",
|
||||
"Remove-Item -Recurse",
|
||||
"Remove-Item -r",
|
||||
"ri -Recurse",
|
||||
"ri -r",
|
||||
"ri -Force",
|
||||
"ri -fo",
|
||||
"rm -r -fo",
|
||||
"rm -Recurse",
|
||||
"rm -Force",
|
||||
"del -Recurse",
|
||||
"del -Force",
|
||||
"erase -Recurse",
|
||||
"erase -Force",
|
||||
"rd -Recurse",
|
||||
"rmdir -Recurse",
|
||||
"Format-Volume",
|
||||
"Clear-Disk",
|
||||
"Initialize-Disk",
|
||||
"Remove-Partition"
|
||||
]
|
||||
},
|
||||
"model": "haiku",
|
||||
"enableAutoTitleGeneration": true,
|
||||
"titleGenerationModel": "",
|
||||
"thinkingBudget": "off",
|
||||
"permissionMode": "normal",
|
||||
"lastNonPlanPermissionMode": "normal",
|
||||
"permissions": [],
|
||||
"excludedTags": [],
|
||||
"mediaFolder": "05_Attachments",
|
||||
"environmentVariables": "",
|
||||
"envSnippets": [],
|
||||
"systemPrompt": "",
|
||||
"allowedExportPaths": [
|
||||
"~/Downloads"
|
||||
],
|
||||
"allowedContextPaths": [],
|
||||
"keyboardNavigation": {
|
||||
"scrollUpKey": "w",
|
||||
"scrollDownKey": "s",
|
||||
"focusInputKey": "i"
|
||||
},
|
||||
"claudeCliPath": "/Users/windy/.local/bin/claude"
|
||||
}
|
||||
"deny": [],
|
||||
"ask": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user