-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8)
把linux系统从中文设置英文字符集后发生以下报错
首先本系统字符集为中文UTF-8
[root@localhost~]#more/etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
修改为英文UTF-8
[root@localhost~]#vim/etc/sysconfig/i..
分类:
其他好文 时间:
2014-06-02 14:49:19
阅读次数:
203
DescriptionThe police office in Tadu City
decides to say ends to the chaos, as launch actions to root up the TWO gangs in
the city, Gang Dragon and Ga...
分类:
其他好文 时间:
2014-06-02 09:38:19
阅读次数:
219
Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
编程语言 时间:
2014-06-02 09:22:03
阅读次数:
328
myeclipse 10 载入新的项目报错Cannot return from outside
a function or method解决方法:方法一:window -->preferences -->myeclipse
-->validation -->javascript validator ...
分类:
系统相关 时间:
2014-06-02 08:47:49
阅读次数:
332
Appliesto:
OracleServer-EnterpriseEdition-Version:8.1.7.4to11.2.0.2.0-Release:8.1.7to11.2
GenericUNIX
当检查oracle实例后台进程不存在这时启动启动数据库报错:
ORA-01081:"cannotstartalready-runningORACLE-shutitdownfirst"
造成此种原因是
Orphanedsharedmemor..
分类:
数据库 时间:
2014-06-02 04:04:29
阅读次数:
844
方法1:在Eclipse中,右击项目,选择Java Build
Path->Libraries->Add External
JARs,找到你计算机中tomcat的安装路径,在common\lib文件夹下选中"servlet-api.jar",添加点击“确定”,ok!方法2:把servlet-api....
分类:
编程语言 时间:
2014-06-02 01:44:50
阅读次数:
349
3-sum
题目描述:
Given an array S of n integers,
are there elements a, b, c in S such
that a + b + c =
0? Find all unique triplets in the array which gives the sum of zero.
题目要求:
Elements...
分类:
其他好文 时间:
2014-06-01 17:31:27
阅读次数:
471
利用windows的API,FindFirstFile和FileNextFile,采用递归遍历指定文件夹中的所有文件及文件夹,第一次windows编程,代码写的很臃肿难看,请大家多多包涵!
#include
#include
#include
#include
#define MAXN 100005
using namespace std;
void surf(WIN32_FIND_DAT...
Dungeon MasterTime Limit: 1000MSMemory Limit:
65536KTotal Submissions: 15868Accepted: 6162DescriptionYou are trapped in a 3D
dungeon and need to find ...
分类:
其他好文 时间:
2014-06-01 12:16:08
阅读次数:
147
Find The MultipleTime Limit: 1000MSMemory
Limit: 10000KTotal Submissions: 16995Accepted: 6921Special JudgeDescriptionGiven
a positive integer n, write...
分类:
其他好文 时间:
2014-06-01 11:27:41
阅读次数:
176