 
                                    
                                # cer 转 pfx
openssl pkcs12 -export -out fullchain.pfx -inkey private.key -in fullchain.cer
# p7b 转 crt
openssl pkcs7 -print_certs -in fullchain.p7b -out fullchain.crt
# 分解命令:
pkcs12 # OpenSSL中PKCS#12文件的文件实用程序
-export -out fullchain.pfx  # 导出并保存
-inkey private.key # 使用私钥文件作为与证书结合的私钥# 访问 http://localhost:66/index.html
server {    
    listen 66;
    charset utf-8;
    location / {
        # 不存在则直接从后台web内容服务器调取
        if (!-e $request_filename) {
            proxy_pass https://squoosh.app;
        }console.debug(Array.from(document.links).map(l => `[${l.textContent.replace(/\s+/g, ' ').trim()}](${l.href})`).join('\n'));last # 登录成功的用户信息
last | less # 最近倒序
lastb # 登录失败的用户信息
# /var/log/ 目录下 secure 开头的日志文件
# 查看哪些IP破解你SSH密码以及次数
cat /var/log/secure | awk '/Failed/{print $(NF-3)}' | sort | uniq -c | awk '{print $2" = "$1;}'class LinkChecker {
    static PROXY_SERVERS = [
        "https://cors.eu.org/",
        "https://seep.eu.org/",
        "https://api.codetabs.com/v1/proxy?quest=",
        "https://www.netnr.eu.org/api/Open/LinkStatusGet?url=",
        "https://netnr.alwaysdata.net/api/Open/LinkStatusGet?url=",
    ];
    static proxyIndex = 0;# 已经有了SS
git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
# 取消
git config --global --unset http.proxy
git config --global --unset https.proxy
# 只对github进行代理systemctl status firewalld  # 查看firewall服务状态
systemctl start firewalld   # 启动
service firewalld restart   # 重启
systemctl stop firewalld    # 关闭
systemctl disable firewalld # 开机禁用
systemctl enable firewalld  # 开机启用
firewall-cmd --zone=public --permanent ... # 指定区域、永久的命令
firewall-cmd --list-all # 查看防火墙规则/*
 *  barrage 弹幕
 *  
 *  2019-06
 *  netnr
 */
(function (window) {
    var bar = function (obj) {# 教程链接
https://docs.microsoft.com/zh-cn/windows/wsl/install-manual
# 使用开发人员模式
设置》更新和安全》开发中选项》开发人员模式
# 添加 Windows 应用程序
# 适用于 Linux 的 Windows 子系统,或 PowerShell 执行命令安装
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linuxyum install epel-release -y && yum install htop -y # 安装 htop
# help
https://www.tecmint.com/htop-linux-process-monitoring/
npm install gtop -g # 安装 gtop
# help
https://github.com/aksakalli/gtopyum install httpd-tools # 安装
ab -V # 版本
# Get 请求,10 并发 总 100 次
ab -c 10 -n 100 https://netnr.eu.org/
# Post 请求(发送当前目录下的 post.txt 文件:uid=1&pwd=1)
ab -c 10 -n 100 -p post.txt https://netnr.eu.org/
# Post 请求(发送当前目录下的 post.txt)
ab -c 10 -n 100 -T 'application/json' -p post.txt https://netnr.eu.org/### 文件权限描述由10个字符组成,例如,“-rwxr-xr--”、"drwxr-xr-x"
+ 第一个字符的含义为:
    - d: 目录
    - -: 文件
    - l: 连接文件
    - b: 设备文件里面的可供存储的接口设备
    - c: 设备文件里面的串行端口设置,例如键盘、鼠标
+ 接下来的9个字符,分为三组,每组三个字符,均为 `rwx` 的三个参数组合。位置不会改变,没有某权限,则出现 `-` 号
+ 三组字符中,第一组表示文件所有者的权限;第二组表示同用户组的权限;第三组表示others的权限
+ 三种身份又有三种权限,r(读)、w(写)、x(执行)::安装IPv6,XP或更低版本要安装,安装后不需要启用,win7及以上不需要
netsh interface ipv6 install
::添加端口转发 192.168.1.2:2433 => 192.168.1.3:1433
netsh interface portproxy add v4tov4 listenaddress=192.168.1.2 listenport=2433 connectaddress=192.168.1.3 connectport=1433
::添加端口转发 *:2433 => 192.168.1.3:1433 不设置listenaddress
netsh interface portproxy add v4tov4 listenport=2433 connectaddress=192.168.1.3 connectport=1433
::删除端口转发 192.168.1.2:1433/*
    更新时间:2019-03-29
    使用方法:打开QQ邮箱,选择【已发送】界面,打开浏览器控制台(或按F12),拷贝脚本粘贴回车(按Enter)
 */
(function () {
    var win = document.getElementById('mainFrame').contentWindow;
    var tds = win.document.getElementsByTagName('td');
    //邮件IDwget -qO- get.docker.com | bash # 一键安装
# ubuntu 清华镜像安装
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common # 安装依赖
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" # 添加 arm64 软件仓库
apt-get update && apt-get install docker-ce docker-ce-cli containerd.io
# help
https://mirror.tuna.tsinghua.edu.cn/help/docker-ce/
https://docs.docker.com/engine/install/ubuntu/# 版本号支持:lts.x current.x 5.x 6.x 7.x 8.x 10.x 12.x 14.x 16.x
# CentOS
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash - # As root
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash - # No root privileges
yum install -y nodejs # 安装
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs# Oracle
### ODBC 驱动
https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html  
https://www.oracle.com/database/technologies/odac-downloads.html (64bit)
### 下载 Oracle Visual Studio 工具和 ADO.NET 数据访问提供程序
https://www.oracle.com/technetwork/topics/dotnet/downloads/index.html
### Oracle 数据库下载