TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:
Most projects need these tsconfig changes:
| #!/bin/bash | |
| # ============================================================================= | |
| # difit-auto-detect.sh | |
| # Automatically detects git state and opens appropriate diff view | |
| # with difit in a cmux browser split pane. | |
| # | |
| # Dependencies: | |
| # - cmux https://cmux.app/ | |
| # - difit https://github.com/yoshiko-pg/difit |
TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:
Most projects need these tsconfig changes:
| [alias] | |
| sweep-branch = "!git for-each-ref refs/heads/ --format=\"%(refname:short)\" | while read branch; do [ \"$branch\" = main ] || [ \"$branch\" = master ] && continue; git rev-parse --abbrev-ref HEAD | grep -qx \"$branch\" && continue; mergeBase=$(git merge-base main \"$branch\" 2>/dev/null) || continue; treeCommit=$(git commit-tree \"$(git rev-parse \"$branch^{tree}\")\" -p \"$mergeBase\" -m _); cherry=$(git cherry main \"$treeCommit\" 2>/dev/null); case \"$cherry\" in \"-\"*) git branch -D \"$branch\" ;; esac; done" |
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| # Create a new worktree and branch from within current git directory. | |
| ga() { | |
| if [[ -z "$1" ]]; then | |
| echo "Usage: ga [branch name]" | |
| exit 1 | |
| fi | |
| local branch="$1" | |
| local base="$(basename "$PWD")" | |
| local path="../${base}--${branch}" |
| name | description | forkContext | model |
|---|---|---|---|
fork-context |
Fork the context of the conversation and return its full analysis verbatim. |
true |
inherit |
You are an agent that forks the context of the conversation and returns its full analysis verbatim.
Your job:
本稿ではReact Server Componentsに関する基礎的な理解を深める。
| 'use client'; | |
| import * as z from 'zod'; | |
| import { zodResolver } from '@hookform/resolvers/zod'; | |
| import { useForm } from 'react-hook-form'; | |
| import { Button } from '@/app/components/ui/button'; | |
| import { | |
| Form, | |
| FormControl, | |
| FormField, |
| あまり大きな声で言えないのですが | |
| あまり知られてないのですが | |
| ありえない | |
| あんまり言いたくないけど | |
| いい加減にしてほしい | |
| いい歳してお恥ずかしいのですが | |
| 悪用厳禁なのですが | |
| 安心してください | |
| 言いたくない過去を言うと | |
| 言わせてください |
{ "compilerOptions": { "types": ["node"], // @types are no longer auto-discovered (see §1.6)