初始化设置 # 列举所有配置 git config -l # 配置本地仓库的人员姓名 git config --global user.name "<your name>" # 配置本地仓库的人员email git config --global user.email <your email> # ...
分类:
其他好文 时间:
2020-07-26 01:09:09
阅读次数:
112
一、前提条件:连接数据库 二、步骤 1、导包 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.3</ve ...
分类:
编程语言 时间:
2020-07-25 23:53:09
阅读次数:
76
import smtplib from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart from email.m ...
分类:
其他好文 时间:
2020-07-24 21:35:46
阅读次数:
72
laravel 自带语法糖 通过value方法查询指定字段的值 $name = 'bigcola'; $email = DB::table('users')->where('name',$name)->value('email'); 通过exists方法判断某个字段值是否存在 $exists = D ...
分类:
其他好文 时间:
2020-07-24 19:03:07
阅读次数:
89
insert into t_user (id, avatar, create_time, email, nick_name, password, type, update_time, user_name, file_id, register_method, token, short_message, ...
分类:
数据库 时间:
2020-07-24 16:25:00
阅读次数:
102
做小程序的同事跑来和我说,小程序不支持PATCH请求,要我改一下,小程序确实不支持,配合同事改下所有请求方式为PATCH的接口吧; 原接口请求方式: /** * @author zengwei * @email zengwei_str@163.com * @date 2020/7/18 09:33 ...
分类:
编程语言 时间:
2020-07-24 09:26:16
阅读次数:
89
使用情景:系统通知用户,通知方式有站内信,邮件,手机短信3种方式,信的内容分普通,紧急两种程度,为了不避免两两组合,m* n种可能的搭配,使用桥接模式 // 抽象 abstract class Info{ protected $_send = null; // 发送器 (site, email, s ...
分类:
Web程序 时间:
2020-07-24 09:18:59
阅读次数:
95
在Zabbix Server服务器上安装oracle-instantclient11.2后,结果使用sqlplus命令时遇到“sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object f... ...
分类:
数据库 时间:
2020-07-23 23:19:25
阅读次数:
107
1、给一个person表,有id,email,查找不重复的按照id排序 Select distinct email from person order by asc ...
分类:
数据库 时间:
2020-07-23 18:55:40
阅读次数:
84
一、prometheus介绍 Prometheus是一套开源的系统监控报警框架。Prometheus作为新一代的云原生监控系统,相比传统监控监控系统(Nagios或者Zabbix)拥有如下优点。 易管理性Prometheus: Prometheus核心部分只有一个单独的二进制文件,可直接在本地工作, ...
分类:
其他好文 时间:
2020-07-22 16:12:26
阅读次数:
66