WebShell

Detect CPU Architecture in Shell Scripts

Shows how to detect the machine’s CPU architecture in shell scripts so you can download the correct Code Server package.

6月 11, 2024

Using SSE in AI Chat

Explore SSE in AI chat apps: advantages over WebSocket, implementation with EventSource and Fetch APIs. Learn efficient real-time communication for AI chats.

4月 13, 2024

AI聊天中使用SSE

本文是作者对AI聊天中使用SSE的介绍,包括SSE的优势、服务端实现、客户端实现等,这些步骤可以帮助作者提高AI聊天的用户体验。

4月 13, 2024

xterm中的attachCustomKeyEventHandler

本文介绍如何在xterm.js中使用attachCustomKeyEventHandler监听按键执行特殊处理,包括源码解读、使用场景等实现细节,以提高xterm.js终端的链接交互体验。

4月 13, 2024

Reading Large Files with FileReader

Optimizing FileReader for 1–3 GB files: chunking, streams, workers, and avoiding main‑thread jank.

3月 31, 2024

FileReader读取大文件

本文是作者对FileReader读取大文件的介绍,包括FileReader读取大文件的优势、实现细节、相关资料等,这些步骤可以帮助作者提高FileReader读取大文件的效率。

3月 31, 2024

xterm终端写入欢迎信息

本文介绍如何在xterm.js终端中写入欢迎信息,包括服务器设置、xterm.js客户端设置等实现细节,以提高xterm.js终端的链接交互体验。

3月 29, 2024

Understanding $TERM

Explains the $TERM environment variable, common values, and how it affects terminal capabilities.

2月 25, 2024

$TERM介绍

本文是作者对$TERM介绍的介绍,包括$TERM介绍的优势、实现细节、相关资料等,这些步骤可以帮助作者提高$TERM介绍的效率。

2月 25, 2024

ssh2包介绍

本文是作者对ssh2包介绍的介绍,包括ssh2包介绍的优势、实现细节、相关资料等,这些步骤可以帮助作者提高ssh2包介绍的效率。

1月 14, 2024