标签: 未分类

138 篇文章

ssl证书生成时插入OID
from--:https://knowledge.digicert.com/quovadis/ssl-certificates/csr-generation/inserting-custom-oids-into-openssl.html Inserting Custom OIDs into OpenSSL Solution You will need to create a configuration file for OpenSSL to use. You can obtain a simple configuration file by using the OpenSSL Command Tool on our PKI Widgets website (https://pkiwidgets.quovadisglobal.com/scri…
TrueNAS SCALE docker安装使用联合文件系统mergerfs
备注:联合文件系统这个功能在truenas上并不算好用,感觉有风险,使用需谨慎 其他资料: https://askubuntu.com/questions/1074097/how-to-unmount-unionfs-fuse-filesystem https://www.imangodoc.com/188628.html from--:https://www.truenasscale.com/2022/01/25/509.html 介绍 mergerfs是一个联合文件系统,旨在简化众多存储设备中文件的存储和管理。它类似于mhddfs,unionfs和aufs。 如果你想在一个媒体项目中用到了多个磁盘或分区,不想丢失任何现有数据,但又想将所有文件都存放在一个驱动器下,该怎么办?这时,mergerfs 就能派上用场! 建议大家可以自行搜索了解…
Iptables 端口(流量)转发
from--:https://ftwb.cc/389.html 安装环境 一台可以访问互联网的 VPS ,能与被转发的端口互相通信 机器系统为 Linux 发行版 Debian、Redhat 系列,教程使用系统为 Debian 10 和 CentOS 8 系统镜像采用公有云(Ucloud)的公共镜像 关闭系统 SELinux 教程开始 Redhat (CentOS 8)系列 关闭并禁用系统默认的 Firewalld 防火墙 systemctl stop firewalld.service systemctl disable firewalld.service 安装并启用 Iptables dnf install iptables iptables-services -y systemctl start iptables.service sy…
如何在GIT中删除第一个提交
from--:https://www.dovov.com/git-583.html 如何在GIT中删除第一个提交? 我很好奇如何在git中删除第一个提交。 做任何事情之前的修改是什么? 这个版本是否有名字或标签? 对我来说,最安全的方法是使用update-ref命令: git update-ref -d HEAD 它将删除指定的引用HEAD ,所以它会重置(轻轻地,你不会失去你的工作)你当前分支的所有提交 。 如果你想要合并第一个提交和第二个提交,你可以使用rebase命令: git rebase -i --root 最后一种方法是创build一个孤立分支,一个分支,但是没有任何提交历史,并且提交新的内容: git checkout --orphan 在第一次提交之前什么都没有,因为每个提交都指向一个父提交。 这使得第一个提交特别(孤儿提交…
通过声音进行数据传输
音频调制解调器通信库 https://github.com/romanz/amodem 这个库可以将数据以音频方式传输 缺点,对麦克风和声卡有一定需求,一旦有延迟或者收方音有干扰就会影响接收 上面的库是相对较好的,还有其他的库 https://github.com/waskelyashwant/Transfer-of-data-via-audio-signal https://github.com/hyqer/audiomix