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
老祖宗留下来的玄学规律,照着做就对了 | |
1.戒色,就是增财 | |
2.早上不退货、中午不去别人家、下午不去看病人、晚上不借钱,这是规矩 | |
3.钱比爱情重要,爱情比前途更难得,对的人会站在你的前途里 | |
4.身体哪里不舒服了,要对它说三句话,“对不起,是我错了,没有照顾好你,以后我一定好好对你”有事要记得和身体商量,都说很管用 |
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
# 1. 安装ubuntu | |
wsl --install | |
# 2. 关闭ubuntu,否则迁移失败 | |
wsl -l -v | |
* Ubuntu Running 2 | |
wsl --terminate ubuntu | |
# 或者 | |
wsl --shutdown | |
wsl -l -v |
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
# 修改安装镜像 | |
# 清华大学 | |
# sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories | |
# 淘宝 | |
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories | |
# 安装设置删除清理 | |
apk --update add tzdata && \ | |
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ | |
echo "Asia/Shanghai" > /etc/timezone && \ | |
apk del tzdata && \ |
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
apiVersion: cert-manager.io/v1 | |
kind: Issuer | |
metadata: | |
name: letsencrypt-staging | |
namespace: default | |
spec: | |
acme: | |
# The ACME server URL | |
server: https://acme-staging-v02.api.letsencrypt.org/directory | |
# Email address used for ACME registration |
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
# /etc/hosts | |
127.0.0.1 example.com |
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
# 在Knative使用自定义域名 | |
kubectl edit cm config-domain --namespace knative-serving | |
# https://help.aliyun.com/document_detail/127204.html |
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
ifup eth0 | |
> unknown interface eth0 | |
vim /etc/network/interfaces | |
# 添加 | |
> auto eth0 | |
> iface eth0 inet dhcp | |
reboot |
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 { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { MatNativeDateModule, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; | |
import { MatDatepickerIntl, MatDatepickerModule } from '@angular/material/datepicker'; | |
@NgModule({ | |
declarations: [TradingComponent, OrderListComponent, EarningListComponent], | |
imports: [ | |
... |
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
touch /Library/LaunchDaemons/limit.maxfiles.plist |
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
NODE_OPTIONS=--max-old-space-size=8192 |
NewerOlder