$ minikube start --vm-driver=virtualbox --registry-mirror=https://registry.docker-cn.com --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bouncycastle.asn1.ASN1Encodable; | |
import org.bouncycastle.asn1.DERSequence; | |
import org.bouncycastle.asn1.x500.X500Name; | |
import org.bouncycastle.asn1.x509.BasicConstraints; | |
import org.bouncycastle.asn1.x509.Extension; | |
import org.bouncycastle.asn1.x509.GeneralName; | |
import org.bouncycastle.asn1.x509.KeyUsage; | |
import org.bouncycastle.cert.X509CertificateHolder; | |
import org.bouncycastle.cert.X509v3CertificateBuilder; | |
import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter; |
$ npm i -g commitizen cz-conventional-changelog
$ echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc; create .czrc
$ cd non-node-git-repo
$ touch foo
$ git cz -a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To create output that contains only data values, suppress the column header row with the -N (or --skip-column-names) option | |
mysql -N -e "SELECT arms FROM limbs" cookbook | summarize | |
# -N and --skip-column-names were introduced in MySQL 3.22.20 | |
# For older versions, you can achieve the same effect by specifying the “silent” option (-s or --silent) twice: | |
% mysql -ss -e "SELECT arms FROM limbs" cookbook | summarize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" | |
REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F | |
taskkill /f /im explorer.exe | |
start explorer.exe |
Ensure that you have WSL installed (you can find instructions to do so here) and that you are running Windows 10 build 18917 or higher
To make sure you are using build 18917 or higher please join the Windows Insider Program and select the 'Fast' ring or the 'Slow' ring.
You can check your Windows version by opening Command Prompt and running the ver
command.
Ensure that you have WSL installed (you can find instructions to do so here) and that you are running Windows 10 build 18917 or higher
To make sure you are using build 18917 or higher please join the Windows Insider Program and select the 'Fast' ring or the 'Slow' ring.
You can check your Windows version by opening Command Prompt and running the ver
command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Need to open 443 and 902 port | |
# ufw | |
sudo ufw allow 443 | |
sudo ufw allow 902 |
NewerOlder