每分钟访问云签到任务执行页面。顺便记录了下curl的用法。以下内容摘自阮一峰博客。 一、查看网页源码 直接在curl命令后加上网址,就可以看到网页源码。我们以网址www.sina.com为例(选择该网址,主要因为它的网页代码较短): $ curl www.sina.com <!DOCTYPE HTM ...
分类:
Web程序 时间:
2017-09-29 11:02:51
阅读次数:
285
The file * couldn't be opened because you don't have permission to view it. 最近,经常在接收别人的代码时出现,出现的原因的可能性也有很多,现在我列举一部分: 第一种:查看工程中警告,发现需要更新旧工程的设置: 双击警告,在弹 ...
分类:
其他好文 时间:
2017-09-28 18:07:31
阅读次数:
681
Given a list of numbers, return all possible permutations. You can assume that there is no duplicate numbers in the list. Given a list of numbers, ret ...
分类:
其他好文 时间:
2017-09-28 10:07:25
阅读次数:
190
1、Educational Codeforces Round 29 F.Almost Permutation (见CF题记《Educational Codeforces Round 29》) ...
分类:
其他好文 时间:
2017-09-26 00:58:37
阅读次数:
113
转自 http://czmmiao.iteye.com/blog/1949225 简介之所以能用到这个命令,关键是由于很多命令不支持|管道来传递参数,而日常工作中有有这个必要,所以就有了xargs命令,例如: 这个命令是错误的find /sbin -perm +700 |ls -l 这样才是正确的f ...
分类:
其他好文 时间:
2017-09-24 23:36:38
阅读次数:
249
NOIP 信心赛zzq题目名称函数排列数字串代码文件名func perm num输入文件名func.in perm.in num.in输出文件名func.out perm.out num.out时间限制1s 2s 2s空间限制512MB 512MB 512MB子任务分值10 20 30 40 10 ...
分类:
其他好文 时间:
2017-09-24 20:20:25
阅读次数:
287
T 1 . 回形遍历( ( calc .cpp/c/pas) 时间限制:1 1s s内存 限制: 256MB【问题 描 述】给出一个 n*m 的棋盘,按如下方式遍历,请问(x,y)往后 z 步走到的是哪个格子。 【输入】输入文件名为 calc.in。一行,包含五个整数:n,m,x,y,z【输出】输出 ...
分类:
其他好文 时间:
2017-09-23 18:48:15
阅读次数:
178
Visual GC提示"不受此JVM支持“解决方案 (配置jstatd) ...
分类:
Web程序 时间:
2017-09-23 14:26:07
阅读次数:
1834
前面写了Android6.0权限介绍和权限单个,多个申请,用的是纯Java代码,本文主要说的是借助第三方库来实现权限申请。 借助第三方库 RxPermissions来申请6.0权限。 RxPermissions库地址:https://github.com/tbruyelle/RxPermission ...
分类:
移动开发 时间:
2017-09-23 10:36:33
阅读次数:
201
class Solution { public void nextPermutation(int[] nums) { int i=nums.length-1; while(i>0&&nums[i-1]>=nums[i])i--; if(i==0) { Arrays.sort(nums); ... ...
分类:
其他好文 时间:
2017-09-23 10:22:28
阅读次数:
145