上一页 1 ··· 218 219 220 221 222 223 224 225 226 ··· 498 下一页
摘要: Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] 阅读全文
posted @ 2020-02-07 04:24 Zhentiw 阅读(124) 评论(0) 推荐(0)
摘要: "scripts": { "ng": "ng", "start": "ng serve --proxy-config ./proxy.json", "server": "ts-node -P ./server/server.tsconfig.json ./server/server.ts", "bu 阅读全文
posted @ 2020-02-07 04:00 Zhentiw 阅读(142) 评论(0) 推荐(0)
摘要: // include all the scss @import "~@angular/material/theming"; // Include non-theme styles for core. @include mat-core(); $mat-custom-primary-theme: ( 阅读全文
posted @ 2020-02-05 04:17 Zhentiw 阅读(208) 评论(0) 推荐(0)
摘要: For example we have a rest endpoint, we need to validate the data we receive in correct format: import { IsMongoId, IsString, IsBoolean, IsInt } from 阅读全文
posted @ 2020-02-04 14:57 Zhentiw 阅读(1327) 评论(0) 推荐(0)
摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and num 阅读全文
posted @ 2020-01-30 04:10 Zhentiw 阅读(130) 评论(0) 推荐(0)
摘要: Yarn 2 is workspace aware. When you need to upgrade a package in one workspace, yarn will ask you if you want to resolve the version of the package to 阅读全文
posted @ 2020-01-27 22:14 Zhentiw 阅读(247) 评论(0) 推荐(0)
摘要: yarn dlx can be used to run packages without installing them. This is useful for packages like create-react-app and gatsby that scaffold out apps for 阅读全文
posted @ 2020-01-27 22:13 Zhentiw 阅读(254) 评论(0) 推荐(0)
摘要: This lesson goes over how to install yarn 2 through npm. To install yarn 2 globally, we use npm install -g yarn@berry Init a project: yarn init -y To 阅读全文
posted @ 2020-01-27 22:03 Zhentiw 阅读(588) 评论(0) 推荐(0)
摘要: 1 . Create a directory for global packages mkdir "${HOME}/.npm-packages" 2. Tell npm where to store globally installed packages npm config set prefix 阅读全文
posted @ 2020-01-27 21:59 Zhentiw 阅读(197) 评论(0) 推荐(0)
摘要: // eslint exercise 4 (no-console) // When you're finished with this exercise, run // "npm start exercise.eslint.5" // to move on to the next exercise 阅读全文
posted @ 2020-01-23 21:25 Zhentiw 阅读(208) 评论(0) 推荐(0)
上一页 1 ··· 218 219 220 221 222 223 224 225 226 ··· 498 下一页