题目: Reverse digits of an integer. Have you thought about this? Here are some good questions to ask before coding. Bonus points for you if you have alr ...
分类:
其他好文 时间:
2017-08-05 15:41:13
阅读次数:
125
user root; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; event... ...
分类:
其他好文 时间:
2017-08-04 12:45:22
阅读次数:
234
D. Mike and distribution 构造法 798D - Mike and distribution In the beginning, it's quite easy to notice that the condition " 2·(ap1?+?...?+?apk) is grea ...
分类:
其他好文 时间:
2017-08-02 00:28:26
阅读次数:
181
C. Mike and gcd problem 一奇一偶需要两次操作,两个奇数需要一次操作。 798D - Mike and distribution In the beginning, it's quite easy to notice that the condition " 2·(ap1?+? ...
分类:
其他好文 时间:
2017-08-01 20:47:09
阅读次数:
171
#定义Nginx运行的用户和用户组userocbsocbs;#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[debug|info|notice|warn|error|crit]error_log/var/log/nginx/error.loginfo;#进程文件pid/var/run/nginx.pid;#一个nginx进程打开的最多文件描..
分类:
其他好文 时间:
2017-07-31 22:05:38
阅读次数:
104
find/-namenginx.conf#定义Nginx运行的用户和用户组userwwwwww;#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[debug|info|notice|warn|error|crit]error_log/var/log/nginx/error.loginfo;#进程文件pid/var/run/nginx.pid;#一个nginx进..
分类:
其他好文 时间:
2017-07-31 22:04:02
阅读次数:
192
PHP中错误的级别 在PHP中,错误会被被分成不同的等级的,如下图 notice和warning级别的错误不会影响下面脚本的执行,但是error级别的错误,会影响脚本的执行 ...
分类:
Web程序 时间:
2017-07-30 18:01:41
阅读次数:
168
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { ...
分类:
其他好文 时间:
2017-07-28 09:53:36
阅读次数:
225
从一台服务器上拷贝php-fpm程序到另一台后启动提示错误:/etc/init.d/php-fpm-5.4start
Startingphp-fpm[27-Jul-201711:31:39]NOTICE:PHPmessage:PHPWarning:PHPStartup:Unabletoloaddynamiclibrary‘/usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/gearman.so..
分类:
Web程序 时间:
2017-07-27 13:36:08
阅读次数:
414
You'll begin to notice as you build out your actions in Vuex, many of them will look quite similar. Creating a remove action looks almost the same as ...