摘要: 一、安装JDK 公共JRE可以不需要 1、配置环境变量 建议配置在用户变量里面 (1)、新建JAVA_HOME,变量值:D:\software\dex\Java\jdk1.8.0_44(这是JDK安装路径); (2)、新建PATH,变量值:%PATH%;%JAVA_HOME%\bin;%JAVA_H 阅读全文
posted @ 2018-12-21 19:27 Quentin-wy 阅读(738) 评论(0) 推荐(0) 编辑
摘要: 一、快速创建SpringBoot项目(IDEA) 1、file--New--Project--Spring Initialzier选中JDK版本,选中一直下一步就可以。 项目结构图如下: 二、SpringBoot常用配置设置 1、使用application.yml配置文件,为了区别正式/测试环境,我 阅读全文
posted @ 2018-12-14 16:13 Quentin-wy 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 指定Log文件夹下面,按照月份归类,每天一个日志,如下图: 代码如下: public static string getServerPath(string ServiceName) { string currentPath = AppDomain.CurrentDomain.BaseDirector 阅读全文
posted @ 2018-12-12 10:06 Quentin-wy 阅读(532) 评论(0) 推荐(0) 编辑
摘要: PhpStorm下载地址: PhpStorm Mac 版:http://www.php.cn/xiazai/gongju/510 PhpStorm 18.2.1 Win版:http://www.php.cn/xiazai/gongju/122 安装完汉化操作: 对于初次使用phpstorm的新手来说 阅读全文
posted @ 2018-12-08 11:15 Quentin-wy 阅读(1247) 评论(0) 推荐(0) 编辑
摘要: 一、发送邮件方法 1 ///<summary> 2 /// 发送邮件方法 3 ///</summary> 4 ///<param name="mailTo">收件人邮箱</param> 5 ///<param name="mailSubject">邮件标题</param> 6 ///<param n 阅读全文
posted @ 2018-12-08 10:38 Quentin-wy 阅读(2014) 评论(0) 推荐(0) 编辑
摘要: 一、准备工作 1、确定电脑上已经成功安装jdk7.0以上版本 2、win10操作系统 3、maven安装包 下载地址:http://maven.apache.org/download.cgi 二、解压Maven安装包 在上述地址中下载最新的Maven版本,解压到指定目录(此处根据自己的需要),本人解 阅读全文
posted @ 2018-12-07 15:12 Quentin-wy 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1、下载文件 1)、instantclient-basic-win64-12.zip 链接:https://pan.baidu.com/s/1EkFYPLObst2-oCmj8-nzYQ 提取码:vedd 2)、plsqlde_x64_chs.rar 链接:https://pan.baidu.com 阅读全文
posted @ 2018-12-07 14:52 Quentin-wy 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 一、查询操作 1.1 查询单表语句 select * from Table; 1.2 查询多表关联语句 select T.id,T2.name FROM Table T left join (select * from Table2 where id>10) T2 on T.fid =T2.id; 阅读全文
posted @ 2018-11-28 20:54 Quentin-wy 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 一、C#字符串相关 1、字符串截取 string str = "123abc456"; str = str.Substring(0, 4); //取前面几个字符 123a str = str.Substring(3); //从第几个位置取后面字符 abc456 2、替换指定字符串 string st 阅读全文
posted @ 2018-11-27 14:12 Quentin-wy 阅读(1634) 评论(0) 推荐(0) 编辑
摘要: 一、PHP字符串相关 1、字符串截取(开始位置、长度) echo substr("Hello world",0,10)."<br>"; //Hello worlecho substr("Hello world",0,-1)."<br>"; //Hello worlecho substr("Hello 阅读全文
posted @ 2018-11-22 10:05 Quentin-wy 阅读(5198) 评论(0) 推荐(0) 编辑