Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2019-03-30 17:22:24
阅读次数:
163
ShellSort He made each turtle stand on another one's back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He sat down on ...
分类:
系统相关 时间:
2019-03-30 10:37:28
阅读次数:
135
一、vs code 的常用快捷键 1、注释: a) 单行注释:[ctrl+k,ctrl+c] 或 ctrl+/ b) 取消单行注释:[ctrl+k,ctrl+u] (按下ctrl不放,再按k + u) c) 多行注释:[alt+shift+A] d) 多行注释:/** 2、移动行:alt+up/do ...
分类:
其他好文 时间:
2019-03-30 10:23:08
阅读次数:
244
20175221 3.24网络攻防选拔题部分write up Q1:百度一下,你就知道 解压题目得到一个文件夹和一个网址 打开文件夹,有三张图片 用winhex和stegsolve查看三张图片,没有发现异常。Kali里面binwalk跑一下,也没有隐藏文件。不太像隐写题,可能是web,将目标移到网址 ...
分类:
其他好文 时间:
2019-03-29 22:21:11
阅读次数:
350
1,当前服务器时间,up,服务器离上一次重启过了多久,多少个用户在使用,cpu平均负载,grep 'core id' /proc/cpuinfo | sort -u | wc -l ,一般来说4个,你跑到4代表跑满了,网上经验说 跑到0.7 2,task,总任务数量,在运行的,睡眠的,停止的,僵尸进 ...
分类:
其他好文 时间:
2019-03-29 19:26:08
阅读次数:
143
{ iconCls: 'zyl_icons_showdetail', tooltip: '查看', handler: function(gridView, rowIndex, colIndex) { var rowInfo = gridView.up('grid... ...
分类:
Web程序 时间:
2019-03-29 14:45:23
阅读次数:
173
ubuntu18.10 忘记root密码解决方法; 拭目以待: 1、重启ubuntu,随即长按shift进入grub菜单,选择Advanced options for Ubuntu; 2、选择第二个高级模式recovery mode进入 3、通过up键和down键选中recovery mode选项, ...
分类:
系统相关 时间:
2019-03-29 13:16:47
阅读次数:
218
1.ip命令show/manipulaterouting,devices,policyroutingandtunnelsip[OPTIONS]OBJECT{COMMAND|help}OBJECT:={link|address|route}1)link:networkdevice.list用ip命令显示网络设备的运行状态show[devIFace]指定接口显示[up]仅显示处于激活状态的接口setd
分类:
系统相关 时间:
2019-03-27 22:49:11
阅读次数:
246
https://www.infoq.com/articles/thoughts-on-test-automation-in-agile Start Small Balance the cost vs. ROI well and come up with a bare minimum working ...
分类:
其他好文 时间:
2019-03-27 00:20:26
阅读次数:
167
https://codeforces.com/gym/102082 题意: 给一个数组大小不超过1e5,每个数的值也是1e5以内,可以交换相邻两个数,求保证它呈现一个非递减再非递增的趋势的最小交换次数。 题解: 对每个数来说,只有两种情况,要么参与非递减部分要么参与非递增部分,对于前者它要移的次数就 ...
分类:
编程语言 时间:
2019-03-26 13:37:25
阅读次数:
209