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
scripts.push("js/index.js"); | |
scripts.push("js/txt.js"); | |
function load_js (scripts) { | |
var scriptsEle = []; | |
var h = document.getElementsByTagName('head')[0]; | |
scripts.forEach(function (val, index) { | |
var js = document.createElement('script'); | |
js.type = "text/javascript"; | |
h.appendChild(js); | |
scriptsEle[index] = js; |
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
ffmpeg -i 1.wmv -vf 'scale=910:512,pad=1152:512:121:0:white' 2.mp4 |
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
git config --global http.proxy 'socks5://127.0.0.1:1082' | |
git config --global https.proxy 'socks5://127.0.0.1:1082' |
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
echo "" > $(docker inspect --format='{{.LogPath}}' addocker_ad_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
netstat -nr |
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
122 | |
down vote | |
I use Vim as a hex editor: | |
Open the file in Vim. | |
Run the command | |
:% ! xxd | |
Edit. |
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
ffmpeg -i output.mp4 -vf format=gray,format=yuv420p outputgray.mp4 | |
ffmpeg -i output.mp4 -vf hue=s=0 -c:a copy outputhue.mp4 |
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
nohup socat -T 600 UDP4-LISTEN:500,reuseaddr,fork UDP4:150.95.129.99:500 >> socat500.log 2>&1 & | |
nohup socat -T 600 UDP4-LISTEN:4500,reuseaddr,fork UDP4:150.95.129.99:4500 >> socat4500.log 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
nohup socat -T 600 UDP4-LISTEN:500,reuseaddr,fork UDP4:150.95.129.99:500 >> socat500.log 2>&1 & | |
nohup socat -T 600 UDP4-LISTEN:4500,reuseaddr,fork UDP4:150.95.129.99:4500 >> socat4500.log 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
tail -f a.log | |
自动刷新 |
OlderNewer