IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
相关标签
作者:
Mengke's blog
1837
source
关注
love
0
me@mengke.me (Mengke)
发表于
2025-03-29 00:00:00
Model Context Protocol (MCP) 快速开始
探索 MCP 协议如何让 AI 从"回答问题"进化为"执行任务"。本文详细介绍了 MCP 的概念、架构和实现原理,并通过 Github MCP 的实例,展示了 AI 直接操作代码仓库的强大能力... ...
继续阅读 (5)
love
0
me@mengke.me (Mengke)
发表于
2025-02-09 00:00:00
An elegant solution for implementing optional property types using TypeScript
How to use TypeScript type tools to implement interface definitions with some optional properties to improve code maintainability and flexibility. ...
继续阅读
love
0
me@mengke.me (Mengke)
发表于
2025-01-16 00:00:00
2024 年终总结
...
继续阅读
love
0
me@mengke.me (Mengke)
发表于
2024-11-29 00:00:00
Quickly Create a Fullscreen WebView with Autoplay Support for Testing
Learn how to create a fullscreen WebView in iOS that allows autoplay videos, perfect for debugging and testing web pages. ...
继续阅读 (1)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Check if a string is a valid color
Validate strings to ensure they represent valid colors in various formats (hex, RGB, and named colors). ...
继续阅读 (4)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Simple Event-Emitter/PubSub pattern
A lightweight pub/sub mechanism to handle custom events without adding a full-blown library. ...
继续阅读 (3)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Find which process is running on a certain port and kill it
Identify and terminate processes running on a specific port in your dev environment. ...
继续阅读 (1)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Markdown Code block\'s basic and advanced syntaxes
A detailed overview of Markdown code block syntaxes, covering both basic and advanced use cases. ...
继续阅读 (1)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Common npm commands to use locally
Essential npm commands for local development, covering package installation, version control, and script management. ...
继续阅读 (3)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
Pnpm aliases
How to install and update pnpm, create a shell alias for it, and upgrade project dependencies efficiently. ...
继续阅读 (1)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
How to safely rename a case sensitive file/directory in a git repo?
Safely rename case-sensitive files or directories in a Git repository to avoid conflicts or case inconsistencies. ...
继续阅读 (3)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
A custom hooks to use an async effect
Build a custom React hook to use asynchronous effects inside functional components. ...
继续阅读 (3)
love
0
me@mengke.me (Mengke)
发表于
2024-10-18 00:00:00
A custom hooks to use local storage state
Utilize a custom hook that syncs state with local storage, allowing for persistent state between sessions. ...
继续阅读 (3)
love
0
me@mengke.me (Mengke)
发表于
2024-04-07 00:00:00
对于网页中体积较大的静态资源如何进行预加载?在 Chrome 中可以使用 prefetch, 而在 Safari 中可以使用 Worker 新起一个线程进行加载 … ...
继续阅读 (32)
love
0
me@mengke.me (Mengke)
发表于
2024-01-04 00:00:00
2023 年终总结
稍纵即逝的一年即将结束。今年我也顺应潮流,记录年终总结。过去,我对「年终总结」不屑一顾,认为人生就是不断前行,有欢笑有泪水,一切都将过去。年纪稍长,渐渐明白,一些事情漫不经心就可能被遗忘,需要人为地留下痕迹... ...
继续阅读 (39)
love
0
me@mengke.me (Mengke)
发表于
2023-12-20 00:00:00
WebGL 学习笔记(一)
稍纵即逝的一年即将结束。今年我也顺应潮流,记录年终总结。过去,我对「年终总结」不屑一顾,认为人生就是不断前行,有欢笑有泪水,一切都将过去。年纪稍长,渐渐明白,一些事情漫不经心就可能被遗忘,需要人为地留下痕迹... ...
继续阅读 (36)
love
0
me@mengke.me (Mengke)
发表于
2023-12-07 00:00:00
2023 年终总结
稍纵即逝的一年即将结束。今年我也顺应潮流,记录年终总结。过去,我对「年终总结」不屑一顾,认为人生就是不断前行,有欢笑有泪水,一切都将过去。年纪稍长,渐渐明白,一些事情漫不经心就可能被遗忘,需要人为地留下痕迹... ...
继续阅读 (43)
love
0
me@mengke.me (Mengke)
发表于
2023-10-25 00:00:00
如果真正做到无感知,那我们就不能借助浏览器或者系统系统的能力了。我们能做的就只能是通过js去操作了。要在页面内直接录制视频似乎并不容易,没有现成的开源库以使用,也没有很好的想法。那我们换一个思路... ...
继续阅读 (31)
love
0
me@mengke.me (Mengke)
发表于
2023-09-30 00:00:00
Getting Spotify token to display now playing track on your website
Retrieve a Spotify access token to display the currently playing track on your website or application. ...
继续阅读 (1)
love
0
me@mengke.me (Mengke)
发表于
2023-04-12 00:00:00
Pinia 快速上手指南
Pinia.js 是新一代的状态管理器,由 Vue.js团队中成员所开发的,因此也被认为是下一代的 Vuex,即 Vuex5.x,在 Vue3.0 的项目中使用也是备受推崇。 ...
继续阅读 (39)
1/1