会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
十三山入秋
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2025年6月20日
【fetch】
摘要: JavaScript 中的 fetch() 是一个现代的网络请求接口,用于异步地获取资源,替代传统的 XMLHttpRequest,基于 Promise,语法简洁,易于使用和扩展。 基本用法 fetch(url) .then(response => response.json()) // 解析响应为
阅读全文
posted @ 2025-06-20 08:56 十三山入秋
阅读(84)
评论(0)
推荐(0)
2025年6月18日
【react: create】
摘要: cd frontend pnpm create vite@latest . -- --template react-ts pnpm install
阅读全文
posted @ 2025-06-18 20:14 十三山入秋
阅读(10)
评论(1)
推荐(0)
2025年6月17日
【react常见hooks】
摘要: 除了 React 官方内置的常用 Hooks(像 useState、useEffect、useContext、useReducer、useCallback、useMemo、useRef 等 ),开发者还能自己写 自定义 Hooks(把重复逻辑封装成 Hook ,方便复用 )。 useState im
阅读全文
posted @ 2025-06-17 16:25 十三山入秋
阅读(27)
评论(3)
推荐(0)
【书法:行书】
摘要: 个人行书体悟 凌空起笔,(势在笔先) 触纸成形,(自有形状) 比如游龙,(阻尼不可过大) 少有蛇尾,
阅读全文
posted @ 2025-06-17 12:37 十三山入秋
阅读(15)
评论(0)
推荐(0)
2025年6月16日
【react: createContext 全局变量】
摘要: import { createContext, useContext } from "react"; export default function App5() { return ( <div> <Section> <Heading>标题1</Heading> <Section> <Heading
阅读全文
posted @ 2025-06-16 22:26 十三山入秋
阅读(17)
评论(0)
推荐(0)
2025年6月15日
【uv】
摘要: uv 的使用方法。 是的,使用 uv venv .venv 创建虚拟环境后,.venv 目录中确实没有传统的 pip 命令。uv 是一个更快的 Python 包管理工具,它使用自己的命令来替代 pip。 以下是使用 uv 的主要命令: 安装包: uv pip install <package_nam
阅读全文
posted @ 2025-06-15 21:00 十三山入秋
阅读(56)
评论(0)
推荐(0)
【jupyter】
摘要: 方法一 conda install jupyterlab conda install ipykernel python -m ipykernel install --user --name dv3 --display-name "Python (dv3)" # 如果你激活了一个叫 dv3 的虚拟环境
阅读全文
posted @ 2025-06-15 00:42 十三山入秋
阅读(61)
评论(0)
推荐(0)
2025年6月14日
【dpkg】
摘要: dpkg 参数 全称 作用 -i --install 安装 .deb 包 -r --remove 卸载软件(保留配置) -P --purge 完全卸载(删除配置) -t --test 测试模式(不实际操作) -l --list 列出已安装的包 -s --status 查看包状态(如版本、依赖) #
阅读全文
posted @ 2025-06-14 20:33 十三山入秋
阅读(17)
评论(0)
推荐(0)
【github多账户管理】
摘要: 只要修改一个配置文件 ~/.ssh/config # 1 Host github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa # 2 Host github.com-hugh HostName github.com User
阅读全文
posted @ 2025-06-14 13:19 十三山入秋
阅读(10)
评论(0)
推荐(0)
【开启代理后使用ssh协议连接GitHub失败的解决方法: kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 xxxx】
摘要: 报错示例 kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 xxxx 解决方法 修改 ~/.ssh/config 参考:https://docs.github.co
阅读全文
posted @ 2025-06-14 12:55 十三山入秋
阅读(104)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告