flask日志设置 在App/utils/ 新建loggings.py文件 from flask import request import logging import logging.handlers import os class RequestFormatter(logging.Format ...
分类:
其他好文 时间:
2021-02-19 12:57:16
阅读次数:
0
GitHub和git的相关操作 初始化一个git仓库 将当前文件夹作为git仓库 git init 或者将当前文件夹下的xxx文件夹作为git仓库 git init xxx 初始化后会出现一个名为.git的隐藏文件夹 添加远程仓库GitHub 给远程仓库git@github.com:phd99/te ...
分类:
其他好文 时间:
2021-02-19 12:55:07
阅读次数:
0
Pod数据持久化 k8s中的volume提供了在容器中挂载外部存储的能力,Pod需要设置卷来源(spec.volume)和挂载点(spec.containers.volumeMounts)这两个信息后 才可以使用相应的volume 官方对volume的介绍: Docker 也有 Volume 的概念 ...
分类:
其他好文 时间:
2021-02-18 13:30:42
阅读次数:
0
Redis的基本介绍 1.Redis是NoSQL数据库,不是传统的关系型数据库 官网:https://redis.io/和http://www.redis.cn/ 2.Redis:REmote Dictionary Server(远程字典服务器),Redis的性能非常高,单机能够达到15w qps, ...
分类:
数据库 时间:
2021-02-18 13:18:56
阅读次数:
0
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter ...
分类:
其他好文 时间:
2021-02-18 13:05:15
阅读次数:
0
最近才发现ThinkPHP6.0和CI4.x都要求php版本为7.1以上了,本机的php版本还停留在7.0.3x,又懒得升级,于是考虑使用Docker来运行一个lnmp环境。 常规环境搭建的方式有两种,一种是把php、mysql、nginx分别编写一个Dockerfile,然后再使用docker-c ...
分类:
其他好文 时间:
2021-02-17 15:01:20
阅读次数:
0
Perfect简介:Perfect框架是Swift的服务器框架之一。 环境:MacOS 10.15.6 ,Xcode 12.3 1、新建一个文件夹 2、终端 cd到上面创建的文件夹,然后命令 git clone https://github.com/PerfectlySoft/PerfectTemp ...
分类:
编程语言 时间:
2021-02-17 14:49:14
阅读次数:
0
解决idea创建Maven项目时 No archetype found in remote catalog. Defaulting to internal catalog 下载archetype-catalog.xml下载地址:https://repo1.maven.org/maven2/arche ...
分类:
其他好文 时间:
2021-02-17 14:41:35
阅读次数:
0
前言 因为在jenkins 过程中一般需要去处理一些git的东西,为了完整性,填补一下git管理安装,这里使用gogs,因为gogs比较小,我运行的小机器能够承受,当然只适合个人,这里用来做实验,网上特别多,但是这里详细一点。 正文 1.gogs 下载,可以用window下载传输到linux,在此之 ...
分类:
其他好文 时间:
2021-02-17 14:22:13
阅读次数:
0
1047 Student List for Course Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, ...
分类:
其他好文 时间:
2021-02-17 14:09:06
阅读次数:
0