摘要: 1 作用创建目录 make directories2 用法mkdir [OPTION...] DIRECTORY...3 参数-m 设定模式。-p 建立不存在的父目录。-v 打印创建的目录。4 设计思想4.1 目录模式目录分为可读(不可读)和可写(不可写)。4.2 父目录可能需要新建多层目录... 阅读全文
posted @ 2014-11-24 23:19 yanyichao 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 查看man文档时,发现文档和命令不匹配,原因不明,解决方案如下。1 重建manpages数据库sudo /usr/libexec/makewhatis相关链接:[man pages](https://developer.apple.com/library/mac/documentation/Darw... 阅读全文
posted @ 2014-11-23 19:07 yanyichao 阅读(951) 评论(0) 推荐(0) 编辑
摘要: 1 作用remove directory entries 删除目录条目2 用法 rm [-dfiPRrvW] file ... unlink file3 参数-d 删除目录(不包括子目录)。-f 强制删除,如文件(目录)不存在也不会返回错误状态。-i 递归删除。会删除子目录。-P 安... 阅读全文
posted @ 2014-11-23 19:05 yanyichao 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1 作用list segment:列出文件块list directory contents:列举目录内容2 用法ls [-ABCFGHLOPRSTUW@abcdefghiklmnopqrstuwx1] [file ...]3 参数-@-A 列举(.和..)外的文件和目录。-a 列举所有的文件和目... 阅读全文
posted @ 2014-11-22 14:44 yanyichao 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 常见接口和类其中,矩形为接口,椭圆为类。2 接口设计理由比较显然的理由有:1 元素是否可重复。分为List和Set。按此原则,Queue应该实现List。2 能否随机访问,List分为ArrayList和LinkedList。3 按无素是否有序。Set分为HashSet和SortedSet。4按... 阅读全文
posted @ 2014-11-03 16:59 yanyichao 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1 对比度调节无效。2 无法进入屏保、休眠启动后,不用输入密码。3 邮件点草稿时会死掉。 阅读全文
posted @ 2014-10-22 11:35 yanyichao 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1 现象 都无法映射alt+j组合键。 (1) 用:h key-notation命令查看功能键的映射字符。未有异常。(2)用 :map 命令查看已配置的映射。发现等被转义成希腊字母。2 解决方案如要映射alt+j :(1) 进入插入模式。(2) Ctrl+V。(3) Alt+j。(4) 第(3)... 阅读全文
posted @ 2014-10-15 16:15 yanyichao 阅读(1388) 评论(0) 推荐(0) 编辑
摘要: 1 题目 1 Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that: 2 3 Only ... 阅读全文
posted @ 2014-09-30 13:20 yanyichao 阅读(306) 评论(0) 推荐(0) 编辑
摘要: from:http://blog.csdn.net/loovejava/article/details/11751461 1. 下载插件: 下载地址:http://download.csdn.net/detail/loovejava/6284225 2.拷贝致相应的目录1 unzip py... 阅读全文
posted @ 2014-09-15 11:55 yanyichao 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1 Clone Graph题目:Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes ... 阅读全文
posted @ 2014-08-29 14:04 yanyichao 阅读(115) 评论(0) 推荐(0) 编辑