CentOS安装软件出现错误:bash: /usr/local/bin/rar:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or
directorygoogle了一把才发现是64位系统中安装了32位程序解决方法:yum install...
分类:
系统相关 时间:
2014-05-16 03:31:51
阅读次数:
621
#!/bin/bashfor i in 1 2 3 4 5 6do echo
$idone看文件#!/bin/bashdir=$(ls /etc)for i in $dirdo echo $idone判断#!/bin/bashread
-p "please input a dirname:" ...
分类:
其他好文 时间:
2014-05-16 03:21:30
阅读次数:
279
1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
有时候会碰到如题这种问题,从网上查知解决办法,非常管用为eclipse.exe创建一个快捷方式,然后快捷方式上右键-属性,在目标栏填入E:\eclipse\eclipse.exe
-vm "C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe" -data ...
分类:
系统相关 时间:
2014-05-15 21:31:41
阅读次数:
317
After ASP.NET 3.5 has been installed you need
to modify the web.config file of your MOSS web site with a few Ajax specific
entries. Typically, the web...
分类:
Web程序 时间:
2014-05-15 21:16:22
阅读次数:
528
delphi中,使用TGifimage这个类可以使Image显示Gif动画
// Image1:TImage;
// Image1.Picture.LoadFromFile(OpenDialog1.FileName);
TGIFImage(Image1.Picture.Graphic).AnimationSpeed := 100;
TGIFImage(Image1.Picture.Gr...
分类:
其他好文 时间:
2014-05-15 19:42:23
阅读次数:
321
介绍EditText颤抖的动画效果
Animation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except...
分类:
其他好文 时间:
2014-05-15 18:12:00
阅读次数:
345
Log4J的配置文件(Configuration
File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1.
配置文件Log4J配置文件的基本格式如下:#配置根Loggerlog4j.rootLogge...
分类:
其他好文 时间:
2014-05-15 18:06:51
阅读次数:
233
区别:1、Assembly.LoadFile只载入相应的dll文件,比如Assembly.LoadFile("a.dll"),则载入a.dll,假如a.dll中引用了b.dll的话,b.dll并不会被载入。Assembly.LoadFrom则不一样,它会载入dll文件及其引用的其他dll,比如上面的...
分类:
其他好文 时间:
2014-05-15 18:02:16
阅读次数:
176
1.查看编码 通过file命令 file filename 可以查看文件的编码2.编码转换
通过icnov命令 iconv -f UTF-16 -t UTF-8 sourceFile -o targetFile
此命令将UTF-16格式的sorceFile转换为UTF-8的targetFile
分类:
系统相关 时间:
2014-05-15 17:21:30
阅读次数:
328