场景一 长按某个缩略图,然后拖动分屏的流程 1. RecentsView.java /** * This view is the the top level layout that contains TaskStacks (which are laid out according * to thei ...
分类:
移动开发 时间:
2017-09-06 14:29:31
阅读次数:
1235
auto@ubuntu:~/src/SOC/ git push Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (5/5), done. Writing obj... ...
分类:
其他好文 时间:
2017-09-06 12:55:43
阅读次数:
10762
自己的电脑显卡实在不给力,打算使用AWS的带GPU服务器进行云端计算。 首先到 右上角点击sign up注册账号,这里注意需要信用卡认证。 注册成功后需要申请GPU服务器,到 选择service limit increase,地区,之后选择服务器类型,在这里我们推荐p2.xlarge,价格适中。 之 ...
分类:
其他好文 时间:
2017-09-06 10:08:33
阅读次数:
1217
由手册22.3.2 Global Interrupt Mask Register(GIM) 可知 GIM寄存器为设置各种中断使能寄存器,其中地6位为Wake-Up Interrupt Mask设置为1即产生唤醒中断,所以设置该位即可。 通过东芝的库函数提供了直接设置该位的方法,直接在can初始化调用... ...
分类:
其他好文 时间:
2017-09-06 00:24:53
阅读次数:
313
G. Bathroom terminal Smith wakes up at the side of a dirty, disused bathroom, his ankle chained to pipes. Next to him is tape-player with a hand-writt ...
分类:
其他好文 时间:
2017-09-05 23:16:21
阅读次数:
424
https://vjudge.net/problem/Gym-100345H 题意: 给出一个图,求图中u能到达v的对数,并且u<v。并且会有更新和查询操作。 思路: bitset直接暴力,对于每次更新操作之后,再重新计算一遍即可。bitset是真的强大啊! ...
分类:
其他好文 时间:
2017-09-05 23:13:41
阅读次数:
206
Once user sign up, we store the user data inside cookie in the broswer and also keep a memory copy in the server. If next time, user refresh the page, ...
分类:
Web程序 时间:
2017-09-04 22:34:41
阅读次数:
283
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-09-04 22:30:27
阅读次数:
148
create table maats.account_channel ROW FORMAT DELIMITED FIELDS TERMINATED BY '^' STORED AS TEXTFILE as select distinct a.account,b.channel from maats. ...
分类:
其他好文 时间:
2017-09-03 22:10:43
阅读次数:
484
1 def break_words(stuff): 2 """This function will break up words for us.""" 3 words = stuff.split(' ') 4 return words 5 6 def sort_words(words): 7 """... ...
分类:
其他好文 时间:
2017-09-03 21:01:20
阅读次数:
140