centos yum nginx 默认安装nginx 服务,重启nginx服务,报错。 nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory) nginx: [error] invalid PID nu ...
分类:
Web程序 时间:
2019-12-28 12:54:35
阅读次数:
201
通过源和目标之间设置绑定,在源更改时目标也会更改。 绑定可以设置为单向,和双向。Mode有5种。 一。通过xaml设置绑定,slier为源,TextBlock为目标。 <Slider Height="auto" Name="slider1" Margin="3" Minimum="1" Maximu ...
一、Spring Security 简介 1、Spring Security是一个能够为基于Spring的企业应用系统提供声明式的安全访问控制解决方案的安全框架。它提供了一组可以在Spring应用上下文中配置的Bean,充分利用了Spring IoC,DI(控制反转Inversion of Cont ...
分类:
编程语言 时间:
2019-12-26 17:34:29
阅读次数:
110
二进制和八进制表示法 二进制前缀0B或0b 八进制前缀0o或者0O 0b111110111 503 // true 0o767 503 // true Number()方法 将0b和0o前缀的字符串数值转为十进制 Number('0b111') // 7 Number('0o10') // 8 Nu ...
分类:
其他好文 时间:
2019-12-23 23:57:59
阅读次数:
195
在今天的这个教程中,我们来着重讲解一下如何使用Elasticsearch中的copy来提高搜索的效率。比如在我们的搜索中,经常我们会遇到如下的文档: 在这里,我们可以看到在这个文档中,我们有这样的几个字段: 它们是非常相关的。我们在想是不是可以把它们综合成一个字段,这样可以方便我们的搜索。假如我们要 ...
分类:
其他好文 时间:
2019-12-23 18:50:11
阅读次数:
559
动态规划 [TOC] 数字三角形问题 LeetCode 120.Triangle 尝试使用分治法 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent nu ...
分类:
其他好文 时间:
2019-12-22 16:41:16
阅读次数:
132
A hundred years ago it was assumed and scientifically "proved" by economists that the laws of society make it necessary to have a vast army of poor an ...
分类:
其他好文 时间:
2019-12-22 10:38:04
阅读次数:
89
Description Description Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is count ...
分类:
其他好文 时间:
2019-12-21 22:27:54
阅读次数:
111
Description Description There are n houses on a line. Given an array A and A[i] represents the position of i-th house. Now you need to pick k position ...
分类:
其他好文 时间:
2019-12-21 22:21:13
阅读次数:
107
Problem Description Problems that require minimum paths through some domain appear in many different areas of computer science. For example, one of th ...
分类:
其他好文 时间:
2019-12-21 20:35:46
阅读次数:
66