Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Sil ...
分类:
其他好文 时间:
2018-08-28 13:08:21
阅读次数:
150
第一关:第一关比较简单,直接写入标签就可以,这里不多说了,payload如下: http://sqler.win/xss/level1.php?name=test%3Csvg/onload=alert(1)%3E 第二关: 第二关是比较典型的搜索框XSS,搜索内容直接写入input标签内,这里有很多 ...
分类:
其他好文 时间:
2018-08-28 13:04:06
阅读次数:
303
Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method is used. Note: Example 1: Example 2: ...
分类:
其他好文 时间:
2018-08-28 10:34:39
阅读次数:
126
Words eleven 十一 twelve 十二 thirteen 十三 fourteen fifteen sixteen seventeen eighteen nineteen twenty 二十 bench [bent?] n. 长凳;工作台;替补队员 screen [skri?n] n. 屏 ...
分类:
其他好文 时间:
2018-08-28 01:04:30
阅读次数:
163
http://acm.hdu.edu.cn/showproblem.php?pid=4578 Transformation Time Limit: 15000/8000 MS (Java/Others) Memory Limit: 65535/65536 K (Java/Others)Total S ...
分类:
其他好文 时间:
2018-08-27 21:42:59
阅读次数:
116
1:判断用户动作,“向上滑动” 或者 “向下滑动”,闲话不多说,直接上代码: 方法1 ( 利用 bindtouchmove,缺点:可能会频繁操作 setData 方法 ) : 方法2 ( 利用 bindtouchstart,bindtouchend,推荐用法,原因:用户开始滑动和结束滑动都是分别只有 ...
分类:
微信 时间:
2018-08-27 18:13:39
阅读次数:
308
最近发现渣渣ECS内存总是不够用,内存太小一不小心就用完了,用完就用完吧,内存用来做cache是可以快一些,但是内存用完了老是一顿一顿的卡,实在有点受不了,于是就写了释放内存的小脚本,觉得卡了就释放下内存。 释放之前: 直接执行释放内存,不会有任何输出: 加个-v选项,查看更多,会将释放前后的内存使... ...
分类:
系统相关 时间:
2018-08-27 00:59:13
阅读次数:
177
清水河畔上大牛的面经 10年大牛的面经 1. "直接上链接地址" 2. 专业技能的问题: Linux编程 所有互斥方法,多线程编程,进程间通信 网络编程 网络编程范式,非阻塞connect,TCP/IP(time_wait状态,如何更改这个状态的时间,OSI/TCP/IP) 简单数据结构和算法(用模 ...
分类:
其他好文 时间:
2018-08-26 23:37:37
阅读次数:
254
WPF实现主题更换的简单DEMO 实现主题更换功能主要是三个知识点: 1. 动态资源 ( DynamicResource ) 2. INotifyPropertyChanged 接口 3. 界面元素与数据模型的绑定 ( MVVM 中的 ViewModel ) Demo 代码地址: "GITHUB" ...
Description A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence ( a1, a2, ..., aN) be any seq ...
分类:
其他好文 时间:
2018-08-26 15:42:02
阅读次数:
161