ouyangbin81076's recent timeline updates
ouyangbin81076

ouyangbin81076

V2EX member #421660, joined on 2019-06-14 10:49:38 +08:00
ouyangbin81076's recent replies
@rizon
curl localhost:8081 -F "file=@myfile" -X POST
这个会以 multipart/form-data 方式上传文件,
有个 -d 参数配合 cat xargs 也能上传,不过哪个碰到空格单引号之类的特殊字符很容易就 GG 了
http 协议多好用,为什么要用 tcp,tcp 本身没有携带这种功能。
而且你可以 curl 命令上传文件到 node 的 http 服务器来处理批量任务
或者用
cat file | while read line; do curl "localhost:8080/$line"; done;
Jun 17, 2019
Replied to a topic by MinQ 程序员 离职一时爽,一直离职一直爽
@darmau
因为离职次数等于入职次数或入职次数-1
当离职次数接近∞,则入职次数接近∞,
那么这时候也可以看作是一直在就职了
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2753 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 11:44 · PVG 19:44 · LAX 04:44 · JFK 07:44
♥ Do have faith in what you're doing.