ctrl+/ 单行注释ctrl+shift+/ 块注释ctrl+shift+ +/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ct...
分类:
Web程序 时间:
2014-06-20 13:49:42
阅读次数:
189
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?public class Soluti...
分类:
其他好文 时间:
2014-06-18 21:54:54
阅读次数:
232
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:
其他好文 时间:
2014-06-18 20:54:36
阅读次数:
202
class Vehicle { var numberOfWheels: Int var maxPassengers: Int func description() -> String { return "\(numberOfWheels) wheels; up to \(maxPass...
分类:
其他好文 时间:
2014-06-18 19:44:47
阅读次数:
211
HTML(HyperText Mark-up Language)即超文本标记语言或超文本链接标示语言,是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言。HTML文本是由HTML命令 组成的描述性文本,HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML的结构包括头部(Head...
分类:
Web程序 时间:
2014-06-18 13:59:09
阅读次数:
247
题目
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the...
分类:
其他好文 时间:
2014-06-18 12:05:44
阅读次数:
244
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-18 10:17:40
阅读次数:
174
上一篇文章介绍了ActionBar的使用,这里介绍ActionBar的另一种使用方法,达到的效果和以前的GroupActivity或TabHost是一样的,可作为导航来使用。
实现效果图:
源代码:
布局文件:activity_main:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/an...
分类:
移动开发 时间:
2014-06-17 22:22:13
阅读次数:
370
vsftp服务要求:1.禁止匿名用户登录2.修改FTP默认端口为21213.禁锢本地用户在自己家目录4.本地用户登录到/data/ftproot目录5.up上传/下载,down仅下载。拒绝所有用户,登录包括匿名用户6.最多20个并发,每IP地址最多2个并发7.限制下载速度限制为100KB/s#FTP虚拟账户实现步骤:..
分类:
其他好文 时间:
2014-06-16 16:23:39
阅读次数:
420