11 2015 档案

摘要:其实距过年还有些时日,由于早前失业了,就先行总结一下。今年收获了一个小家庭,下一步要在武汉安个窝,任重道远。工作上不怎么顺利,由于各种原因,整个人就像这个浮躁的社会静不下来。作为一个普通老百姓,继续享受这天朝的生活。心里过多想的是转型,或则工作能有质的提升,不想每天在键盘上滚来滚去。语言功能略有退化... 阅读全文
posted @ 2015-11-24 16:04 卖果子的小男孩 阅读(147) 评论(0) 推荐(0)
摘要:一、安装appache \conf\httpd.conf 安装目录下的htdocs文件夹为网站文件目录。或者修改Apache 安装目录下conf/httpd.conf文件中的DocumentRoot参数,来指定目录,如 DocumentRoot = "E:/Compiler/Apache/htdoc... 阅读全文
posted @ 2015-11-23 15:29 卖果子的小男孩 阅读(258) 评论(0) 推荐(0)
摘要:Memcached的使用一 、Memcached服务器端的安装 (此处将其作为系统服务安装) 下载文件:memcached 1.2.1 for Win32 binaries (Dec 23, 2006) 1 解压缩文件到c:\memcached 2 命令行输入 'c:\memcached\memca... 阅读全文
posted @ 2015-11-18 09:59 卖果子的小男孩 阅读(164) 评论(0) 推荐(0)
摘要:故事发生的背景,原来的模块已经各地引用了下面是图片上传成功之后的通用过程parentObj.siblings(".upload-name").val(data.name);parentObj.siblings(".upload-path").val(data.path);parentObj.sibl... 阅读全文
posted @ 2015-11-07 13:59 卖果子的小男孩 阅读(298) 评论(0) 推荐(0)
摘要:记录public class RemarkAttribute : Attribute { private string m_remark; public RemarkAttribute(string remark) { this.... 阅读全文
posted @ 2015-11-05 11:42 卖果子的小男孩 阅读(305) 评论(0) 推荐(0)
摘要:HTML5 简单的js 库 阅读全文
posted @ 2015-11-03 11:56 卖果子的小男孩 阅读(291) 评论(0) 推荐(0)
摘要:1:利用锚点实现页面切换2:管控css和js的作用域,模块间不相互感染3:Ajax和seo的冲突,异步对应一个真实页面。搜索引擎不执行js但是能够拿到链接里面的内容4:多开发团队间的协调,写代码的地方相对集中,怎么解决 阅读全文
posted @ 2015-11-03 11:50 卖果子的小男孩 阅读(136) 评论(0) 推荐(0)
摘要:function uploadFile() { popup('#msg', '正在上传头像', null, false); var fd = new FormData(); fd.a... 阅读全文
posted @ 2015-11-03 11:38 卖果子的小男孩 阅读(242) 评论(0) 推荐(0)
摘要:html5 照片取景上传 阅读全文
posted @ 2015-11-03 11:34 卖果子的小男孩 阅读(349) 评论(0) 推荐(0)
摘要:只记录单点,多点模拟的还不知道怎么搞 阅读全文
posted @ 2015-11-03 11:21 卖果子的小男孩 阅读(807) 评论(0) 推荐(0)
摘要:navigator.userAgent.match(/(iPhone|iPod|Android|ios|SymbianOS)/i) 阅读全文
posted @ 2015-11-03 11:13 卖果子的小男孩 阅读(133) 评论(0) 推荐(0)
摘要:using System;using System.CodeDom;using System.CodeDom.Compiler;using System.Collections.Generic;using System.IO;using System.Net;using System.Reflect... 阅读全文
posted @ 2015-11-03 11:11 卖果子的小男孩 阅读(284) 评论(0) 推荐(0)
摘要:1:jsonp 能过get方式2:cors 在返回响应头header中注入Access-Control-Allow-Origin,可实现post,要浏览器兼容asp.net 通过Response.AppendHeader来改变header 阅读全文
posted @ 2015-11-03 11:10 卖果子的小男孩 阅读(138) 评论(0) 推荐(0)
摘要:方案一:fastclick.js方案二:用touchend代替tap事件并阻止掉touchend的默认行为preventDefault()1 $("#cbFinish").on("touchend", function (event) {2 //很多处理比如隐藏什么的3 event.... 阅读全文
posted @ 2015-11-03 11:09 卖果子的小男孩 阅读(373) 评论(0) 推荐(0)
摘要:记录这个的起因是当时做webQQ api 时,需要传替header,先记录1:打开URL Scan的配置文件( C:\Windows\System32\inetsrv\urlscan\UrlScan.ini),找到“RemoveServerHeader”,将值设置为1。2:打开IIS管理器,切换到站... 阅读全文
posted @ 2015-11-03 11:08 卖果子的小男孩 阅读(300) 评论(0) 推荐(0)
摘要:记录在案,备用i 执行对大小写不敏感的匹配。g 执行全局匹配(查找所有匹配而非在找到第一个匹配后停止)。m 执行多行匹配。[abc] 查找方括号之间的任何字符。[^abc] 查找任何不在方括号之间的字符。[0-9] 查找任何从 0 至 9 的数字。[a-z] 查找任何从小写 a 到小写 z 的字符。... 阅读全文
posted @ 2015-11-03 11:06 卖果子的小男孩 阅读(179) 评论(0) 推荐(0)
摘要:算定义web.config 阅读全文
posted @ 2015-11-03 10:45 卖果子的小男孩 阅读(403) 评论(0) 推荐(0)
摘要:本文记录 prototype constructor 实现javascript继承。//1:object 对象 //2:function 对象 //2:function Prototype 模式 //拷贝,深拷贝和浅拷贝 //prototype constructor 方式 ,改变原型,定向... 阅读全文
posted @ 2015-11-03 10:35 卖果子的小男孩 阅读(152) 评论(0) 推荐(0)
摘要:记录一下,备用 阅读全文
posted @ 2015-11-03 10:30 卖果子的小男孩 阅读(662) 评论(0) 推荐(0)
摘要:上一文Microsoft.Practices.Unity mvc controller 注入本文记录为主,代码取自网络各大神,本地测试通过并记录在案。内容:AOP 切面编程核心代码:标的有注释using Microsoft.Practices.Unity;using Microsoft.Practi... 阅读全文
posted @ 2015-11-03 10:20 卖果子的小男孩 阅读(222) 评论(0) 推荐(0)
摘要:上一文Microsoft.Practices.Unity 通用类MVC3对于依赖注入提供更好的支持。我们可以使用- IDependencyResolver 和 IControllerActivator 来实现对controller的注入。IDependencyResolver公开两个方法 - Get... 阅读全文
posted @ 2015-11-02 15:10 卖果子的小男孩 阅读(368) 评论(0) 推荐(0)