class Solution { public: vector >
permuteUnique(vector &num) { vector > result; if (num.size() path;
dfs(n...
分类:
其他好文 时间:
2014-06-29 14:09:34
阅读次数:
220
本文转自:http://blog.csdn.net/na_tion/article/details/17527957nginx配置文件主要分为六个区域:main
section、events section、http section、sever section、location section、up...
分类:
其他好文 时间:
2014-06-07 02:13:38
阅读次数:
310
ProblemYou want to find the latitude and
longitude of a device.SolutionUse the CLLocationManager class:#import
"WSYViewController.h"#import @interface...
分类:
其他好文 时间:
2014-06-03 07:15:49
阅读次数:
275
这篇博客根据中文自然语言预处理的步骤分成几个板块。以做LDA实验为例,在处理数据之前,会写一个类似于实验报告的东西,用来指导做实验,OK,举例:一,实验数据预处理(python,结巴分词)1.对于爬取的评论做分词和词性标注处理(mac-result.txt)2.对于结果只用公版的停用词表去停用词,不...
分类:
编程语言 时间:
2014-06-03 06:45:21
阅读次数:
385
使用iframe、弹出子页面刷新父页面iframeparent.location.reload();弹出子页面window.opener.location.reload();--这个方法是我尝试过的,可以成功实现我想要的功能,其他的没有尝试,不能保证绝对的正确.子窗口刷新父窗口self.window...
分类:
Web程序 时间:
2014-05-30 20:23:05
阅读次数:
302
Nginx常用来做反向代理,但是作为正向代理大家有没有试过呢?Nginx配置如下:server{
resolver x.x.x.x; listen 82; location / {
proxy_passhttp://$http_host$request_uri; }}注意项:1. 不能有hostna...
分类:
其他好文 时间:
2014-05-30 10:48:33
阅读次数:
237
Fast Matrix OperationsThere is a matrix
containing at most 106elements divided into r rows and c columns. Each element
has a location (x,y) where 10)2...
分类:
其他好文 时间:
2014-05-30 03:31:23
阅读次数:
516
按照网上的一些资料配置的,期间也出现过几个错误。其中有个错误,是关于struts.xml里面package配置的问题,因为里面的几个标签是有顺序的。顺序是:result-typesinterceptorsdefault-interceptor-refdefault-action-refdefault...
分类:
其他好文 时间:
2014-05-29 12:06:45
阅读次数:
163
注:本文翻译自Google官方的Android Developers
Training文档,译者技术一般,由于喜爱安卓而产生了翻译的念头,纯属个人兴趣爱好。原文链接:http://developer.android.com/training/location/geofencing.html地理围栏可...
分类:
移动开发 时间:
2014-05-28 22:54:50
阅读次数:
708
一、统计脚本及代码 1 #!/bin/sh 2 3 root_dir=`pwd` 4
source_file="$root_dir"/operate0526.txt 5 single_file="$root_dir"/single0526.txt
6 result_file="$roo...
分类:
其他好文 时间:
2014-05-27 23:54:25
阅读次数:
524