上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
2016年2月23日
摘要: http://www.cnblogs.com/ys-ys/p/5092760.html http://tympanus.net/Development/HoverEffectIdeas/ 前几天的晚上较全面的去看了下css的一些文档和资料,大部分的样式运用都没什么大问题了,只是有些许较陌生,但是也知 阅读全文
posted @ 2016-02-23 01:27 jayruan 阅读(1866) 评论(0) 推荐(0) 编辑
摘要: 1. Null是个对象 JavaScript众多类型中有个Null类型,它有个唯一的值null, 即它的字面量,定义为完全没有任何意义的值。其表现得像个对象,如下检测代码: alert(typeof null); //弹出 'object' 如下截图: 尽管typeof值显示是"object",但n 阅读全文
posted @ 2016-02-23 01:03 jayruan 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 我是一个性情乖戾的Web用户,但我想这也帮助促使我成为了一名优秀的Web开发人员。当我看到一个网站上有让人不爽的设计时就会非常的恼怒,一些很简单的东西为什么做不好?下面是5种常见的可用性方面的错误,以及如何纠正这些问题的方法。给自己方便,也与人方便,确保自己不要犯这样的错误。 使用表达submit事 阅读全文
posted @ 2016-02-23 00:57 jayruan 阅读(268) 评论(0) 推荐(0) 编辑
2016年2月19日
摘要: animation-name xxxanimation-duration 8sanimation-timing-function linear,ease,ease-in,ease-out,ease-in-out,cubic-bezier(n,n,n,n) 0到1animation-delay 0sa 阅读全文
posted @ 2016-02-19 07:57 jayruan 阅读(373) 评论(0) 推荐(0) 编辑
2016年2月18日
摘要: https://github.com/angular/zone.js/ Zone.js 阅读全文
posted @ 2016-02-18 02:33 jayruan 阅读(251) 评论(0) 推荐(0) 编辑
2016年2月14日
摘要: 在很多场合能看到unicode编码过的文字,如“\u6d3b\u52a8\u63a5\u53e3”,虽然程序会认识,但人眼无法阅读,很不方便,网络上很多人写了很多的转换函数,但是一个比一个臃肿,终于发现用一行PHP代码解决的方案: $str = '{"success":true,"msg":"\u6 阅读全文
posted @ 2016-02-14 00:26 jayruan 阅读(169) 评论(0) 推荐(0) 编辑
2016年2月13日
摘要: 本文依赖于一个基础却又容易混淆的css知识点:当margin/padding取形式为百分比的值时,无论是left/right,还是top/bottom,都是以父元素的width为参照物的!也许你会说,left/right以父元素的width为参照物好理解,但是top/bottom为什么也是以父元素的 阅读全文
posted @ 2016-02-13 11:26 jayruan 阅读(235) 评论(0) 推荐(0) 编辑
摘要: https://forum.xxx.com/home.php?view=2015&from=timeline&isappinstalled=0 阅读全文
posted @ 2016-02-13 02:09 jayruan 阅读(120) 评论(0) 推荐(0) 编辑
2016年2月12日
摘要: GET /hello/fred/0926xxx572 app.get('/hello/:name/:tel', function(req, res) { console.log(req.params.name); console.log(req.params.tel);});req.params.x 阅读全文
posted @ 2016-02-12 12:13 jayruan 阅读(213) 评论(0) 推荐(0) 编辑
2016年2月11日
摘要: http://blog.csdn.net/violet_day/article/details/17023219 一、obj包含 [html] view plain copy <!doctype html> <html ng-app> <head> <script src="lib/angular/ 阅读全文
posted @ 2016-02-11 04:06 jayruan 阅读(735) 评论(0) 推荐(0) 编辑
2016年2月9日
摘要: 一,爬虫及Robots协议 爬虫,是一种自动获取网页内容的程序。是搜索引擎的重要组成部分,因此搜索引擎优化很大程度上就是针对爬虫而做出的优化。robots.txt是一个文本文件,robots是一个协议,而不是一个命令。robots.txt是爬虫要查看的第一个文件。robots.txt文件告诉爬虫在服 阅读全文
posted @ 2016-02-09 01:03 jayruan 阅读(5303) 评论(2) 推荐(0) 编辑
摘要: <meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;” /> <meta name=”format-detection” content=”t 阅读全文
posted @ 2016-02-09 01:01 jayruan 阅读(133) 评论(0) 推荐(0) 编辑
2016年2月7日
摘要: var express = require('express');var path = require('path');var favicon = require('serve-favicon');var logger = require('morgan');var cookieParser = r 阅读全文
posted @ 2016-02-07 11:29 jayruan 阅读(233) 评论(0) 推荐(0) 编辑
摘要: /* author: daimajia name: appjs Express example email: daimajia@gmail.com any question feel free to email me :) */ var appjs = module.exports = requir 阅读全文
posted @ 2016-02-07 11:28 jayruan 阅读(309) 评论(0) 推荐(0) 编辑
2016年2月6日
摘要: sudo apt-get update apt-get install php-soapphp-config --configure-options --enable-soap php -i | grep extension_dir extension='/usr/lib/php/modules/s 阅读全文
posted @ 2016-02-06 03:02 jayruan 阅读(125) 评论(0) 推荐(0) 编辑
2016年2月3日
摘要: ionic bulid android ionic build --release android keytool -genkey -v -keystore demo.keystore -alias demo.keystore -keyalg RSA -validity 20000 jarsign 阅读全文
posted @ 2016-02-03 06:10 jayruan 阅读(750) 评论(0) 推荐(0) 编辑
摘要: https://github.com/NodeRedis/node_redis/tree/master/examples demo 存redisClient.hset("hash key", "hashtest 1", "some value");redisClient.hmset("hash ke 阅读全文
posted @ 2016-02-03 06:09 jayruan 阅读(113) 评论(0) 推荐(0) 编辑
2016年2月2日
摘要: 三、常用命令 1)连接操作命令 quit:关闭连接(connection) auth:简单密码认证 help cmd: 查看cmd帮助,例如:help quit 2)持久化 save:将数据同步保存到磁盘 bgsave:将数据异步保存到磁盘 lastsave:返回上次成功将数据保存到磁盘的Unix时 阅读全文
posted @ 2016-02-02 06:11 jayruan 阅读(127) 评论(0) 推荐(0) 编辑
2016年2月1日
摘要: http://www.cnblogs.com/zichi/p/5173917.html 前言 不说话,先猛戳 Ranklist 看我排名。 这是用 node 自动刷题大概半天的 "战绩",本文就来为大家简单讲解下如何用 node 做一个 "自动AC机"。 过程 先来扯扯 oj(online judg 阅读全文
posted @ 2016-02-01 07:32 jayruan 阅读(298) 评论(0) 推荐(0) 编辑
2016年1月31日
摘要: Redis::__construct 描述: 创建一个Redis客户端 范例: $redis = new Redis(); connect, open 描述: 实例连接到一个Redis. 参数:host: string port: int 返回值:BOOL 成功返回:TRUE;失败返回:FALSE 阅读全文
posted @ 2016-01-31 07:23 jayruan 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页