使用ffmpeg检查图片或视频文件是否包含透明通道
使用ffmpeg检查图片或视频文件是否包含透明通道
$ ffmpeg -v error -i 123.mp4 -vf "select='eq(n,0)', alphaextract" -f null /dev/null [Parsed_alphaextract_1 @ 0x7fe8f5208100] Requested planes not ava ...
kubelet 常用命令
kubelet 常用命令
# 根据状态筛选pods kubectl get pods --field-selector status.phase=Failed ...
linux开启tcp_tw_recycle引发的问题总结
linux开启tcp_tw_recycle引发的问题总结
存在场景 服务端 cat /etc/sysctl.conf ... net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_timestamps = 1 ... 客户端 k8s集群pod中请求服务端的http接口 客户端host抓包 tcpdump -i bo ...
合并其他分支的commit到当前分支
合并其他分支的commit到当前分支
# 一次合并一个或多个提交记录 $ git cherry-pick <hash a> <hash b> # 按照提交记录区间合并代码. 必须按照正确的顺序放置:提交 hashA 必须早于提交 hashB,否则命令将失败,但不会报错。 ### 注意,在git中,区间为左开右闭。使用下面的命令,提交 h ...
netem 模拟丢包乱序延迟
netem 模拟丢包乱序延迟
安装工具 # centos yum install iproute-tc -y # debian apt-get install iproute2 使用方法 帮助信息 tc -h tc qdisc help 查看配置 tc qdisc show dev bond0 删除配置 t ...
Nginx 使用 logrotate 滚动日志
Nginx 使用 logrotate 滚动日志
安装logrotate 一般系统已经安装了logrotate, 如果没有安装使用一下命令安装 yum install logrotate 入口文件 /etc/cron.daily/logrotate 使用crontab每天执行一次 配置文件 主配置文件/etc/logrotate.co ...
ffmpeg 羽化边缘模糊(柔边模糊)
ffmpeg 羽化边缘模糊(柔边模糊)
ffmpeg -i 快乐大本营test0616.mp4 -filter_complex "nullsrc=s=1280x720,drawbox=x=50:y=50:w=200:h=200:color=#ffffff:t=fill:enable='between(t,0,100)'[mask],[0 ...
The request client is not a secure context and the resource is in more-private address space `private`
The request client is not a secure context and the resource is in more-private address space `private`
chrome请求报错 has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private 原因 ...
keepalived 高可用(主备切换)
keepalived 高可用(主备切换)
安装keepalived(ALL) yum install -y keepalived 配置服务(ALL) cat /etc/keepalived/keepalived.conf global_defs { router_id test001 #标识,只是一个名称 s ...
centos7安装高可用k8s集群
centos7安装高可用k8s集群
一、环境准备 1 主机准备 主机 Ip主机名主功能10.200.20.116master01etcd,apiserver,controller-manager,scheduler,docker,proxy10.200.20.117master02etcd,apiserver,controller ...
zhr

张文兵

90后程序员

 湖南 - 长沙



友情链接