昨天晚上调试了一晚上,在LinearLayout上接收屏幕动作,可是出现了问题, 以下的代码是本人调的代码 </pre><pre name="code" class="java">private int pressedArrow; public class onSetterTouchListener ...
分类:
移动开发 时间:
2017-05-15 13:05:09
阅读次数:
254
Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion? ...
分类:
其他好文 时间:
2017-05-15 11:53:51
阅读次数:
168
显然是migrations表中存储的相关操作记录了,删除就好了!!! ...
分类:
其他好文 时间:
2017-05-15 10:45:21
阅读次数:
886
Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. class Solution { private: ...
分类:
其他好文 时间:
2017-05-14 12:34:52
阅读次数:
159
DescriptionGiven a 2D grid, each cell is either a wall 2, a zombie 1 or people 0 (the number zero, one, two).Zombies can turn the nearest people(up/do ...
分类:
其他好文 时间:
2017-05-14 12:22:11
阅读次数:
357
So I spent 5 or 6 hours last night trying to hook up a mini Stirling engine with the gearbox of a Tamiya track module. Haven't been staying up late fo ...
分类:
其他好文 时间:
2017-05-14 10:48:54
阅读次数:
208
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2017-05-13 23:31:56
阅读次数:
370
本文是阅读 http://book.mixu.net/distsys/abstractions.html 的笔记。 第二章的题目是"Up and down the level of abstraction"。这一章里面,作者主要介绍了分布式系统里面的一个重要概念:CAP理论。 什么是CAP理论呢?就 ...
分类:
其他好文 时间:
2017-05-13 18:01:59
阅读次数:
124
Monk's Love for Food Monk's Love for Food Our monk loves food. Hence,he took up position of a manager at Sagar,a restaurant that serves people with de ...
分类:
其他好文 时间:
2017-05-13 12:24:55
阅读次数:
200
docker https://auth.docker.io/token dial tcp lookup auth.docker.io i/o timeo Error response from daemon: Get https://registry-1.docker.io/v2/library/a ...
分类:
其他好文 时间:
2017-05-13 09:58:22
阅读次数:
153