上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页
摘要: 实例,每隔5秒打印 hello @echo off :start echo hello choice /t 5 /d y /n >nul goto start 阅读全文
posted @ 2021-06-06 13:05 vaen 阅读(98) 评论(0) 推荐(0)
摘要: ERROR_MISSING_DELEGATE: no decode delegate for this image format `' @ error/constitute.c/ReadImage/572 环境问题,没有合适的delegate convert -version 注意 Delegate 阅读全文
posted @ 2021-06-05 00:07 vaen 阅读(1566) 评论(0) 推荐(0)
摘要: https://www.geek-workshop.com/thread-1860-1-1.html 阅读全文
posted @ 2021-06-03 22:16 vaen 阅读(34) 评论(0) 推荐(0)
摘要: 从yum安装GhostScript(不建议) yum install -y ghostscript 执行命令 gs -dSAFER -dBATCH -dNOPAUSE -r250 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=jpeg -sOutp 阅读全文
posted @ 2021-05-27 13:17 vaen 阅读(1273) 评论(0) 推荐(0)
摘要: bug发现工具 https://github.com/go-delve/delve/blob/master/Documentation/installation/README.md 压测 https://github.com/tsenart/vegeta https://github.com/nak 阅读全文
posted @ 2021-05-25 09:36 vaen 阅读(215) 评论(0) 推荐(0)
摘要: new 函数 只用于分配内存,并且把内存清零,也就是返回一个指向对应类型零值的指针。new 函数一般用于需要显式地返回指针的情况,不是太常用。 make 函数 只用于 slice、chan 和 map 这三种内置类型的创建和初始化,因为这三种类型的结构比较复杂,比如 slice 要提前初始化好内部元 阅读全文
posted @ 2021-05-19 13:05 vaen 阅读(49) 评论(0) 推荐(0)
摘要: windows本地文件路径 使用反斜杠\ C:\windows\system32 网络路径 使用正斜杠/ http://www.xxx.com/ 编码注意 编码过程中拼接文件路径时,注意反斜杠的转义 目标字符串 C:\windows\system32 正确写法 var path="C:"+"\\"+ 阅读全文
posted @ 2021-05-19 10:19 vaen 阅读(133) 评论(0) 推荐(0)
摘要: 参数 两个核心参数Content-Disposition Content-Type Content-Disposition: // inline(预览) attachment(下载) Content-Type: // 例如 text/plain image/jpeg image/png image/ 阅读全文
posted @ 2021-05-18 12:13 vaen 阅读(400) 评论(0) 推荐(0)
摘要: 在 Go 语言中,switch 的 case 从上到下逐一进行判断,一旦满足条件,立即执行对应的分支并返回,其余分支不再做判断。也就是说 Go 语言的 switch 在默认情况下,case 最后自带 break。这和其他编程语言不一样,比如 C 语言在 case 分支里必须要有明确的 break 才 阅读全文
posted @ 2021-05-14 13:31 vaen 阅读(113) 评论(0) 推荐(0)
摘要: 获取所有文件名 dir *.* /B>list.txt 重命名 ren 1.txt 2.txt 名字带空格 ren " 1 .txt" "2.txt" 备注,需要配合excel进行批量编辑文件名 阅读全文
posted @ 2021-05-13 00:36 vaen 阅读(180) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页