如果使用./support-files/mysql.server 文件启动,则默认读取/etc/my.cnf 配置文件,这种方式有时候启动不了 报错 :The server quit without updating PID file 所以我们使用启动命令mysqld_safe启动,多个实例只是重复 ...
分类:
数据库 时间:
2019-05-19 14:22:02
阅读次数:
155
The first assignment of this course asked me to write some string manipulation functions without using any string library. I got stuck in the function ...
分类:
其他好文 时间:
2019-05-19 10:29:33
阅读次数:
127
Powering the Industrial Revolution In Britain one of the most dramatic changes of the Industrial Revolution was the harnessing of power. Until the rei ...
分类:
其他好文 时间:
2019-05-18 18:50:43
阅读次数:
117
在SpringBoot的官方文档中,可以看到, 如果想保持Spring Boot MVC原本的配置(自动配置)并且又想增加自己的配置,那么add your own @Configuration class of type WebMvcConfigurer but without @EnableWeb ...
分类:
编程语言 时间:
2019-05-13 23:23:31
阅读次数:
205
自从公司使用大数据产品之后,就很少碰开源的东西了,集群出问题也是跟研发沟通,前些天有朋友问我,怎么能把hive底层的引擎换成spark,我想了想,是不是将hive的数据库共享给spark然后用spark-shell不就好了,后来查了查资料,原来不是这样的,这里面的操作还挺多了。哎,真的是,用了别人产品,开发是方便了,原理懂的就少了,小编一直还沉浸在用一条SQL底层就能转换的
分类:
其他好文 时间:
2019-05-12 01:07:14
阅读次数:
171
L79 geo 模块默认编译进nginx 可以通过--without-http_geo_module禁用 然后测试该配置 curl -H 'X-Forwarded-For:192.168.1.123' https://shop.com.cn/ 返回 UK 字符串 因为匹配到了 192.168.1.1 ...
分类:
其他好文 时间:
2019-05-05 18:05:41
阅读次数:
163
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
编程语言 时间:
2019-05-05 14:41:47
阅读次数:
164
1. 原始题目 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 示例 2: 示例 3: 2. 思路 双指针法。[i,j]左闭又闭区间为当前子串,如果j+1位置的元素没有重复则继续加入,否则i+1直到没有重复元素。那么如何确定是否重复呢,有两种方法,第一种是循环判断在字串 ...
分类:
其他好文 时间:
2019-05-02 11:48:01
阅读次数:
117
Given a set of candidate numbers (`candidates`) (without duplicates) and a target number (`target`), find all unique combinations in `candidates` wh... ...
分类:
其他好文 时间:
2019-04-30 19:53:06
阅读次数:
151
什么是安全模式 在mysql中,如果在update和delete没有加上where条件,数据将会全部修改。不只是初识mysql的开发者会遇到这个问题,工作有一定经验的工程师难免也会忘记写入where条件。为了避免失误造成的数据全部修改和删除,可开启mysql的安全模式。 安全模式的开启与关闭 连接到 ...
分类:
数据库 时间:
2019-04-26 14:48:10
阅读次数:
224