Mongodb 账户权限配置 1、第一步创建超级管理用户 use admin db.createUser({ user:'admin', pwd:'123456', roles:[{role:'root',db:'admin'}] }) 2、第二步修改 Mongodb 数据库配置文件 路径:C:\P ...
分类:
数据库 时间:
2020-05-01 18:31:07
阅读次数:
83
There are some situations where you want to focus your tests on a particular component and not any of its children. There are other situations where y ...
分类:
其他好文 时间:
2020-05-01 01:32:17
阅读次数:
93
问题描述 antd: 4.2.0, react: 16.13.1 Modal 中使用 Form ,使用 React Hooks const [form] = Form.useForm(); 创建实例时,会出现以下警告。 原因 Modal 挂载的 HTML 节点默认为 document.body,页面 ...
分类:
其他好文 时间:
2020-05-01 01:13:12
阅读次数:
734
笔者第一次写网站只写了接收参数以及登录页面就兴奋了一整天,还特意地加上了第三方登录,想起当时的情景还历历在目。之前是照着被人的博客一步步完成第三方登录的功能,现在就要自己来理解完成了 1. OAuth 2.0 第三方登录需要用到OAuth 2.0的原理,那么我们得先了解其原理,然后再讲解第三方登录就 ...
分类:
其他好文 时间:
2020-04-30 21:29:47
阅读次数:
77
Description Write an algorithm to determine if a number n is "happy". A happy number is a number defined by the following process: Starting with any p ...
分类:
移动开发 时间:
2020-04-30 13:32:04
阅读次数:
91
Given a string that?only?contains "I" (increase) or "D" (decrease), let . Return?any?permutation of such that for all : If , then Example 1: Example 2 ...
分类:
其他好文 时间:
2020-04-30 10:00:11
阅读次数:
88
https://www.ruanyifeng.com/blog/2019/10/tmux.html ...
分类:
其他好文 时间:
2020-04-30 09:25:22
阅读次数:
114
从开发转为CM,开始了各种脚本的学习之路。 今天学习Bat常用命令。 学习要点:1.显示信息:echo 格式:echo 你要输出的信息 C:\Elena Code>echo hello bathello bat C:\Elena Code> C:\Elena Code>pausePress any ...
分类:
其他好文 时间:
2020-04-29 10:55:58
阅读次数:
89
今日内容 分组查询(单独聚合查询 and 分组聚合查询 基于mysql) 聚合查询 基于ORM 单独聚合查询:aggregate (聚集,合集) 不分组 分组聚合查询: annotate (注释,做注解) 分组 字段属性 字段 不常用字段 关系字段 断开外键关联的ForeignKey使用(一对多,一 ...
分类:
其他好文 时间:
2020-04-29 01:31:14
阅读次数:
132
码良新技能 桌面端页面制作 最近码良迎来了一波新功能的上线,并毫无保留地继续进行了代码开源-赶紧star关注 。新上线的功能有桌面端页面制作、”楼层模式“、”正宗“布局组件(容器组件)的开发能力、组件封装、word 文档解析、psd 解析等平台功能和能力。 资源难得赶紧先关注,然后后续学习。 本文将 ...
分类:
其他好文 时间:
2020-04-28 22:59:09
阅读次数:
84