Recent Posts
前端周刊1-EsLint和TypeScript的区别
本文探讨了ESLint和TypeScript的区别与协同使用。ESLint是静态分析工具,用于强制执行最佳实践;TypeScript则侧重于类型安全。两者功能互补,在TypeScript项目中推荐结合使用,通过typescript-eslint插件整合配置,以充分发挥各自优势...
2025-02-11
240108Note: 编译01Studio Pydrone firmware固件遇到的问题
Read More
记录了使用 esp-idf 和 MicroPython 的流程,包括代码克隆、环境初始化、固件编译及常见问题解决方案。此外,还涵盖了在 WSL 和 VMware 中配置 Clash 代理的步骤,确保网络连接的顺畅。...
2025-01-08
240715Note: Antd select
Read More
1. 如何局部修改 Antd Select组件 placeholder 的颜色 less,在子组件内部写 global 样式 :global {
.ant-select-selection-placeholder {
color: #0088f9;
}...
2024-07-15
240614Note: debounce and throttle function of typescript version
Read More
export function debounce<F extends(...rest: any[]) => void>(
fn: F, delay = 200): (this: ThisType<F>, ...args: Parameters<F>) => void {
let timer:...
2024-06-14
240428Note:VM VirtualBox && Ubuntu
Read More
强制拔下挂载到VMBox上的U盘,导致下次无法挂载上,提示busy 具体的报错信息如下: USB device Ralink 802.11 n Wlan with UUID {xxxx} is busy with a previous request. Please try again later....
2024-04-28
240428Note:Export Jetson Nano Image
Read More
after you feel that your nano system is mature, takes out your sd card from nano insert your sd card to a nano reader Go to Ubuntu linux system (can b...
2024-04-28
Read More