JZ
-
- https://openlogi.org/zh OpenLogi 是个开源的罗技鼠标管理工具,主打本地运行、不要账号、不要遥测,能替代臃肿的 Logi Options+。它支持按键重映射、DPI 调节、SmartShift 滚轮、按应用切换配置,还能改手势按钮和滚轮方向。比起官方软件,更轻、更自由,Windows、macOS、Linux 都能用。
- 让 Windows 顺眼又省心:我的新设备配置经验 [by Cyanrel]
https://sspai.com/post/111300 -
- ---
title: Sample Post about ChatGPT
date: '2024-02-09'
lastmod: '2024-02-10'
draft: true
summary: An article exploring the possibilities of using ChatGPT in various applications.
---
import Figure from "@/components/Figure.astro"
import figureExample from "@/assets/og-image.png"
Welcome to my first article about ChatGPT!
Today, we will explore the ways this fascinating technology can be used in different contexts.
## Inline Highlighting
Let's start with an example of inline highlighting:const message = "Hello, ChatGPT!".
## Code Blocks
Now, let's add some JavaScript and Python code that uses ChatGPT in a simple web application.// Importing ChatGPT for JavaScript import ChatGPT from 'chatgpt'; // Creating an instance of ChatGPT const chatbot = new ChatGPT(); // Example of usage in JavaScript const userInput = getUserInput(); const response = chatbot.generateResponse(userInput); displayResponse(response);# Function for generating responses using ChatGPT in Python def generate_response(user_input): chatbot = ChatGPT() response = chatbot.generate_response(user_input) return response # Example of usage in Python user_input = get_user_input() response = generate_response(user_input) display_response(response)
<Figure src={figureExample} alt="">This is a Figure component with caption</Figure>
This combined Markdown file includes examples of both JavaScript and Python code using ChatGPT.
Feel free to adjust and expand it according to your specific needs! - Cloudflare 推出 Drop:浏览器拖拽文件夹即可部署网站,无需注册
Cloudflare 发布了一款名为 Drop 的新工具,用户只需将文件夹拖入浏览器,即可在 Cloudflare 上即时部署网站,毫秒级响应全球用户。
该服务无需创建账户,部署后有效期为 60 分钟,超时自动失效,除非用户主动认领该部署。目前可通过 cloudflare.com/drop 体验。
Brayden(@BraydenWilmoth)
🌸 在花频道 · 茶馆水群 · 投稿通道 - 全球地下真菌网络总图首次绘出 总长度为地球和太阳之间距离的近十亿倍
由地下网络保护协会(SPUN)领导的新研究项目首次绘制出全球丛枝菌根真菌网络地图。这些地下菌丝总长达到 110 千万亿公里,总质量约为全人类体重的 5 倍。如果用一条线连接起来,将延伸地球和太阳之间距离的近十亿倍。它们与全球约 80% 的植物共生,每年可将约 10 亿吨碳封存在地下。地图发现,农田中的真菌密度仅为野生生态系统的一半,而拥有全球约 40% 该类真菌生物量的野生草原,正以森林 4 倍的速度转为农田。
Inside Climate News | Science
🌸 在花频道 · 备用频道 · 投稿通道 -
-
微软开源 iOS 流式 Markdown 渲染库 SwiftStreamingMarkdown
微软在 GitHub 上开源了 SwiftStreamingMarkdown,这是一个面向 iOS 的高性能 Markdown 渲染库,专为流式文本场景设计,可在文字逐段到达时保持平滑动画与滚动,适合聊天或 LLM 回复界面。
该库支持 CommonMark 与 GitHub 风格 Markdown 的核心子集,包括表格、代码块、LaTeX 公式、内联引用、任务列表等,并提供主题定制与分析追踪接口。开发者可通过 Swift Package 集成,预计为应用增加约 3 MB 下载体积,项目采用 MIT 许可证。
GitHub
🌸 在花频道 · 备用频道 · 投稿通道 -
-