题目描述 Every year in Wisconsin the cows celebrate the USA autumn holiday of Halloween by dressing up in costumes and collecting candy that Farmer John l ...
分类:
其他好文 时间:
2018-03-07 21:44:44
阅读次数:
171
Question: 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. Th ...
分类:
其他好文 时间:
2018-03-07 11:41:36
阅读次数:
166
Android的EditText通过setOnEditorActionListener给文本编辑框设置监听事件,但是在其处理方法onEditorAction中的逻辑在每次回车后都触发了两次,原来是在键盘回车的ACTION_UP和ACTION_DOWN时都会触发这个方法,因此修改代码如下,就防止了两次 ...
分类:
其他好文 时间:
2018-03-06 17:15:57
阅读次数:
194
快捷键 格式调整 - Ctrl+S:保存文件 - Ctrl+[, Ctrl+]:代码行缩进 - Ctrl+Shift+[, Ctrl+Shift+]:折叠打开代码块 - Ctrl+C Ctrl+V:复制粘贴,如果没有选中任何文字则复制粘贴一行 - Shift+Alt+F:代码格式化 - Alt+Up... ...
分类:
其他好文 时间:
2018-03-06 17:11:06
阅读次数:
196
layout: default title: The remote end hung up unexpectedly category: [技术, git] comments: true fatal: The remote end hung up unexpectedly 上传一份代码的时候,出现了 ...
分类:
其他好文 时间:
2018-03-06 14:38:39
阅读次数:
260
Starting up a CDB instance
分类:
数据库 时间:
2018-03-05 20:41:53
阅读次数:
159
影响Linux服务器性能的因素有很多,从底层的硬件到操作系统,从网络到上层应用。找到系统硬件和软件资源的平衡点是关键。 1.uptime 10:27:14 up 18 min, 5 users, load average: 10.78, 9.13, 5.42 重点关注load average参数,3 ...
分类:
系统相关 时间:
2018-03-05 12:57:19
阅读次数:
189
题目描述: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 思路: 判断一个链表是否有环。 * 同个时间Faster走的比Slo ...
分类:
其他好文 时间:
2018-03-05 11:14:41
阅读次数:
181
https://mritd.me/2016/10/29/set-up-kubernetes-cluster-by-kubeadm/ ...
分类:
Web程序 时间:
2018-03-04 19:09:30
阅读次数:
161
问题描述:在ubuntu16.04中给python3.5安装pip 方法:安装命令:sudo apt install python3-pip 查看pip版本的命令:pip3 -V 查看关于pip的相关信息的命令:pip3 list 升级pip的命令:sudo -H pip3 install --up ...
分类:
编程语言 时间:
2018-03-04 18:11:20
阅读次数:
1418