![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
文章平均质量分 64
simongame
A gameplay engineer working for UBI
展开
-
NestJS TypeORM Pagination
NestJS TypeORM Pagination - DemoWhen working on an API, sometimes, we have to paginate our data in order to provide a good user experience. In this tutorial, we will be doing a NestJS TypeORM Pagination example. The example will be a products API.Setting原创 2020-10-21 23:11:28 · 633 阅读 · 1 评论 -
Dockerfile for dotnet
# 1. 指定编译和发布应用的镜像FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build# 2. 指定(编译和发布)工作目录WORKDIR /app# 3. 拷贝.csproj到工作目录/app,然后执行dotnet restore恢复所有安装的NuGet包COPY *.csproj ./RUN dotnet restore# 4. 拷贝所有文件到工作目录(/app),然后执行dotnet publish命令将应用发布到/app/out目录转载 2020-08-19 18:25:25 · 259 阅读 · 0 评论 -
Win10连接WSL2-Ubuntu中的MySQL
安装$ apt update$ apt install mysql-server安装完毕后重启mysql服务$ service mysql restart开启远程访问# 修改配置文件 /etc/mysql/mysql.conf.d/mysqld.cnf$ vi /etc/mysql/mysql.conf.d/mysqld.cnf# 注释 bind-address = 127.0.0.1# 登录MySQL$ mysql -uroot -p# 新增用户并允许远程访问mysql&g原创 2020-08-04 21:50:16 · 6417 阅读 · 1 评论 -
Angular Error - You seem to not be depending on “@angular/core“ and/or “rxjs“. This is an error.
错误详情解决方法# 先运行npm link$ npm link$ ng serve原创 2020-07-31 23:46:08 · 832 阅读 · 0 评论 -
k8s yml
# yaml格式的pod定义文件完整内容:apiVersion: v1 #必选,版本号,例如v1kind: Pod #必选,Podmetadata: #必选,元数据 name: string #必选,Pod名称 namespace: string #必选,Pod所属的命名空间 labels: #自定义标签 - name: string #自定义标签名字 annotations: #自定义注释列.转载 2020-06-25 01:54:09 · 115 阅读 · 0 评论 -
基于Docker Desktop for Windows安装Kubernetes
本文基于Docker Desktop for Window1. 拉取Kubernetes镜像在命令行中运行以下命令git clone https://github.com/AliyunContainerService/k8s-for-docker-desktop.gitcd k8s-for-docker-desktopgit checkout v1.16.5在当前目录中运行ps文件.\load_images.ps1等待镜像安装完毕❯ .\load_images.ps1k8s.gc原创 2020-06-13 02:42:16 · 4349 阅读 · 1 评论