【已解决】Android ADT中增大AVD内存后无法启动:emulator failed to allocate memory 结论是: 当前有个bug: 默认是通过 hw.ramSize=1024 来判断内存大小的,但是当是>=1024时,就无法正确识别了。 必须手动把对应的 C:\Users\ ...
分类:
移动开发 时间:
2017-10-31 19:55:24
阅读次数:
211
s3 = '123's2 = ' 's1 = 'This Is \t Cash's='abcdefghijklmnopqrstuvwxyz's4 = "0000000this is string example....wow!!!0000000"s5 = 'ab c\n\nde fg\rkl\r\n ...
分类:
编程语言 时间:
2017-10-28 11:21:13
阅读次数:
259
目前好像只有:三星S4.,努比亚大牛,华为荣耀3等几款新机才有红外遥控功能,那我们使用的手机没有这个功能怎么办?不要急我有办法呵呵,本次DIY材料好找又简单,大家都可以亲自试一试!DIY材料:红外二极管2个(没有可以在旧的遥控器上拆),3.5耳机插头一个制作方法:如下图(我辛苦做的图不要盗用哦,给个 ...
分类:
移动开发 时间:
2017-10-26 11:47:25
阅读次数:
240
$scope.records = []; // 生成随机数方法: function S4() { return (((1+Math.random())*0x10000)|0).toString(16).substring(1); } function newobj() { var obj = { " ...
分类:
其他好文 时间:
2017-10-19 10:26:57
阅读次数:
187
题目链接:https://vjudge.net/problem/ZOJ-3261 In order to strengthen the defense ability, many stars in galaxy allied together and built many bidirectional ...
分类:
其他好文 时间:
2017-10-14 16:46:08
阅读次数:
182
字典操作 字典一种key - value 的数据类型,使用就像我们上学用的字典,通过笔划、字母来查对应页的详细内容。 语法: 字典的特性: dict是无序的 key必须是唯一的,so 天生去重 增加 >>> info['s4'] = "wangwu" >>> info {'s2': 'lili', ...
分类:
编程语言 时间:
2017-10-11 10:36:43
阅读次数:
269
Description 依次对每份进行编码,得S1,S2,S3,S4。该矿藏区的编码S为2S1S2S3S4。 例如上图中,矿藏区的编码为:2021010210001。 小联希望你能根据给定的编码统计出这片矿藏区一共有多少格子区域是平地。 Input 第一行有一个整数K,表示有矿藏区的规模为 (1 < ...
分类:
其他好文 时间:
2017-10-10 14:40:23
阅读次数:
121
2527: [Poi2011]Meteors Description Byteotian Interstellar Union (BIU) has recently discovered a new planet in a nearby galaxy. The planet is unsuitabl ...
分类:
其他好文 时间:
2017-10-09 22:26:15
阅读次数:
234
urllib.request.rechieve("www",filename="") urllib.request.cleanup() a=urllib.request.urlopen() a.info() a.getcode() a.geturl() *********************** ...
分类:
Web程序 时间:
2017-10-02 13:28:28
阅读次数:
299
S1.安装前准备:下载nodejs S2.使用默认方式安装path:D:\Program Files\nodejs S3.Cmd命令node -v检查安装是否成功。 S4. Node Pageaged Modules(npm)可以安装丰富的node.js库来完成实际开发需求。 Npm命令 查看帮助: ...
分类:
Web程序 时间:
2017-09-29 10:00:14
阅读次数:
258