从Emacs官方站点下载最新版解压后,运行./configure
得到错误信息:configure: error: The following required libraries were not found:
libXpm libjpeg libgif/libungif libtiff
用下面的命令安装依赖库:yum -y install libjpeg-devel.x86_64 gi...
分类:
其他好文 时间:
2014-06-15 15:05:23
阅读次数:
233
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
Follow up:
Can you solve it without using extra space?
思路:由【Leetcode】Linked
List Cycle可知,利用一快一慢...
分类:
其他好文 时间:
2014-06-15 14:23:38
阅读次数:
288
初始化异步树直接全部展开代码:
$(function(){
$('#tt').tree({
url:'/treeInit',
lines:true,
onLoadSuccess:function(node,data){
var t = $(this);
if(data){
$(data).each(f...
分类:
其他好文 时间:
2014-06-15 13:30:02
阅读次数:
242
第一步:如果系统中已安装了open java,需要清理, 反之 略过此过程 sudo apt-get purge openjdk*第二步: 安装 sudo apt-get install software-properties-common第三步: 添加信任的软件源: sudo add-apt...
分类:
数据库 时间:
2014-06-14 16:48:38
阅读次数:
216
Tools(工具) => 扩展工具 => NugetTools(工具) => Nuget=>程序包管理器控制台Nuget 程序包管理器 => Install-Package EntityFramework (为了安装Efcodefirst)EFCodeFirst => entity framewor...
分类:
Web程序 时间:
2014-06-14 16:06:29
阅读次数:
263
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:
其他好文 时间:
2014-06-14 15:48:59
阅读次数:
217
bootupmanager这个软件,用着勉强吧,功能不多。安装sudoapt-getinstallbum卸载sudoapt-getremove--purgebum多了不说,大家搜搜看。debian开机够慢了,不怕再慢那么点,哈哈
分类:
其他好文 时间:
2014-06-14 15:40:42
阅读次数:
194
#include
#include
using namespace std;
struct Node{
int x, y;
friend bool operator b.x; //x最小的节点在队首
}
};
int main(){
priority_queue PQ;
Node temp = {2, 3};
PQ...
分类:
其他好文 时间:
2014-06-14 14:03:20
阅读次数:
355
1.首先需要安装必须的库,PCRE,zlib
sudo apt-get install libpcre3 libpcre3-dev
如果找不到文件的话就下载源文件进行安装。
2.解压下载的nginx源码,进入目录: sudo ./configure 得到的输出如下:
Configuration summary
+ using system PCRE library
+ ...
分类:
其他好文 时间:
2014-06-14 13:31:29
阅读次数:
219
1 安装和升级
$ sudo gem install cocoapods
$ pod setup
2 更换为taobao的源
$ gem sources -r https://rubygems.org/
//等有反应之后再敲入以下命令
$ gem sources -a http://ruby.taobao.org/
//查看
$ gem sour...
分类:
其他好文 时间:
2014-06-14 09:19:13
阅读次数:
216