Install
https://github.com/Schniz/fnm#using-a-script-macoslinux
curl -fsSL https://fnm.vercel.app/install | bash
https://github.com/Schniz/fnm#using-a-script-macoslinux
curl -fsSL https://fnm.vercel.app/install | bash
iperf3
serverwg-quick down wg0
/etc/wireguard/wg0.conf
fileiperf3
serverwg-quick down wg0
/etc/wireguard/wg0.conf
fileconst { exec } = require('child_process') | |
const { promisify } = require('util') | |
const chalk = require('chalk') | |
// See: https://docs.npmjs.com/about-audit-reports#severity | |
const SEVERITY_LEVELS = ['low', 'moderate', 'high', 'critical'] | |
const SEVERITY_THRESHOLD = 'critical' | |
const run = promisify(exec) | |
// Get the output of a command. If the command exits with a non-zero code, try |
Authro: @ookangzheng
License: MIT
Modified: 2021/06/13
This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.
"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.
Error: fatal: refusing to merge unrelated histories
Solution:
Rebase it git pull --rebase branchname
pull git pull origin branchname --allow-unrelated-histories
push git push origin master
// JavaScript 字符串编码使用 UTF-16 | |
"💩".length === 2; | |
"💩" === "\u{1F4A9}"; // es6 | |
"💩" === "\uD83D\uDCA9"; // es5 | |
// 同一个编码可能使用不同的码位 | |
"ò" === "ò"; // ❎ | |
"ò" === "\xF2"; // ✅ | |
"ò" === "o\u0300"; // ✅ | |
"o\u0300".normalize("NFC") === "\xF2"; // ✅ es6 提供了 normalize 函数 |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
No Filter