du -h[输出人类可读的格式] [指定目录] --max-depth=[指定搜索文件层级深度]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crontab -e | |
* * * * * /usr/bin/curl '$url' >/dev/null 2>&1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var IndexRedirect = { | |
getUrlVars : function () | |
{ | |
var vars = {}; | |
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, | |
function (m,key,value) | |
{ | |
vars[key] = value; | |
}); | |
return vars; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* LIKE 查询系统配置变量 */ | |
SHOW VARIABLES LIKE '%Trans%'; | |
/* LIKE 查询系统状态 */ | |
SHOW STATUS LIKE '%变量名% '; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh int ipv4 show excludedportrange protocol=tcp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const path = require("path"); | |
function readMetadata(audioFilePath) { | |
fs.open(audioFilePath, "r", function (err, fd) { | |
if (err) { | |
console.error("Error opening file:", err); | |
return; | |
} |