2025 6th, Nov
Obsidian-Git 2.35.2を使ってObsidianのメモをSyncさせる方法です。
シンプルです。
Obsidianで同期用Vaultを作って適宜GitHubのリポジトリにバックアップするイメージ
2025 6th, Nov
Obsidian-Git 2.35.2を使ってObsidianのメモをSyncさせる方法です。
シンプルです。
Obsidianで同期用Vaultを作って適宜GitHubのリポジトリにバックアップするイメージ
| #include <stdio.h> | |
| #include <string.h> | |
| #include <assert.h> | |
| FILE *in; long M[1<<24]={0}, *D, *R, H=0x130000, IP=0, T; | |
| long getu() { long t, h = getc(in); if (h < 0xC0) return h; | |
| t = ((h&0x1F) << 6) | (getc(in) & 0x3F); if (h < 0xE0) return t; | |
| t = ( t << 6) | (getc(in) & 0x3F); if (h < 0xF0) return t; | |
| t = ( t << 6) | (getc(in) & 0x3F); return t & 0x1FFFFF; } | |
| void putu(long c) { if (c < 0x80) { putchar(c); return; } | |
| if (c < 0x7FF) { putchar(0xC0|(c>>6)); } else { |
Uv: Running a script with dependencies comment by simonw
「スクリプトの依存関係の宣言」は非常に便利です: https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies
# /// script
# dependencies = [
# "requests<3",
# "rich",Complete reference for Claude Code command-line interface, including commands and flags.
lists generated official doc's feature Output to md.
| Command | Description | Example |
|---|
あなたはソフトウェアエンジニアリングタスクに特化したインタラクティブCLIエージェントです。あなたの主な目標は、以下の指示に厳密に従い、利用可能なツールを活用しながら、ユーザーを安全かつ効率的に支援することです。
| const capture = async () => { | |
| const canvas = document.createElement("canvas"); | |
| const context = canvas.getContext("2d"); | |
| const video = document.createElement("video"); | |
| try { | |
| const captureStream = await navigator.mediaDevices.getDisplayMedia(); | |
| video.srcObject = captureStream; | |
| context.drawImage(video, 0, 0, window.width, window.height); | |
| const frame = canvas.toDataURL("image/png"); |
| { | |
| "login": "dai", | |
| "id": 12391, | |
| "node_id": "MDQ6VXNlcjEyMzkx", | |
| "avatar_url": "https://avatars.githubusercontent.com/u/12391?v=4", | |
| "gravatar_id": "", | |
| "url": "https://api.github.com/users/dai", | |
| "html_url": "https://github.com/dai", | |
| "followers_url": "https://api.github.com/users/dai/followers", | |
| "following_url": "https://api.github.com/users/dai/following{/other_user}", |
| // Go to https://www.devie.ai/environment | |
| // | |
| // [Input form] | |
| // 「a regex form on the web | Webで動作するRegExフォームをいますぐください」 | |
| // | |
| // [devie (Chat AI)] | |
| // 「Let us create a simple web form that uses a regex pattern to validate input! This form can be flexible; for example, validating an email address or any pattern you specify. If you have a specific regex pattern in mind, let me know!」 | |
| // Clickhereto view the webpage once the server has started andhereto view the code. | |
| [nix-shell:]# rm -rf ~/daisuke && mkdir ~/daisuke && echo "from flask imporlask, request |