针对配置php的情况: linux服务器一般提示这个 connect() to unix:/tmp/php-cgi.sock failed (2: No such file or directory) while connecting to upstream, client: x.x.x.x, se ...
分类:
Web程序 时间:
2019-07-15 01:40:02
阅读次数:
2208
1 rsync简介 1.1 什么是rsync rsync: a fast, versatile, remote (and local) file copying toolrsync:是一种快速,多功能,远程和本地文件拷贝的工具rsync version:查看rsync软件版本备份服务重要性: 企业中 ...
分类:
其他好文 时间:
2019-07-14 15:17:37
阅读次数:
94
Problem describe:https://leetcode.com/problems/linked-list-cycle/ Ac Code: (Hash) Fast and Slow Pointer ...
分类:
其他好文 时间:
2019-07-13 20:07:44
阅读次数:
116
--异常类可以按需要自定义package com.dhht.wechat.exception;import com.alibaba.fastjson.JSONObject;import org.springframework.web.bind.annotation.ControllerAdvice; ...
分类:
编程语言 时间:
2019-07-12 21:17:17
阅读次数:
143
HashMap 几乎可以等价于 Hashtable ,除了 HashMap 是非 synchronized 的,并可以接受 null (HashMap 可以接受为 null 的键值 (key) 和值 (value),而 Hashtable则不行 )。 HashMap 是非synchronized,而 ...
分类:
其他好文 时间:
2019-07-09 22:32:02
阅读次数:
137
题目描述: uoj 题解: WTF。 看题解看了一个小时才看明白。 首先有状态$f[i][j]$表示前$i$个东西两人取,最后两人异或和为$j$的有多少方案。 转移为$f[i][j]=f[i-1][j]+2*f[i-1][j \oplus a[i]]$。 显然跑FWT做异或卷积(显然会T)。 发现卷 ...
分类:
其他好文 时间:
2019-07-08 23:52:40
阅读次数:
129
题目要求:给一个链表,若其中包含环,请找出该链表的环的入口结点,否则,输出null。 思路一: Floyd环判定算法 使用fastptr和sloeptr两个速度不相同的指针,一旦它们两个进入链表中的环,就肯定会相遇 时间复杂度O(n) 空间复杂度O(1) 错误代码:没有看清楚题目啊?不是让你判断链表 ...
分类:
其他好文 时间:
2019-07-08 12:00:28
阅读次数:
84
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { ... ...
分类:
其他好文 时间:
2019-07-07 13:04:35
阅读次数:
84
Google put the method to extract different featurebased on Slow Network and Fast Network The First Colum | The Second Column : :|: : innovation point1 ...
分类:
其他好文 时间:
2019-07-07 12:23:21
阅读次数:
128
DHCP 动态主机配置协议(Dynamic host configuration protocol) 作用:分配网络地址 选项: excluded-address 排除地址 pool IP地址池(网段 - 排除地址 = 地址池) relay DHCP代理服务器(无用) DHCP配置模式的选项: de ...
分类:
其他好文 时间:
2019-07-06 00:54:53
阅读次数:
146