let date = new Date() for (let m = 1; m < 13; m++) { let num = new Date(date.getFullYear(), m, 0).getDate(); for (let i = 1; i < num + 1; i++) { //再把天 ...
分类:
Web程序 时间:
2021-05-25 17:54:29
阅读次数:
0
public class TestDemo { public static void main(String[] args) { //打印三角形 for (int i = 1; i <= 5; i++) { { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { System.out.print(i+ "*" ...
分类:
其他好文 时间:
2021-05-25 17:50:06
阅读次数:
0
一、介绍 1、基本介绍 MongoDB部署架构分为单机、复制集群、分片集群。单机适合学习用,分片集群比较复杂且运维难度高。 分片集群是把大型数据集进行拆分,分片到多个MongoDB节点上,这些节点组成了分片集群。分片结构如下: 2、词汇表 Shard:分片,存储集群中的一部分数据。可以是单个mong ...
分类:
数据库 时间:
2021-05-25 17:49:26
阅读次数:
0
<script> function main(config){ // const dbHost = config && config.db && config.db.host; const dbHost =config?.db?.host; console.log(dbHost); // 192.1 ...
分类:
其他好文 时间:
2021-05-25 17:41:36
阅读次数:
0
滑块验证码https://www.cnblogs.com/lshedward/p/10381146.html ...
分类:
其他好文 时间:
2021-05-25 17:38:36
阅读次数:
0
Mac本身安装了ssh服务,但是默认情况下不会开机自启,因此当我们需要用到ssh相关的功能时,只需以下一条命令即可。 1、启动sshd服务 sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 2、查看是否启动 sudo lau ...
分类:
系统相关 时间:
2021-05-25 17:36:11
阅读次数:
0
1、OS模块 函数/变量 描述 os.environ 系统的环境变量 os.system(command) 在子shell中执行操作系统命令, 注意使用双引号,没有加入系统环境变量的应用,要使用全路径,否则直接使用可执行程序如pycharm64.exe os.sep 路径中使用的分隔符 os.pat ...
分类:
编程语言 时间:
2021-05-24 17:23:30
阅读次数:
0
String类概述 String表示字符串,所有的字符串字面值都是常量(如"abc","hello"),也是字符串的对象。 字符串对象有两种形式 String s1="abc" 这就是一个字符串对象 String s2=new String("abc") 这也是一个字符串对象 两种创建对象的区别 1 ...
分类:
编程语言 时间:
2021-05-24 17:06:04
阅读次数:
0
https://blog.csdn.net/weixin_44882864/article/details/102958973 https://blog.csdn.net/weixin_43078114/article/details/103511970 ...
分类:
其他好文 时间:
2021-05-24 16:51:49
阅读次数:
0