all(25) -
gpg --list-secret-keys --keyid-format LONG gpg: skipped "name <[email protected]>": secret key not available gpg: signing failed: secret key not available error: gpg failed to sign the data fatal: failed to write commit object 解决方法: git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
#TypeScript TS - Feb 21, 2025安装 prisma client pnpm install @prisma/client 生成 Prisma Client 安装 @prisma/client 后,需要生成 Prisma Client。运行以下命令: npx prisma generate 这会根据你的 schema.prisma 文件生成 Prisma
#TypeScript TS - Feb 21, 2025import { Link } from "next/link" 在项目中用加上curly braces会导致报错: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
#git Github Verified Commit Signature - Feb 14, 2025Supported GPG key algorithms GitHub supports several GPG key algorithms. If you try to add a key generated with an unsupported algorithm, you may encounter an error. RSA ElGamal DSA ECDH ECDSA EdDSA
#python Python Replace Space Char - Feb 14, 2025UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xad in position 211: illegal multibyte sequence
#python Python Replace Space Char - Feb 14, 2025def _trim(s: str): return s.replace(' ', '').replace('.', '').strip() s.replace(' ', '')的确删除了句中的空格,但并没有把字符串末尾的空格删去,所以我不得不加了一个
#python Python Replace Space Char - Feb 14, 2025python包或模块的全局代码会在导入时自动运行。比如,包中的类、函数或者任何变量在导入时都会被初始