1、双键
删除一行代码,选中那一行,Ctrl+X/Y
复制本行到下一行,选中本行之后,Ctrl+D
全局导入未导入的包,Ctrl+O
选中一个类名字,导入该类的包名:Alt+Enter
2、三键联合
Ctrl+Alt+Space 类名自动完成
Ctrl+Alt+M 抽取为一个方法
3、其它快捷键
Shift+F6 表示改名...
分类:
移动开发 时间:
2015-02-20 22:03:25
阅读次数:
204
文章转自:http://uliweb.clkg.org/tutorial/read/406 cocos2d 游戏开发实战6.1 创建cocos2d项目6.2 cocos2d v3 "hello world"6.2.1 显示一个飞船6.3 精灵6.4 開始 space viking 之旅6...
分类:
其他好文 时间:
2015-02-18 19:55:29
阅读次数:
181
http://acm.timus.ru/problem.aspx?space=1&num=15571557. Network AttackTime limit: 2.0 secondMemory limit: 64 MBIn some computer company, Mouse Inc., th...
分类:
Web程序 时间:
2015-02-18 00:54:26
阅读次数:
365
set tabstop=4设定tab宽度为4个字符set shiftwidth=4 设定自动缩进为4个字符set expandtab 用space替代tab的输入set noexpandtab 不用space替代tab的输入
分类:
系统相关 时间:
2015-02-17 22:18:40
阅读次数:
201
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in place with...
分类:
其他好文 时间:
2015-02-17 21:05:58
阅读次数:
168
新blog地址:http://hengyunabc.github.io/netstat-difference-proc-fd-socket-stat/最近,线上一个应用,发现socket数缓慢增长,并且不回收,超过警告线之后,被运维监控自动重启了。首先到zabbix上观察JVM历史记录,发现JVM-Perm space最近两周没有数据,猜测是程序从JDK7切换到JDK8了。问过开发人员之后,程序已经...
分类:
Web程序 时间:
2015-02-17 11:42:43
阅读次数:
685
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2015-02-16 19:31:08
阅读次数:
187
由leetcode139题Word Break产生的对动态规划的一点思考。
题目要求是这样的:
Given a string s and a dictionary of words dict,determine if s can be segmented into a space-separatedsequence of one or more dictionary words.
For e...
分类:
其他好文 时间:
2015-02-16 16:59:00
阅读次数:
158
有时,table表格中列过多、内容多时,常常会根据每列的业务含义,挑出一些列,设置他们的宽度变窄。
但是总是有例外。比如有一条数据在那一列刚好内容特别多,那么页面显示中其内容将显示不全。
解决办法:标签内增加style="word-wrap:break-word;"样式。
表格固定宽度时,内容自动换行
white-space:norma...
分类:
其他好文 时间:
2015-02-16 14:20:00
阅读次数:
210
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Linked List Cycle
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
一开始使用了复杂度O(n^2)的方法,但是超时了,使用两个指...
分类:
其他好文 时间:
2015-02-16 11:43:26
阅读次数:
140