yum install "@Chinese
Support"System->Preferences->Input Method,勾选"Enable input method
feature",Input Method选择"Use IBus",Log Out重新登录后"ctrl+空格"即可切换输入法
分类:
其他好文 时间:
2014-06-09 00:54:37
阅读次数:
182
01背包。 1 #include 2 #include 3 #include 4 5
#define MAXN 1005 6 7 typedef struct { 8 int h, l, t; 9 } node_st;10 11 node_st
nodes[35];12 13 in...
分类:
其他好文 时间:
2014-06-08 22:44:08
阅读次数:
339
在面试,笔试的过程中经常会遇到面试官问这种问题,实现单链表的倒置方法。现在对单链表的倒置犯法做个记录,方便自己以后查看。单链表的定义: 1 public
class Node { 2 3 int v; 4 Node next; 5 public Node(){ ...
分类:
编程语言 时间:
2014-06-08 22:22:59
阅读次数:
352
参考http://shiyanjun.cn/archives/241.html用新版包自己做了一遍(1)安装zeromq4&jzmq[安装依赖]yum
install uuid*yum install libtoolyum install libuuid yum install libuuid-de...
分类:
其他好文 时间:
2014-06-08 21:43:41
阅读次数:
317
UbuntuNFS安装与配置一、NFS安装$ sudo apt-get install
nfs-kernel-server nfs-common portmap二、NFS配置2.1 配置/etc/exports文件$ sudo vim
/etc/exports在文件最后加入如下内容:{{/rootn...
分类:
其他好文 时间:
2014-06-08 21:12:39
阅读次数:
245
数组必须开大点#include #include #include #include using
namespace std;struct node{ int x,ans;}q[1000005];int jx[]={-1,1};int n,k;int
map[1000005],v[100000...
分类:
其他好文 时间:
2014-06-08 20:48:03
阅读次数:
319
最近又在centos6.4下折腾tengine了,刚好不久前看了rpm包的制作方法,所以又有了搞个rpm包的想法。1
安装centos的开发环境集成包及tengine的依赖包1yum groupinstall "Development Tools"2yum install
pcre-devel3yu...
分类:
其他好文 时间:
2014-06-08 20:37:06
阅读次数:
261
# include # include # include # include # include
//使用map解决一对一 的关系using namespace std;map mapdata;//数据存储typedef struct node{ long
num; char ch1[20]; c...
分类:
其他好文 时间:
2014-06-08 20:26:01
阅读次数:
235
最近在弄网页爬虫这方面的,上网看到关于htmlagilitypack搭配scrapysharp的文章,于是决定试一试~于是到https://www.nuget.org/packages/ScrapySharp去看看,看到这句下载提示:To
install ScrapySharp, run the f...
分类:
Web程序 时间:
2014-06-08 20:23:28
阅读次数:
402
1. Install golang on Ubuntu 14.04 LTSa)~$ sudo
apt-get install golang successb)~$ sudo add-apt-repository ppa:gophers/go ~$
sudo apt-get update ~$ sud...
分类:
其他好文 时间:
2014-06-08 18:37:28
阅读次数:
331