1、Vim打开Nginx配置文件vim/usr/local/nginx/conf/nginx.conf2、找到如下一段,进行修改gzip on;gzip_min_length 1k;gzip_buffers 4 16k;#gzip_http_version 1.0;gzip_comp_level 2...
分类:
其他好文 时间:
2014-11-23 17:32:40
阅读次数:
193
ZigZag ConversionThe string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern...
分类:
其他好文 时间:
2014-11-23 17:30:46
阅读次数:
289
class Solution { public: vector > ThreeSum(int a[], int n, int target) { vector > ret; for (int i = 0; i 0 && a[i] == a[i - 1]...
分类:
其他好文 时间:
2014-11-23 17:22:59
阅读次数:
232
The malloc package void* malloc(size_t size) void free (void *p) other functions calloc: Version of malloc that initializes allocated block to zero re...
分类:
其他好文 时间:
2014-11-23 17:18:55
阅读次数:
180
void Closed(TreeNode * root, const int val, int & res){ if(root==NULL) return INT_MAX; if(root->left) Closed(root->left,val,res); ...
分类:
其他好文 时间:
2014-11-23 17:11:50
阅读次数:
176
Docker的使用命令有很多,但是主要可以分为四类:第一类:环境信息相关info2.version第二类:系统运维相关1.attach2.build3.commit4.cp5.diff6.export7.p_w_picpaths8.import/save/load9.inspect10.kill11.port12.pause/unpause13.ps14.rm15.rmi16.run17.start/stop/restart18...
分类:
其他好文 时间:
2014-11-23 16:07:40
阅读次数:
189
将数列举出就可以了
DFS
Time Limit: 5000/2000 MS (Java/Others)
Memory Limit: 65536/32768 K (Java/Others)
Problem Description
A DFS(digital factorial sum) number is found by summing the ...
分类:
其他好文 时间:
2014-11-23 14:34:50
阅读次数:
154
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\ftp]@="URL:File Transfer Protocol""AppUserModelID"="Microsoft.InternetExplorer.Default""EditFla...
[Desktop Entry]Version=1.0Type=ApplicationName=SpyderGenericName=SpyderComment=Scientific PYthon Development EnviRonmentTryExec=/home/xxx/anaconda/bin...
分类:
其他好文 时间:
2014-11-23 14:26:45
阅读次数:
173
build/core/java.mk:20: *** dalvik/dexgen: Invalid LOCAL_SDK_VERSION '4' Choices are: current . Stop.以及其类似的错误:user@Ubuntu1004:~/omap3/ics-google-re/myd...
分类:
其他好文 时间:
2014-11-23 14:24:41
阅读次数:
159