BeRealのロゴみたいなやつ(参考)
This file contains hidden or 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
A::B is a system with 4 tokens: `A#`, `#A`, `B#` and `#B`. | |
An A::B program is a sequence of tokens. Example: | |
B# A# #B #A B# | |
To *compute* a program, we must rewrite neighbor tokens, using the rules: | |
A# #A ... becomes ... nothing | |
A# #B ... becomes ... #B A# |
This file contains hidden or 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
if (import.meta.env.DEV) { | |
const script = document.createElement('script') | |
script.src = 'https://cdn.jsdelivr.net/npm/eruda' | |
// @ts-ignore global eruda | |
script.onload = () => globalThis.eruda.init() | |
document.body.append(script) | |
} |
This file contains hidden or 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
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; |
This file contains hidden or 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 | |
# Denoのインストール | |
curl -fsSL https://deno.land/x/install/install.sh | sh | |
# .bashrcまたは.zshrcにパスを追加 | |
if [ -n "$ZSH_VERSION" ]; then | |
echo 'export DENO_INSTALL="$HOME/.deno"' >> ~/.zshrc | |
echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> ~/.zshrc | |
source ~/.zshrc |
This file contains hidden or 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
/** | |
* @prompt | |
* 指定されたTypeScriptのファイルから型定義とimportを抽出します | |
* $ deno run -A getDeclaration.ts <target> | |
*/ | |
import ts from "npm:[email protected]"; | |
export function getSourceSummary(filePath: string): string { | |
const compilerOptions: ts.CompilerOptions = { |
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1
- Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
- Select "Create new custom chat mode file"