这个问题只要:
1. setsebool -P ftpd_disable_trans 1
2. service vsftpd restart
太纠结了,呵呵...
分类:
其他好文 时间:
2014-05-07 08:22:48
阅读次数:
291
这里是windows下 使用1.4.3版本时候出现的问题。
问题1
I:\git\orangle.github.io>jekyll serve --watch
Configuration file: I:/git/orangle.github.io/_config.yml
Source: I:/git/orangle.github.io
Destinat...
分类:
其他好文 时间:
2014-05-07 08:04:31
阅读次数:
486
今天又个兄弟求助,数据库里一个表有数据如下:
no name
1 a
2 b
3 c
4 d
如何用一个sql显示如下结果:
ab
ac
ad
bc
bd
cd
对于这种构造数据,是分析函数的强项,下面来做个试验:
create table t (no number,name varchar(2));
insert into t va...
分类:
其他好文 时间:
2014-05-07 08:03:17
阅读次数:
447
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1836
Number Puzzle
Time Limit: 2 Seconds Memory Limit: 65536 KB
Given a list of integers (A1, A2, ..., An), and a posi...
分类:
其他好文 时间:
2014-05-07 07:42:49
阅读次数:
332
在XP安装VS2005 SP1时,没有一点问题;;但是在Server版,就会... ...
出现问题:
Error 1718.File C:WINDOWS\Installer\3951d.msp did not pass the digital signature check. For more information about a possible resolution for this problem, see...
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N.
He calls a permutation A good, if the number of its inversions is equal to the n...
分类:
其他好文 时间:
2014-05-07 07:20:50
阅读次数:
356
大意:每个测试用例是一个数组。找出xi和xj,(xi>xj),做运算令xi=xi-xj。可以做若干组这样的运算,使得最后的数组和最小。输出此和。
分析:用优先队列,每次找出最大的和次大的,处理后再加入此队列。注意多个相同的xi这种情况!...
分类:
其他好文 时间:
2014-05-07 07:19:27
阅读次数:
301
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Calendar;
import java.util.Locale;
import android.annotation.Su...
分类:
移动开发 时间:
2014-05-07 07:09:47
阅读次数:
418
最近看boost的时候总是遇见这个eval_if,不知道啥意思,就没法看下去了,比如
前篇文章boost::serialization 拆分serialize函数分析时就出现这样一段代码:
template
inline void split_member(Archive & ar, T & t, const unsigned int file_version)
{
typedef BOOS...
分类:
其他好文 时间:
2014-05-07 06:21:14
阅读次数:
556
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:
其他好文 时间:
2014-05-07 06:15:59
阅读次数:
427