cynorr

Learn what I touched.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

04 2015 档案

摘要:### 组名修改(guest改成host)```#groupmod -n host guest```### 用户名修改(比如把guest改成host)```#usermod -l host -d /home/host -m guest```> -l 修改用户名-d 修改登录后使用的路径-m 修改登录... 阅读全文
posted @ 2015-04-30 11:58 cynorr 阅读(803) 评论(0) 推荐(0)

摘要:具体安装步骤参见:[本地安装mediawiki](http://www.cnblogs.com/cyno/p/4461291.html)两个不同点如下:---###一.数据库:SQLite1.选择SQLite做服务器有两个原因:-- 1.轻量服务器,启动较快-- 2.mysql已经被占用2.使用方法... 阅读全文
posted @ 2015-04-28 16:49 cynorr 阅读(348) 评论(0) 推荐(0)

摘要:``` 951 ps -ef 952 ps -ef | grep mysql 953 ls -al 954 server 955 /etc/rc.d/init.d/mysql status 956 /etc/rc.d/init.d/mysqld status 957 /etc/rc.d/init.d... 阅读全文
posted @ 2015-04-28 12:25 cynorr 阅读(309) 评论(0) 推荐(0)

摘要:###一.搭建LAMP框架---1.编译安装libxml2```# yum install libxml2* -y```2.编译安装apache``` httpd-2.2.6.tar.gz 文末附github打包链接# tar -zxvf httpd-2.2.6.tar.gz # cd http... 阅读全文
posted @ 2015-04-27 20:29 cynorr 阅读(698) 评论(0) 推荐(0)

摘要:###参考http://blog.csdn.net/hualichenxi123/article/details/7709547http://blog.csdn.net/huoyunshen88/article/details/19083299http://www.linuxdiyf.com/bbs... 阅读全文
posted @ 2015-04-26 19:44 cynorr 阅读(211) 评论(0) 推荐(0)

摘要:#配置JDK---**1.下载JDK文件**从oracle下载JDK8: [Click Here](http://www.oracle.com/technetwork/java/javase/downloads/index.html)选择压缩包形式,即以 " .tar.gz" 结尾的文件。例如:jd... 阅读全文
posted @ 2015-04-25 10:01 cynorr 阅读(229) 评论(0) 推荐(0)

摘要:#简介---github是备份工作记录的优秀工具,工作机制比较复杂,但是使用却非常简单。github相当于文件备份的云,其上传操作和云的同步功能类似,下载和普通下载类似。上传工作原理如下图。![](http://7xjfxk.com1.z0.glb.clouddn.com/github.png)> ... 阅读全文
posted @ 2015-04-24 10:19 cynorr 阅读(1473) 评论(0) 推荐(0)

摘要:Add 'GB18030' to gedit---As we all known, we just can see the wrong types when we open some Chinese files, whose coding is GB18030. GB18030 is the cod... 阅读全文
posted @ 2015-04-24 10:18 cynorr 阅读(257) 评论(0) 推荐(0)

摘要:五个输出文件:---* model-final.towords每个topic下面的words和words分布,并按分布排序:```1Topic 0th: bill 0.005843543826578699 lai 0.003958529688972668 seventh 0.002073515551... 阅读全文
posted @ 2015-04-23 21:17 cynorr 阅读(217) 评论(0) 推荐(0)

摘要:### 1.偏文、偏理的故事---某学校高一年级有6个班级,每个班级各有一定数量的学生,3班有几个同学数学成绩很好,拿过省奥赛奖。现在教育局要来该校听数学课,学校应该安排听课老师听哪个班的课?显然是3班,因为3班有几个数学特别厉害的同学,所以3班数学强一点,至少看起来数学强一点.这里,我们把... 阅读全文
posted @ 2015-04-23 21:16 cynorr 阅读(673) 评论(0) 推荐(0)

摘要:##Introduce ---PolyLDA is the shorthand of Polylingual LDA . PolyLDA assumes that a single document has words in multiple languages , but each documen... 阅读全文
posted @ 2015-04-23 21:15 cynorr 阅读(306) 评论(0) 推荐(0)

摘要:###摘要--- 1、STL的map底层是用红黑树实现的,查找时间复杂度是log(n); 2、STL的hash_map底层是用hash表存储的,查询时间复杂度是O(1); 3、什么时候用map,什么时候用hash_map? 这个要看具体的应用,不一定常数级别的hash_map... 阅读全文
posted @ 2015-04-23 21:14 cynorr 阅读(264) 评论(0) 推荐(0)

摘要:### Map can't be sorted by valueMap can't be sorted by value , so that we can change map to *List* and then sort the list .###Collections.sort( List l... 阅读全文
posted @ 2015-04-23 21:03 cynorr 阅读(192) 评论(0) 推荐(0)

摘要:###why comparator ?* comparable : adj* comparator : nSome class can't be changed , which like Map , Set and their subclass . They are given being unch... 阅读全文
posted @ 2015-04-23 21:02 cynorr 阅读(194) 评论(0) 推荐(0)

摘要:###1.add \ remove \ sort```import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;public class listTest{ public static vo... 阅读全文
posted @ 2015-04-23 21:01 cynorr 阅读(136) 评论(0) 推荐(0)

摘要:###entrySet() , values() and keySet()```import java.util.Iterator;import java.util.Map.Entry;import java.util.TreeMap;public class mapTest{ public sta... 阅读全文
posted @ 2015-04-23 21:00 cynorr 阅读(140) 评论(0) 推荐(0)

摘要:### 安装指南执行以下命令安装 bcloud, 目前支持 fc19, fc20, fc21, fc22 :```sh# yum install dnf-plugins-core# dnf copr enable mosquito/myrepo# dnf install bcloud```或者直接到... 阅读全文
posted @ 2015-04-23 20:42 cynorr 阅读(324) 评论(0) 推荐(0)

摘要:### 简介中大型Java项目普遍需要调配许多参数,本文引入参数包,用系统快捷的方法管理参数。效果如下:```Poster [options...] [arguments...] -dictFile VAL : Specify file of dictionary -filterLemm... 阅读全文
posted @ 2015-04-22 18:22 cynorr 阅读(359) 评论(0) 推荐(0)

摘要:随着主题模型向文字信息处理领域的渗透,和词义效歧的发展,搜索引擎、智能问答和机器翻译结果精确度逐渐提高,但是仍然远远但不到人工处理结果的精确度。http://wenku.baidu.com/link?url=pKguiqXOMZenuOgBKuwOKv10kyW2UjFGZcX2pg-UditX83... 阅读全文
posted @ 2015-04-09 15:28 cynorr 阅读(134) 评论(0) 推荐(0)

摘要:###课题描述将一个句子中的每个单词都标注词义,这些词义来自于wordNet,对于多义词,要锁定其在该语境下的特定意思,或者求出词义分布.###思路根据wordNet统计,%80的词只具有单意,单一词只需要直接映射到wordNet即可.所以映射的主要工作是多一次的词义锁定.wordNet每个多义词有... 阅读全文
posted @ 2015-04-07 17:52 cynorr 阅读(1893) 评论(0) 推荐(0)

摘要:### 1.bzip和pythonlinux平台下要编译安装除gcc和gcc-c++之外,还需要两个开发库:bzip2-devel 和python-devel,因此在安装前应该先保证这两个库已经安装:```#yum install gcc gcc-c++ bzip2 bzip2-devel bzip... 阅读全文
posted @ 2015-04-07 12:59 cynorr 阅读(476) 评论(0) 推荐(0)

摘要:```syntax onset numberset tabstop=4set shiftwidth=4set autoindent #自动缩进inoremap { {}kA #'{'自动补全 ... 阅读全文
posted @ 2015-04-05 20:03 cynorr 阅读(203) 评论(0) 推荐(0)

摘要:###自动搜索最快源```yum install yum-fastestmirror yum-presto```###输入法---* bash```#!/bin/bashyum remove ibus -y #卸载ibusyum install fcitx fcitx-pinyin fcitx-c... 阅读全文
posted @ 2015-04-03 10:50 cynorr 阅读(240) 评论(0) 推荐(0)