Squid是代理软件,可缓存减低IO,可做正向代理(企业使用,降低宽带使用率)、反向代理(网站静态项缓存如图片、流媒体等,用于网站架构)。一、Squid正向代理##查看版本号squid-v#配置squid的配置文件,先清空,后加入echo“”>/etc/squid/squid.confvim/etc/squid/squid.c..
分类:
其他好文 时间:
2015-10-10 12:39:32
阅读次数:
270
[Problem]Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the...
分类:
其他好文 时间:
2015-10-10 00:25:21
阅读次数:
202
1.press Ctrl+Space to activate content assist2.press Ctrl+1 to showa selection dialog with possible corrections3.代码折叠的快捷键:Ctrl+Shift+Numpad_Divede(小键盘...
分类:
系统相关 时间:
2015-10-09 22:57:15
阅读次数:
178
防火墙的开启与关闭 ? ????centos7的防火墙设置和以前不一样了,一定要注意。</br> ?? It is possible to go back to a more classic iptables setup. First, stop and mask the firewalld service: syst...
分类:
其他好文 时间:
2015-10-08 20:14:04
阅读次数:
225
[Problem]Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see b...
分类:
其他好文 时间:
2015-10-06 01:51:36
阅读次数:
142
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:
其他好文 时间:
2015-10-05 08:12:19
阅读次数:
168
Given a collection of integers that might contain duplicates,nums, return all possible subsets.Note:Elements in a subset must be in non-descending ord...
分类:
其他好文 时间:
2015-10-05 07:01:55
阅读次数:
141
Given a string of numbers and operators,return all possible results from computing all the different possible waysto group numbers and operators. The ...
分类:
其他好文 时间:
2015-10-03 21:49:32
阅读次数:
246
LeetCode AC code failed last case with TLE. We need further pruning - we only enumerate all possible lengths of all dict words.class Solution { vec...
分类:
其他好文 时间:
2015-10-03 07:20:37
阅读次数:
191
原题:Prime summationsIt is possible to write ten as the sum of primes in exactly five different ways:7 + 35 + 55 + 3 + 23 + 3 + 2 + 22 + 2 + 2 + 2 + 2Wh...
分类:
其他好文 时间:
2015-10-02 17:15:17
阅读次数:
212