码迷,mamicode.com
首页 > Web开发
[RxJS] Aggregating Streams With Reduce And Scan using RxJS
What is the RxJS equivalent of Array reduce? What if I want to emit my reduced or aggregated value at each event? This brief tutorial covers Observabl...
分类:Web程序   时间:2015-09-07 20:57:09    阅读次数:250
简单的Socket实现的http Server
代码下载地址 ?http://note.youdao.com/share/?id=1d28ee946720332255efc72c3e12a0da&type=note 参考?http://blog.csdn.net/u010687392/article/details/44649589 /** * * @className: MainActivity * @de...
分类:Web程序   时间:2015-09-07 19:54:15    阅读次数:214
weblogic启动脚本
#进入目录 cd /opt/Oracle/weblogic/user_projects/domains/domain1/bin/ #管理server环境 export USER_MEM_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=256m" #后台启动,按天写日志 nohup ./startWebLogic.sh ?|...
分类:Web程序   时间:2015-09-07 19:54:06    阅读次数:204
AngularJS - 下一个大框架
AngularJS   AngularJS是web应用的下一个巨头。   AngularJS如果为创建web应用而设计,那它就是HTML的套路了。具有数据绑定, MVW, MVVM, MVC, 依赖注入的声明式模板和出色的可测试性都是用纯客户端 JavaScri...
分类:Web程序   时间:2015-09-07 19:53:17    阅读次数:255
Jquery 将表单序列化为Json对象
大家知道Jquery中有serialize方法,可以将表单序列化为一个“&”连接的字符串,但却没有提供序列化为Json的方法。不过,我们可以写一个插件实现。 ? 我在网上看到有人用替换的方法,先用serialize序列化后,将&...
分类:Web程序   时间:2015-09-07 19:50:10    阅读次数:199
AspectJ声明式事务配置
Spring声明式事务配置,实现模拟转账过程 (AspectJ) 编程式事务要修改service层的代码,很少用,相比之下,AspectJ增强事务管理器,在xml中配置切面切点(AOP),而service代码不用做修改。 1.新建数据表 DROP ...
分类:Web程序   时间:2015-09-07 19:52:10    阅读次数:210
PHP异步上传文件到七牛(包含上传文件进度条)
<?php? require_once?‘inc.php‘; require_once?‘vendor/autoload.php‘; //?引入鉴权类 use?Qiniu\Auth; //?引入上传类 use?Qiniu\Storage\UploadManager; //?需要填写你的?Access?Key?和?Secret?...
分类:Web程序   时间:2015-09-07 19:50:06    阅读次数:202
PHP       xcache
PHP源码编译,讲PHP编译成Apache的模块方式编译环境:环境系统:redhat5内核版本:2.6.18-371.el5软件包:php-5.4.45xcache-3.1.2编译过程:#tarzxfphp-5.4.45.tar.gz//解压#cdphp-5.4.45#./configure--prefix=/usr/local/php--enable-mbstring--enable-sockets--with-apxs2=/u..
分类:Web程序   时间:2015-09-07 19:44:22    阅读次数:343
桌面支持--‘Do you want to view only the webpage conten
2015.07.02问题描述:FixingtheIE8warning–‘Doyouwanttoviewonlythewebpagecontentthatwasdeliveredsecurely?’解决办法:GoingtoTools->InternetOptions->SecurityselectthesecuritytabclickontheinternetzoneiconatthetopofthetabpageClicktheCustomlevelbuttonInth..
分类:Web程序   时间:2015-09-07 19:41:00    阅读次数:238
zabbix监控apache
1、打开apache的ServerStatus页面,在httpd.conf文件最下边加入代码段。ExtendedStatusOn <location/server-status> SetHandlerserver-status OrderDeny,Allow Denyfromall Allowfrom127.0.0.1 </location>2、通过脚本获取zabbix需要的item的值,在/alidata/zabbix..
分类:Web程序   时间:2015-09-07 19:39:21    阅读次数:375
CentOS环境PHP安装测试memcache扩展
1、安装libmemcached库yuminstalllibmemcached2、下载并解压memcache文件wgethttp://pecl.php.net/get/memcache-3.0.8.tgztarxzvfmemcache-3.0.8.tgzcdmemcache-3.0.83、执行phpize扩展安装程序,假设phpzie的路径为/usr/local/php/bin/phpize,具体的路径得根据自己的环境修改..
分类:Web程序   时间:2015-09-07 19:40:08    阅读次数:259
[RxJS] Stream Processing With RxJS vs Array Higher-Order Functions
Higher order Array functions such as filter, map and reduce are great for functional programming, but they can incur performance problems.var ary = [1...
分类:Web程序   时间:2015-09-07 19:31:19    阅读次数:256
php模式设计之 注册树模式
什么是注册树模式? 注册树模式当然也叫注册模式,注册器模式。之所以我在这里矫情一下它的名称,是因为我感觉注册树这个名称更容易让人理解。像前两篇一样,我们这 篇依旧是从名字入手。注册树模式通过将对象实例注册到一棵全局的对象树上,需要的时候从对象树上采摘的模式设计方法。 这让我想起了小时候买糖葫芦,.....
分类:Web程序   时间:2015-09-07 19:31:54    阅读次数:142
jsp乱码
在jsp文件中:Insert title here">get乱码问题java文件:protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IO...
分类:Web程序   时间:2015-09-07 19:29:37    阅读次数:145
html头文件设置常用之<meta>设置缓存
,pragma与no-cache用于定义页面缓存,不缓存页面(为了提高速度一些浏览器会缓存浏览者浏览过的页面,通过下面的定义,浏览器一般不会缓存页面,而且浏览器无法脱机浏览.),常见的取值有private、no-cache、max-age、must-revalidate等,默认为private,其作...
分类:Web程序   时间:2015-09-07 19:27:26    阅读次数:170
PHP 实现简单搜索功能
方案:问答搜索1. 搜索结果列表,高亮显示搜索关键词内容2. 用户输入内容,点击搜索 2.1 获取用户的搜索内容; 2.2 调用分词服务,获取对搜索内容的分词; 2.3 先查询是否已经存在这些关键词内容的缓存,有则直接取结果;否,进行下一步; 2.4 如果 2.2 返回的分词数大于 5 个,...
分类:Web程序   时间:2015-09-07 19:28:04    阅读次数:251
Asp.Net Mvc 之Ajax
Asp.Net Mvc 之Ajax正文: 除了HtmlHelper之外,还有UrlHelper帮助方法: 1.@Url.Action():url字符串 跳转 2.@Url.RouteUrl:根据路由名称生成url字符串 @Url.RouteUrl("Default1", new ...
分类:Web程序   时间:2015-09-07 19:28:05    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!