摘要: 说明 点击标题可进入详细讲解的章节 0. 基本命令 linux 基本命令整理 1. 压缩 解压 只打包,不压缩 tar cvf a.tar a解压:tar xvf a.tar 注:zai mac 上默认会生成很多隐藏文件,去除设置: 可以在.bash_profile或.bashrc 或者是.zshr 阅读全文
posted @ 2014-08-28 20:00 jihite 阅读(3781) 评论(2) 推荐(5)
摘要: http://code.google.com/p/json-simple/wiki/EncodingExamples#Example_1-1_-_Encode_a_JSON_objectjavac -cp ./json-simple.jar SplitDemo.javajava -cp _CLASS... 阅读全文
posted @ 2014-08-28 18:05 jihite 阅读(3355) 评论(0) 推荐(0)
摘要: 1. ArrayList(参考)import java.util.*; public class Test{ public static void main(String [] args){ ArrayList list = new ArrayList(); lis... 阅读全文
posted @ 2014-08-28 15:25 jihite 阅读(756) 评论(0) 推荐(1)
摘要: import urllibrawurl=xxxurl=urllib.unquote(rawurl)所用模块:urllib所用函数:urllib.unquote()案例import urllibrawurl = "%E6%B2%B3%E6%BA%90"url = urllib.unquote(rawu... 阅读全文
posted @ 2014-08-28 13:58 jihite 阅读(90808) 评论(2) 推荐(4)
摘要: 搜索的是洛基亚,出来的结果,基本上都是诺基亚是大众需求覆盖小众需求的问题。思路:按 原始词 和 纠错词,一起查一遍。 对原始词 高匹配度的结果,按低密度提取(最多提取2-3条)。然后和 纠错词的结果,合并去重(把上面提取的结果排在前面)然后给出 。 阅读全文
posted @ 2014-08-28 13:35 jihite 阅读(345) 评论(0) 推荐(0)