在获取返回值时要注意的是打开Activity的方式,用方法:startActivityForResult接收时,重写方法:onActivityResult在子Activity中,写数据用方法:setResultMainActivity代码: private TextView tv; @Over...
分类:
其他好文 时间:
2015-06-15 23:38:05
阅读次数:
202
Description
The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies. They seek the name, and at the sa...
分类:
其他好文 时间:
2015-06-14 12:36:56
阅读次数:
138
简介github:https://github.com/thebird/swipe一个图片滚动的js组件,支持手势触屏。使用方法
.swipe {
over...
分类:
Web程序 时间:
2015-06-14 11:01:47
阅读次数:
143
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Calling next() will return the next smallest number in the BST.Note: next() and hasN...
分类:
其他好文 时间:
2015-06-13 09:56:01
阅读次数:
100
Maven简介
主要用于基于Java平台的项目构建、依赖管理和项目信息管理
约定优于配置(Convention Over Configuration),使项目构建标准化,消除重复及琐碎的任务,且提供中央仓库,通过坐标系统来有序地管理以来
核心是POM文件
本文是对《Maven实战》的学习和总结...
分类:
其他好文 时间:
2015-06-11 23:03:58
阅读次数:
170
rank() , dense_rank() , row_number() 这三个函数都是的作用 为每条数据产生一个从1到N 的自然数, 区别就是 碰到相同数据时的排序rank() : 遇到相同数据时排序是一样的, 但是在下一条数据会空出N个来, 例如有三个第一名,下一个就是第四名。 dense_ra...
分类:
其他好文 时间:
2015-06-10 14:03:50
阅读次数:
688
By now, you‘ve probably noticed that most container objects can looped over using a?for?statement: 现在你可能注意到大多数容器对象都可以用?for?遍历: ? for?element?in?[1,?2,?3]:
????p...
分类:
编程语言 时间:
2015-06-10 12:37:01
阅读次数:
154
题目描述:
It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate ...
分类:
其他好文 时间:
2015-06-09 09:53:36
阅读次数:
112
iter, dir_obj = lfs.dir (path)Lua iterator over the entries of a given directory. Each time the iterator is called withdir_objit returns a directory e...
分类:
其他好文 时间:
2015-06-08 23:01:51
阅读次数:
462
36m的文件,在局域网服务器之间socket单进程传输,client读取源文件并socket发送文件,server接收文件。server日志打屏的时候花费时间begin sec[1433750824], microsec[847467]file[tsl.txt] read over .end se....
分类:
其他好文 时间:
2015-06-08 18:47:48
阅读次数:
240