MongoDB简介 基于分布式文件存储的开源数据库系统 将数据存储为一个文档,文档类似于Json格式 MongoDB进入与退出 进入:mongo 退出:exit 库级操作 显示所有库: show dbs 切换/创建数据库: use 数据库名称 查看所在库: db 删除库:db.dropDatabas ...
分类:
数据库 时间:
2019-11-25 23:22:06
阅读次数:
105
python @property装饰器 输出: ...
分类:
编程语言 时间:
2019-11-24 13:52:35
阅读次数:
56
网络结构如下图: 共有104、105、106三台RabbitMQ Server,互为集群 其中104和105安装了Haproxy,每个Haproxy承担三台RabbitMQ server的负载均衡 两台Harpoxy采用Keepalived互为主备,VIP是172.16.0.108 操作系统为Ubu ...
分类:
其他好文 时间:
2019-11-24 13:29:55
阅读次数:
91
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to count the total strobog ...
分类:
其他好文 时间:
2019-11-24 10:19:47
阅读次数:
56
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that are o ...
分类:
其他好文 时间:
2019-11-24 09:33:35
阅读次数:
65
配置文件读写系统方法和测试函数 #include"readConfig.h" #define CFGNAME "./test.txt" void mymenu() { printf(" \n"); printf("1 Test Write Config file\n"); printf("2 Tes ...
分类:
其他好文 时间:
2019-11-23 23:29:09
阅读次数:
70
一、键盘事件及监听处理: 在Swing的事件处理中,使用KeyListener接口,可以对键盘的操作进行监听 KeyListener 可通过KeyEvent取得取得键盘键入的内容。 KeyEvent 二、鼠标事件及监听处理: 使用MouseListener接口可以对一个鼠标的操作进行监听。 Mous ...
分类:
其他好文 时间:
2019-11-23 20:25:46
阅读次数:
73
一、组长链接 二、现代软件工程 项目Postmortem 模板 设想和目标 1.我们的软件要解决什么问题?是否定义得很清楚?是否对典型用户和典型场景有清晰的描述? 我们的软件要解决的问题是对福大校内各个任务群、拼车群的资源整合,方便校内学生以更高的效率拼到车或发布任务。另外还有一个板块用来给大家讨论 ...
分类:
其他好文 时间:
2019-11-23 14:45:54
阅读次数:
70
1 #define IOS ios_base::sync_with_stdio(0); cin.tie(0); 2 #include <cstdio>//sprintf islower isupper 3 #include <cstdlib>//malloc exit strcat itoa sys ...
分类:
其他好文 时间:
2019-11-22 19:13:32
阅读次数:
70
1. 文法 G(S): (1)S -> AB (2)A ->Da|ε (3)B -> cC (4)C -> aADC |ε (5)D -> b|ε 验证文法 G(S)是不是 LL(1)文法? FIRST(Da)={b,a} FIRST(ε)={ε} FIRST(aADC)={a} FIRST(b)= ...
分类:
其他好文 时间:
2019-11-21 22:36:37
阅读次数:
128