以下是测试demo代码,可以下载附件自己测试
packagecom.example.androidtest;
importjava.io.BufferedInputStream;
importjava.io.BufferedReader;
importjava.io.ByteArrayOutputStream;
importjava.io.DataInputStream;
importjava.io.File;
importjava.io.FileInputStream;..
分类:
Web程序 时间:
2015-03-19 16:41:25
阅读次数:
336
一:添加meta信息。$this->registerMetaTag($options);
$this->registerMetaTag([‘name‘=>‘author‘,‘content‘=>‘Blog‘]);二;添加link信息。$this->registerLinkTag($options);
$this->registerMetaTag([‘rel‘=>‘author‘,‘title‘=>‘Blog‘,‘href‘=>‘h..
分类:
Web程序 时间:
2015-03-19 16:38:22
阅读次数:
131
当循环到第四层时后使用foreach循环。可解决volist循环超过三层时报错问题<volist><volist><volist><!--当循环超过三层时,再使用<volist></volist>就会报错,所以使用<foreach></foreach>--><foreachname="a"iten="vo">..
分类:
Web程序 时间:
2015-03-19 16:36:35
阅读次数:
306
一、案例拓扑图二、为什么我们需要远程登陆?很多情况下,你也许不能在设备前使用console线来管理,这时就需要通过telnet或SSH访问其CLI远程管理它,为了能够远程访问,必须先设置虚拟类型终端(VTY);三、telnet和sshTelnet:基于TCP协议,端口号23,是一组提供远程登录方法..
分类:
Web程序 时间:
2015-03-19 16:38:22
阅读次数:
194
1-./startWebLogic.sh。---用cd命令进入startWebLogic.sh所在的目录然后敲上面的命令,如果配置了环境变量,则直接敲startWebLogic.sh命令即可。2-输入用户名和密码。3-启动之后输入ctrl+z---这时会显示一个以数字开头的信息,这个数字跟步骤4中的n是一样的。4-然后输入bg%n使..
分类:
Web程序 时间:
2015-03-19 16:36:28
阅读次数:
181
1-首先用命令查出WebLogic的Id---ps-ef|grepweblogic其中出现两行有数字的信息。选择第一行第一组数字。(第一组为Id号,第二组为Pid号)2-然后用kill-9第一行第一组数字(也就是WebLogic的Id号)---为什么用kill-9是因为有时候杀不死。
分类:
Web程序 时间:
2015-03-19 16:35:38
阅读次数:
183
$string=‘April15,2003‘;$pattern=‘/(\w+)(\d+),(\d+)/i‘;$replacement=‘${1}1,\3‘;//$replacement=‘${1}1,$3‘;//$replacement=‘${1}1,{3}‘;echopreg_replace($pattern,$replacement,$string);echo‘<br/>‘;//-----------------------------$string=‘Thequickbrownfoxjump..
分类:
Web程序 时间:
2015-03-19 16:35:57
阅读次数:
183
DBHeper:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;namespaceNewsDAL{publicstaticclassDBHeper{privatestaticSqlConnectionconnection;///<summary>///连接数据库///</..
分类:
Web程序 时间:
2015-03-19 16:33:03
阅读次数:
124
CentOS 6 部署 Nginx + PHP5 Web服务器在 CetnOS 6 (64位) 操作系统上部署Nginx and PHP5服务器。这个过程通过 yum 命令进行RPM包安装。可以参考 PHP 官方文档。安装 一些必要的 YUM 库rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch...
分类:
Web程序 时间:
2015-03-19 16:31:44
阅读次数:
154
出现library not found for -lPods-AFNetworking这个报错, 来自于我从git上面把我项目直接Download下来的,我的项目里面用了CocoaPods的,现在工程里面是找不到的,所以,报出了这个错误....
分类:
Web程序 时间:
2015-03-19 16:26:34
阅读次数:
197
基本格式
姓名
性别
婚否
张三
男
已婚
马六
女
未婚
统计二人...
分类:
Web程序 时间:
2015-03-19 16:26:16
阅读次数:
90
1、第一次看了官网的demo,引用的是EasyLoader.js文件,而不是引用jquery.easyui.min.js文件,我就有疑问了,百度一下。
jQuery EasyUI是一款基于JQuery的UI快速搭建组件。EasyLoader是可以动态加载脚本和CSS文件,也可以动态加载EasyUI已有组件,需要引用EasyLoader.js文件,注意:这里就不需要引用jquery.eas...
分类:
Web程序 时间:
2015-03-19 16:21:33
阅读次数:
236
运行Asp.net应用程序在Linux上的3种托管方式
想要运行Asp.net应用程序在Linux上,我们有3种选择:
1.使用Apache作为Web服务器,使用mod_mono:http://www.mono-project.com/docs/web/mod_mono/
2.使用Nginx作为Web服务器,使用FastCGI托管:http://www.mono-project.com/docs/web/fastcgi/
3.使用XSP作为Web服务器,这是一个用C#写的轻量级简单的web server
线...
分类:
Web程序 时间:
2015-03-19 16:22:42
阅读次数:
144
① CSDN http://www.csdn.net/
② gitHub https://github.com/
③ 极客学院 http://www.jikexueyuan.com/
④ 慕课网 http://www.imooc.com/
⑤ 开源中国 http://www.oschina.net/
⑥ 极客标签 http://www.gbtags.com/...
分类:
Web程序 时间:
2015-03-19 16:22:54
阅读次数:
144
效果如下图所示: Expanding/collapsing cells Item:
分类:
Web程序 时间:
2015-03-19 16:20:01
阅读次数:
316
Description: My TFS(Team Foundation Server) is connecting to source code server, however, the code in server can NOT be checked-out (so you can NOT se...
分类:
Web程序 时间:
2015-03-19 16:17:06
阅读次数:
132
选择某个网页元素,然后对其进行某种操作 $(document) //选择整个文档对象 $('#myId') //选择ID为myId的网页元素 $('div.myClass') // 选择class为myClass的div元素 $('input[name=first]') // 选择name属...
分类:
Web程序 时间:
2015-03-19 16:14:38
阅读次数:
143