公司需要升级PHP版本至PHP7,对于用惯了wamp的来说,添加一下PHP扩展应该是很容易的,看我以前的文章(WampServer自己DIY添加apache、php、mysql版本)。 不过再配置的当中并不顺利,要集成php7.1.15花了一点时间,因为使用的是 wampserver2.2e-php ...
分类:
Web程序 时间:
2018-03-08 14:14:53
阅读次数:
301
A great forest is set on fire by a small spark. 最小的火能点着最大的树林。 It is just a spark, but it is enough to light the way forward for me. It is just a spark ...
分类:
其他好文 时间:
2018-03-04 19:59:40
阅读次数:
175
user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error ...
分类:
其他好文 时间:
2018-03-03 15:22:40
阅读次数:
188
Each day has enough trouble of its own. 一天的难处一天当。 Looking into the sunset I can't help but notice that despite its beauty, a sense of struggle and hop ...
分类:
其他好文 时间:
2018-03-02 14:53:31
阅读次数:
173
How would you design a URL shortening service that is similar to TinyURL? Background:TinyURL is a URL shortening service where you enter a URL such as ...
分类:
Web程序 时间:
2018-02-28 10:37:13
阅读次数:
185
Redis 配置 由 youj 创建, 最后一次修改 2015-07-31 18:53:00 Redis 配置 Redis 的配置文件位于 Redis 安装目录下,文件名为 redis.conf。 你可以通过 CONFIG 命令查看或设置配置项。 语法 Redis CONFIG 命令格式如下: re... ...
分类:
其他好文 时间:
2018-02-21 00:24:23
阅读次数:
178
常见的三种错误: 1.Notice :通知性错误,最小的错误,当发生通知性错误时,会弹出一个提示信息。不会中断代码的执行。 错误代码: 2.Warning:警告性错误,当发生警告性错误后,会弹出一个警告信息,他不会中断程序向下运行。 3.Error:致命性错误,当发生致命性错误后,会弹出一个致命错误 ...
分类:
Web程序 时间:
2018-02-20 19:03:07
阅读次数:
214
vue是通过数据劫持的方式来做数据绑定的,其中最核心的方法便是通过Object.defineProperty()来实现对属性的劫持,达到监听数据变动的目的。 如果不熟悉defineProperty,猛戳这里 整理了一下,要实现mvvm的双向绑定,就必须要实现以下几点:1、实现一个数据监听器Obser ...
分类:
其他好文 时间:
2018-02-19 16:18:12
阅读次数:
247
#定义Nginx运行的用户和用户组user www www; #nginx进程数,建议设置为等于CPU总核心数。worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]error_log /var/ ...
分类:
其他好文 时间:
2018-02-11 14:29:36
阅读次数:
142
An Old but Classic Problem 给定一个$n$个点,$m$条边的带正权有向图。给定$s$和$t$,询问$s$到$t$的所有权和为正路径中,第$k$短的长度。 Notice 定义两条路径不同,当且仅当它们的边集中存在一条边,使得它只在其中的一条路径上。 An Old but Cl ...
分类:
编程语言 时间:
2018-02-10 17:06:42
阅读次数:
185