上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 32 下一页
摘要: http://jd.aihuishou.com/images/icons.pnghttp://misc.360buyimg.com/201007/skin/df/i/bg_hotsale.gif来自http://jd.aihuishou.com/trade?jdparam=VxIqXSxDQy66%... 阅读全文
posted @ 2015-03-16 17:14 zhishaofei3 阅读(371) 评论(0) 推荐(0)
摘要: 通过移动端使用 Web 服务的比率越来越大,例如淘宝今年双十一,移动端交易份额就达到42.6%。由此可见,掌握移动端的前端开发和测试是非常有必要的。由于之前做过大量有响应式需求的项目;今年(2014)年初也配合 Denis 的微信机器人做了一些用于微信的移动端项目;在淘宝 UED 实习的时候,也有参... 阅读全文
posted @ 2015-03-16 15:35 zhishaofei3 阅读(697) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 -webkit-filter 6 21 22 23 24 -webkit-filter 25 26 blur 27 px 28 brightness 29 % 30 contrast 31 % 32 ... 阅读全文
posted @ 2015-03-13 12:59 zhishaofei3 阅读(160) 评论(0) 推荐(0)
摘要: ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from http://rubygems.org/ - Errno::EACCES: Permission ... 阅读全文
posted @ 2015-03-12 12:35 zhishaofei3 阅读(493) 评论(0) 推荐(0)
摘要: 看了些资料,对应只需要知道怎么查询和使用mongodb的我来说,这些足够啦。左边是mongodb查询语句,右边是sql语句。对照着用,挺方便。db.users.find() select*fromusersdb.users.find({"age":27}) select*fromuserswhere... 阅读全文
posted @ 2015-03-09 10:33 zhishaofei3 阅读(205) 评论(0) 推荐(0)
摘要: var express = require('../') , request = require('supertest') , cookieParser = require('cookie-parser')describe('req', function(){ describe('.signe... 阅读全文
posted @ 2015-03-06 23:03 zhishaofei3 阅读(347) 评论(0) 推荐(0)
摘要: 1.源码缩影 !(function (name, definition) { var hasDefine = typeof define === 'function', //检查上下文环境是否为AMD或CMD hasExports = typeof module !==... 阅读全文
posted @ 2015-03-06 22:02 zhishaofei3 阅读(400) 评论(0) 推荐(0)
摘要: 当我们在写web的时候,难免会要使用到cookie,由于node.js有了express这个web框架,我们就可以方便地去建站。在使用express时,经常会使用到cookie-parser这个插件。今天我们来分析一下这个插件。这个插件通常当作中间件使用,app.use(cookieParser()... 阅读全文
posted @ 2015-03-06 21:56 zhishaofei3 阅读(422) 评论(0) 推荐(0)
摘要: Mongoose API : http://mongoosejs.com/docs/api.html// mongoose 链接var mongoose = require('mongoose');var db = mongoose.createConnection('mongodb://127.0... 阅读全文
posted @ 2015-03-04 16:36 zhishaofei3 阅读(332) 评论(0) 推荐(0)
摘要: 问题:我使用expressjs和mongostore来管理session。下面是expressjs中的设置。app.configure(function(){ app.use(express.session({ secret:conf.secret, maxAge:newDate(Date.... 阅读全文
posted @ 2015-03-03 18:54 zhishaofei3 阅读(939) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 32 下一页