首先C-x C-f然后输入~,找到.emacs文件,根据slime官方文档说明的添加如下代码到文件末尾,重启一下emacs,slime就编译好了,然后这段代码就可以删除.否则每次启动emacs就算不用来编辑lisp代码,也会加载的.(add-to-list 'load-path "D:\\lispb...
分类:
其他好文 时间:
2014-07-02 23:21:19
阅读次数:
219
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2014-07-02 22:34:44
阅读次数:
318
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree andsum =...
分类:
其他好文 时间:
2014-07-02 22:10:42
阅读次数:
262
#! /usr/bin/python#! -*- coding:utf-8 -*-import osdef SplitFile(cnt): path='e:\data' filename=path+'\\qunti_deal.txt' os.chdir(path) i=0 n=0 siz...
分类:
其他好文 时间:
2014-07-02 21:15:42
阅读次数:
228
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-02 21:13:05
阅读次数:
170
局域网共享文件夹需要用户名和密码才能访问,通过程序怎样才能获得文件夹访问权限呢?这里主要利用了DOS命令中的“NET USE”命令来实现。public static void GetAccessControl(string path,string user,string pwd) { ...
分类:
其他好文 时间:
2014-07-02 13:50:04
阅读次数:
513
---------------------在jsp页面中加入----------------------
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pat...
分类:
其他好文 时间:
2014-07-02 11:45:32
阅读次数:
230
互联网创业有一个共性,也可以说成是“通脖,往往都是以追求用户量为第一指标,用户量越大,意味着企业就越成功,尤其是社交行业。似乎很少有人考虑过,区域化的社交产品是否有存在的价值。社交IM类产品创新从未停滞过,facebook、Instagram、Whatsapp、snapchat、Path、Nextdo..
分类:
移动开发 时间:
2014-07-02 11:04:10
阅读次数:
229
在官网下载genymotion http://www.genymotion.cn/
然后进行以下操作
1.如果本机没有virtualbox 下载一个 可以通过指令 sudo apt-get install virtualbox-qt 进行下载
2. 将下载的genymotion做以下操作
chmod +x [INSTALLER_PATH]/genymotion-[VE...
分类:
系统相关 时间:
2014-07-02 07:40:41
阅读次数:
317
以下知识点转自:点击打开原文链接
今天拿起手要用C++写个小工具,从指定的目录递归遍历文件,然后做一下处理。又翻了一下boost的filesystem库。小结一下,希望能加深印象,免得下次又要查看文档。
1. path对象就是一个跨平台的路径对象。有许多方法访问路径的各个部分,也用它的iterator迭代路径中的各个部分;
path构造目录结构的时候使用“/”运算符,非常直...
分类:
其他好文 时间:
2014-07-02 07:06:26
阅读次数:
413