单例模式 https://www.cnblogs.com/restartyang/articles/7770856.html 定义:保证一个类只有一个实例,并提供一个访问它的全局访问点 适用场景: 当一个类只有一个实例而客户可以从一个众所周知的访问点访问它时 频繁访问数据库或文件的对象。 需要频繁实 ...
分类:
其他好文 时间:
2021-06-03 18:07:15
阅读次数:
0
1.创建目录:/gitbook/gitbook 和 /gitbook/html 2. /gitbook/gitbook目录下,touch新建README.md SUMMARY.md 3. docker安装gitbook 4.docker进入gitbook,进行初始化 5.每次改动md源文件后,都要重 ...
分类:
其他好文 时间:
2021-06-03 18:06:56
阅读次数:
0
1 下载解压elasticsearch tar -zxvf elasticsearch-7.6.1-linux-x86_64.tar.gz 2)修改config/elasticsearch.yml vim config/elasticsearch.yml cluster.name: my-appli ...
分类:
系统相关 时间:
2021-06-03 18:02:47
阅读次数:
0
文件以及文件夹帮助类(FileHelper) 代码: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threadi ...
分类:
其他好文 时间:
2021-06-03 17:58:33
阅读次数:
0
#-*-coding:utf-8-*- # @Time :2021/4/22 7:08 # @Author:shuaichao # @File :.py # @Software: PyCharm from bs4 import BeautifulSoup #网页解析,获悉数据.231 import ...
分类:
其他好文 时间:
2021-06-03 17:56:50
阅读次数:
0
def print(self, *args, sep=' ', end='\n', file=None): # known special case of print """ print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=Fa ...
分类:
编程语言 时间:
2021-06-03 17:49:48
阅读次数:
0
实用命令 chmod 700 file 只允许文件所有者进行rwx操作 参考资料 https://www.runoob.com/linux/linux-comm-chmod.html ...
分类:
系统相关 时间:
2021-06-03 17:46:03
阅读次数:
0
In Microsoft Dynamics 365 Finance and Operations there are two APIs strategies that support file-based integration scenarios: Data management framewor ...
查看帮助 $ mkdir --help Usage mkdir [OPTION]... DIRECTORY... Option -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask -p, --parents no error ...
分类:
系统相关 时间:
2021-06-03 17:41:30
阅读次数:
0
简述 session是一种服务器端会话技术,在一次会话的多次请求间共享数据,将数据放在服务器端。 HttpSession类入门 HttpSession是对session数据的操作进行了一个封装,它是一个接口 获取HttpSession对象 HttpSession session = request. ...
分类:
其他好文 时间:
2021-06-02 20:50:41
阅读次数:
0