随笔分类 - 随笔
win最新版gcc下载地址
摘要:手动 https://winlibs.com/ https://github.com/brechtsanders/winlibs_mingw/releases https://jmeubank.github.io/tdm-gcc/ https://github.com/niXman/mingw-bu
rustup toolchains
摘要:默认的toolchain是stable-x86_64-pc-windows-msvc 也可以使用stable-x86_64-pc-windows-gnu gnu结尾的需要mingw32 默认的需要vs c++ build tool rustup install <toolchain> # toolc
windows配置graalvm
摘要:graalvm-java-17下载地址 setx /M PATH "C:\Progra~1\Java\<graalvm>\bin;%PATH%" setx /M JAVA_HOME "C:\Progra~1\Java\<graalvm>"
vue3 watch监听多个数据
摘要:第一个参数返回ref数组即可 <script setup lang="ts"> const cnt1 = ref(0) watch(() => [cnt1, cnt2], () => console.log(cnt1, cnt2)) </script> <
一行命令删除所有node_modules
摘要:linux find . -name "node_modules" -type d -prune -exec rm -rf '{}' + windows FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rm -rf "%d"
ts 自定义日期字符串类型
摘要:type oneToNine = 1|2|3|4|5|6|7|8|9; type zeroToNine = 0|1|2|3|4|5|6|7|8|9; type YYYY = `19 {zeroToNine}` | `20 {zeroToNine}`