TS 之 interface 与 type 区别
相同之处 都可以描述一个对象或者函数 interface interface User { name: string age: number}interface SetUser { (name: string, age: number): voi…
Windows 端口查询
查看端口占用: Windows: netstat -aon|findstr "80" Linux: netstat -aon|grep "80" 查看进程: tasklist|findstr "2448" …
让 pacman 无处不在
不同的 linux 发行版有不同的包管理软件,比如 Debian 系的 Linux 使用 dpkg/apt-get,Redhat 系的 Linux 使用 rpm/yum,MACOS 使用 homebrew,Archli…
Lodash 中的 filter() 函数介绍和使用
给定一个数组 arr, 洛达什 filter()函数 返回一个包含所有元素的数组 arr函数返回一个 真 值。 const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9]; _.filter(a…
- 共 1 页
- 1