上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: #查询慢查询日志文件路径show variables like '%slow_query%';#开启慢查询日志 set global slow_query_log=1; #设置慢查询阀值为0,将所有的语句都记入慢查询日志 set global long_query_time=0;#未使用索引的查询也被记录到慢查询日志中set global log-queries-not-using-indexe... 阅读全文
posted @ 2019-05-20 23:12 宇的季节 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Webpack & The Hot Module Replacement热模块替换原理解析 The Hot Module Replacement(HMR)俗称热模块替换。主要用来当代码产生变化后,可以在不刷新游览器的情况下对局部代码块进行替换更新。这在很多情况下都很有用,例如在处理弹出框时,使用HM 阅读全文
posted @ 2019-05-01 23:13 宇的季节 阅读(1853) 评论(0) 推荐(3) 编辑
摘要: 环境:linux deepin15.7 mysql 5.7 1.开启binlog vim /etc/mysql/mysql.conf.d/mysqld.cnf 添加 log_bin = /var/log/mysql/mysql-bin.log 添加 server-id = 1 2.重启 mysql 阅读全文
posted @ 2019-03-14 23:00 宇的季节 阅读(2425) 评论(0) 推荐(0) 编辑
摘要: 问题描述 ssh具有-i选项,用于告知在验证时使用哪个私钥文件: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. The defa 阅读全文
posted @ 2019-02-26 22:51 宇的季节 阅读(12482) 评论(1) 推荐(1) 编辑
摘要: https://zhenyong.github.io/react/tips/dom-event-listeners.html 阅读全文
posted @ 2019-02-24 11:50 宇的季节 阅读(8570) 评论(0) 推荐(3) 编辑
摘要: Shadowsocket 安装 #如果报错(locale.Error: unsupported locale setting) #export LC_ALL=C #升级PIP pip install --upgrade pip #如果报错(Please install setuptools.) #p 阅读全文
posted @ 2019-02-06 01:50 宇的季节 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.devtools spring为开发者提供了一个名为spring-boot-devtools的模块来使Spring Boot应用支持热部署,提高开发者的开发效率,无需手动重启Spring Boot应用。 2.项目搭建 本文是采用IDEA搭建的Spring Boot应用,通过spring-boot 阅读全文
posted @ 2019-01-20 23:00 宇的季节 阅读(28126) 评论(0) 推荐(4) 编辑
摘要: 在使用git时,通常是直接ssh-keygen生成默认秘钥.然后将共钥添加到远程仓库,就可以访问了. 但是,当我们有多个repository时,这种方式就不适用了,因为一个秘钥只能关联一个远程仓库. 如果想同时管理多个repository,这时就需要生成多个秘钥,然后配置秘钥和远程仓库的关联. 步骤 阅读全文
posted @ 2018-12-08 12:44 宇的季节 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 解决方案:安装常用的中文字体 # 文鼎宋体[推荐] sudo apt install fonts-arphic-uming # 文鼎楷体[推荐] sudo apt install fonts-arphic-ukai # 思源宋体[推荐] sudo apt install fonts-adobe-so 阅读全文
posted @ 2018-10-22 15:36 宇的季节 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: 很可能是rvm仓库版本过低,运行以下命令: rvm get head 阅读全文
posted @ 2018-09-26 22:56 宇的季节 阅读(1659) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页