摘要: 1、需要重新编解码的方案: ffmpeg -c:v h264_cuvid -i A.mp4 -i B.mp4 -i C.mp4 -i D.mp4 -c:v h264_nvenc -b:v 4096k output.mkv 上述命令的作用是使用nvidia加速的h264_cuvid解码器对4个mp4文 阅读全文
posted @ 2024-03-21 17:55 Mrcoool 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 根据ISO 3166查询所需国家的2字母代码:https://www.iso.org/obp/ui/#search/code/,比如泰国的就是TH 根据不同的地区,下载各地的IP地址段列表文件:https://ftp.arin.net/pub/stats/arin/delegated-arin-ex 阅读全文
posted @ 2023-05-31 23:07 Mrcoool 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 上文写了一种使用jsloader插件来实现Nextcloud添加ICP和公安备案号的方法,使用起来还是会有一些小问题。 直接修改nextcloud/apps/theming/l10n/zh-CN.json文件,将下面的内容进行替换,应该是最简单完美的方法: 法律声明链接->ICP备案链接 隐私政策链 阅读全文
posted @ 2023-04-09 23:26 Mrcoool 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 给自用的Nextcloud添加备案号,网上找到了个比较好的方法:用JavaScript loader这个nextcloud的插件。原文见《Nextcloud添加备案号并清理日志》。 但上面的文章只添加了ICP备案号,未添加公安备案号。遂稍稍修改了一些,把公安备案号也添加进去,最终效果如下: 然后在J 阅读全文
posted @ 2022-08-01 14:24 Mrcoool 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 原文见:https://osric.com/chris/accidental-developer/2017/08/using-fail2ban-with-iptables-instead-of-firewalld/ CentOS7开始,安装fail2ban就会连fail2ban-firewalld一 阅读全文
posted @ 2021-11-30 18:16 Mrcoool 阅读(254) 评论(0) 推荐(0) 编辑
摘要: http://193.49.22.109/elrepo/kernel/el7/x86_64/RPMS/ 阅读全文
posted @ 2021-09-24 23:22 Mrcoool 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 在Cloudflare的DNS解析服务中,希望将一个子域名的解析管理权交给另外一个单位。 设置了一个子域名的NS记录后,dig发现不生效。dig中的Answer字段始终是空的,如下: dig sub.example.com NS @1.1.1.1 <<>> DiG 9.15.6 <<>>sub.ex 阅读全文
posted @ 2021-08-31 22:51 Mrcoool 阅读(538) 评论(6) 推荐(0) 编辑
摘要: ########################################### Generate Filter tool:# https://www.wireshark.org/tools/string-cf.html# # GET Filter:# tcp[((tcp[12:1] & 0x 阅读全文
posted @ 2020-11-14 11:13 Mrcoool 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 服务端修改: 1、WEB服务器的conf文件; 2、nextcloud的配置文件: /var/www/nextcloud/config/config.php 重启WEB服务。 客户端修改: On Linux distributions: $HOME/.config/Nextcloud/nextclo 阅读全文
posted @ 2020-07-21 15:50 Mrcoool 阅读(9826) 评论(2) 推荐(0) 编辑
摘要: 分区: parted /dev/sdaGNU Parted 3.1Using /dev/sdaWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) mktable gpt mkpart LV_name FStyp 阅读全文
posted @ 2020-04-24 16:58 Mrcoool 阅读(203) 评论(0) 推荐(0) 编辑