Skip to content

Instantly share code, notes, and snippets.


哥哥的激光炮 yujintang

Block or report user

Report or block yujintang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vscode config
"workbench.colorTheme": "Dracula",
"files.autoSave": "onFocusChange",
"terminal.explorerKind": "external",
"workbench.panel.defaultLocation": "right",
"": false,
"window.zoomLevel": 0,
"editor.tabSize": 2
View gist:0fd5baa3f76fa51de5320dd32908219c
base=(a b c)
symbols=($(echo "$base"))
function checkarg {
if [ $# -gt 0 ]; then
symbols=($(echo "$@"))
symbols=($(echo "$base"))
View promisifyAll
const promisify = require('util').promisify;
module.exports = function promisifyAll(obj) {
for(const key in obj){
obj[key + 'Async'] = promisify(obj[key]);
You can’t perform that action at this time.