In short:
add_header Content-Disposition 'attachment; filename="foo.txt"';
We’re just adding a Content-Disposition
header in the response.
You can specify the file name, here we’re using foo.txt
.
[ | |
{ | |
"key": "cmd+shift+l", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "console.dir(${TM_SELECTED_TEXT}$1, { depth: null })$0;" | |
} | |
} | |
] |
function isLeapYear(year: number) { | |
return new Date(year, 1, 29).getDate() === 29 | |
} | |
export default isLeapYear |
"use strict"; | |
const fs = require("fs"); | |
const jwt = require("jsonwebtoken"); | |
const privateKey = fs.readFileSync("AuthKey.p8").toString(); | |
const teamId = "ABCDE12345"; | |
const keyId = "ABCDE12345"; | |
const jwtToken = jwt.sign({}, privateKey, { |
(一)力挽狂澜的 Ellen Hancock http://history.programmer.com.cn/6727/
(二)Linus Torvalds 的短视 http://history.programmer.com.cn/6617/
(三)Mach 之父 Avie Tevanian http://history.programmer.com.cn/8121/
(四)政客的跨界
i | |
me | |
my | |
myself | |
we | |
our | |
ours | |
ourselves | |
you | |
your |