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
#下载 | |
bbd -tv url | |
#下载跳过字幕 跳过封面 不显示所有可用音视频流 | |
bbd -tv --skip-subtitle --skip-cover -hs url | |
#下载 1-15 or ALL | |
bbd -tv --skip-subtitle --skip-cover -hs -p 1-15 url | |
#解析 | |
bbd -info url |
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
import java.nio.charset.StandardCharsets | |
plugins { | |
//使用maven的依赖管理方式 来管理依赖 引入插件 | |
id "io.spring.dependency-management" version "1.0.11.RELEASE" apply false | |
id "io.freefair.lombok" version "6.2.0" apply false | |
} | |
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
./gradlew -v | |
./gradlew clean | |
./gradlew build -x test |
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
#查看文件信息 这里的-i 其实是input 正常命令需要一个output才行 否则会产生一个错误 "At least one output file must be specified" 可忽略 或者使用 ffprobe filename 查看文件信息 | |
ffmpeg -i '.\xxx.mkv' | |
#-i 指定input 文件 -q:a 0 可变比特率 -map a 排除视频和字幕 抽出视频中的音频文件保存为mp3格式 这里原始音频可能会被转换 | |
# 这里我试了 音频的bit率 仿佛发生了变化 变得比原来的高,相比原格式的音频 大了不少 | |
ffmpeg -i '.\xxx.mkv' -q:a 0 -map a output-audio.mp3 | |
#-an 去除音频流 | |
#-vn 去除视频流 | |
#-sn 去除字幕流 | |
#-dn 去除数据流 |
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
#过滤注释行 | |
bat /etc/redis.conf | grep -v ^# |grep -v ^$ | |
#代理命令 | |
alias pc="proxychains4" | |
#显示命令历史 ~编号 使用指定的 | |
dirs -v | |
#文件夹名称快速跳转 |
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
#过滤注释行 | |
bat /etc/redis.conf | grep -v ^# |grep -v ^$ | |
#代理命令 | |
alias pc="proxychains4" | |
#显示命令历史 ~编号 使用指定的 | |
dirs -v | |
#文件夹名称快速跳转 |
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
firewall-cmd --permanent --service=redis --add-port=16379/tcp | |
firewall-cmd --permanent --new-service=zookeeper | |
firewall-cmd --permanent --service=zookeeper --add-port=2181/tcp | |
firewall-cmd --permanent --service=zookeeper --add-port=3888/tcp | |
firewall-cmd --zone=public --add-service=zookeeper --permanent | |
firewall-cmd --permanent --new-service=nginx | |
firewall-cmd --permanent --service=nginx --add-port=80/tcp | |
firewall-cmd --permanent --service=nginx --add-port=443/tcp | |
firewall-cmd --zone=public --add-service=nginx --permanent |
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
#显示已经安装的程序 | |
pip list | |
#安装程序 | |
pip install xxx | |
#显示软件安装信息 | |
pip show xxx | |
#删除软件 | |
pip uninstall xxx |
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
#显示程序的安装路径 | |
rpm -ql|grep `rpm -qa | grep mongodb` | |
#结果转参数的书写方法 echo$(rpm -qa | grep redis) | |
echo`rpm -qa grep |redis` | |
#xargs将标准输入作为参数,此处是把grepredis的结果作为输入转为参数,此命令可以打印通过包管理器安装的应用的文件路径 | |
rpm -qa | grep redis | xargs rpm -ql |
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
ssh-keygen -t ecdsa -b 521 -C 'xxxxxx-dockernode2' | |
ssh-keygen -o -a 500 -C "First.Last@somewhere.com" | |
ssh-keygen -t ecdsa -a 500 -b 521 -C "First.Last@somewhere.com" | |
ssh-keygen -t rsa -a 500 -b 4096 -C "xxxxxx@dockernode2" |
NewerOlder