摘要:
官网 https://nginx.org/en/download.html 在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、openssl-devel linux 检查是否安装过某软件包 yum -y install gcc pcre-devel zlib 阅读全文
摘要:
原数据 排序后 SELECT c1 FROM test ORDER BY CONVERT ( c1 USING gbk ) 阅读全文
摘要:
yum install ntp -y #cn.pool.ntp.org ntp[1-7].aliyun.com ntpdate ntp1.aliyun.com #把当前系统时间写入到CMOS中 clock -w 阅读全文
摘要:
yum install java-1.8.0-openjdk-devel.x86_64 阅读全文
摘要:
application.properties文件中 logging.config=classpath:logback-spring-dev.xml logback-spring-dev.xml <?xml version="1.0" encoding="UTF-8"?> <configuration 阅读全文
摘要:
#分词验证 POST _analyze { "analyzer":"ik_max_word", "text":"elasticsearch 增删查改" } #create a index PUT blog #create a mapping POST blog/_mapping { "propert 阅读全文
摘要:
1、在maven中使用ContiPerf <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <d 阅读全文
摘要:
新建js文件:例如warterMark.js 'use strict' let watermark = {} let setWatermark = (str) => { let id = '1.23452384164.123412415' if (document.getElementById(id 阅读全文
摘要:
string paras = "p1=test1&p2=test2";//参数 byte[] bytes = Encoding.UTF8.GetBytes(paras); HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create(" 阅读全文
摘要:
/** * 得到属性值 * @param obj */ public static void getAttributeValue(Object obj) { String nameValues = ""; //得到class Class cls = obj.getClass(); //得到所有属性 阅读全文