http://www.360doc.com/content/11/1214/16/59141_172215613.shtml
                            
                            
                                分类:
移动开发   时间:
2014-05-08 22:22:40   
                                阅读次数:
524
                             
                         
                    
                        
                            
                            
                                出现乱码需要检查的项目:数据库编码、文件本身的字符集、html解析的字符集,如若上述项目编码一致仍然出现乱码,查看一下浏览器的编码,如果和设置的不一样说明上述设置有部分未成功,可以尝试使用header()函数再转化一下。FYI:1. 
header("Content-type: text/html; ...
                            
                            
                                分类:
Web程序   时间:
2014-05-08 21:28:22   
                                阅读次数:
331
                             
                         
                    
                        
                            
                            
                                二、配置haproxy实现网站的负载均衡:1、node1和node2都安装httpd,php,php-mysql:[root@node1~]#yum-yinstallhttpdphpphp-mysql[root@node2~]#yum-yinstallhttpdphpphp-mysql2、为node1和node2提供静态和动态网页:[root@node1~]#ls/var/www/html/
index.htmlindex.php
[roo..
                            
                            
                                分类:
其他好文   时间:
2014-05-05 12:30:42   
                                阅读次数:
614
                             
                         
                    
                        
                            
                            
                                昨天在修改一个已有代码的时候没有注意原来的代码是--extends listActivity 
结果在加上xml文件后运行后出现了这样的情况:java.lang.RuntimeException: Your content must have a 
ListView whose id attribute...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 11:27:09   
                                阅读次数:
379
                             
                         
                    
                        
                            
                            
                                原来的站点地图,因为启用了伪静态,所以直接伪静态指向生成站点地图的PHP文件,HTML地图无所谓,是正常的,而XML地图,则一直不能显示。从代码里查看,是正常的,后来用http状态查询发现,xml的返回状态是Content-Type: 
text/xml而启用伪静态的sitemap.xml返回的状态还...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 20:47:35   
                                阅读次数:
353
                             
                         
                    
                        
                            
                            
                                本节为大家提供有关物理游戏的知识,讲解了一个简单的圆形自由落体Demo的编写。。Java代码package 
com.himi; import java.util.Random; import java.util.Vector; import 
android.content.Con...
                            
                            
                                分类:
移动开发   时间:
2014-05-04 20:19:38   
                                阅读次数:
444
                             
                         
                    
                        
                            
                            
                                精益求精方案一: 
相对于空标签闭合浮动的方法代码似乎还是有些冗余,通过查询发现Unicode字符里有一个“零宽度空格”,也就是U+200B 
,这个字符本身是不可见的,所以我们完全可以省略掉 visibility:hidden了1 .clearfix:after {content:"\200B"; 
....
                            
                            
                                分类:
Web程序   时间:
2014-05-04 19:36:20   
                                阅读次数:
686
                             
                         
                    
                        
                            
                            
                                Birthday Candles
The chef is preparing a birthday cake for one of his guests,
and his decided to write the age of the guest in candles on the cake.
There are 10 types of candles, one for each o...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 18:46:55   
                                阅读次数:
416
                             
                         
                    
                        
                            
                            
                                1、先上图后说话
2、代码
package com.example.exmp;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.os.Parcelable;
import android.support.v4.view.PagerAda...
                            
                            
                                分类:
移动开发   时间:
2014-05-04 18:43:02   
                                阅读次数:
585
                             
                         
                    
                        
                            
                            
                                安装步骤如下:
    1. 前提条件
        已经安装了Apache 2.2.x或以上版本,下载mod_evasitive。
下载地址:
http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz
    2. 安装
          按照下列指令安装mod_evasi...
                            
                            
                                分类:
系统相关   时间:
2014-05-04 09:02:55   
                                阅读次数:
412