会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Greasy_Giant
博客园
首页
新随笔
联系
订阅
管理
2016年2月1日
博客将迁至CSDN
摘要: http://blog.csdn.net/larry011
阅读全文
posted @ 2016-02-01 18:50 Greasy_Giant
阅读(121)
评论(0)
推荐(0)
编辑
虚拟机中搭建Tor服务
摘要: 0x01 test
阅读全文
posted @ 2016-02-01 18:47 Greasy_Giant
阅读(1007)
评论(0)
推荐(0)
编辑
2016年1月31日
瀑布流布局
摘要: 0x01 idea https://www.tumblr.com/dashboard
阅读全文
posted @ 2016-01-31 20:37 Greasy_Giant
阅读(268)
评论(0)
推荐(0)
编辑
2016年1月25日
npm设置http代理
摘要: http://my.oschina.net/deathdealer/blog/208919
阅读全文
posted @ 2016-01-25 14:35 Greasy_Giant
阅读(561)
评论(0)
推荐(0)
编辑
利用BFC特性实现两栏自适应
摘要: 有时候我们在CSS布局的时候需要实现两栏布局,且其中一栏的宽度不固定。据我的经验,有以下几种方法:inline-block首先两个元素不跨行,又要可以设置宽高,当然是inline-block,但是用此方法有个非常大的缺陷,就是width属性不好设置js计算百分比计算calc属性Float + ove...
阅读全文
posted @ 2016-01-25 10:29 Greasy_Giant
阅读(293)
评论(0)
推荐(0)
编辑
2016年1月24日
Socket.IO初探
摘要: 建立Server //server.jsvar io = require('socket.io')(80); var chat = io .of('/chat') //设定命名空间 .on('connection', function (socket) { socket.emit('a messag
阅读全文
posted @ 2016-01-24 23:09 Greasy_Giant
阅读(467)
评论(0)
推荐(0)
编辑
2016年1月23日
ThinkJS连接MongoDB
摘要: 1 'use strict'; 2 /** 3 * db config 4 * @type {Object} 5 */ 6 module.exports = { 7 type: "mongo", 8 log_sql: true, 9 log_connect: tr...
阅读全文
posted @ 2016-01-23 21:54 Greasy_Giant
阅读(1756)
评论(0)
推荐(0)
编辑
2015年10月19日
pageX,clientX,screenX
摘要: pageX、Y,包含的滚动条,是取得相对于整个网页的坐标。clientX、Y,不包含滚动条,是取得当面相对于视窗(浏览器窗口)的坐标。screenX、Y,相对于整个屏幕大小的坐标
阅读全文
posted @ 2015-10-19 17:57 Greasy_Giant
阅读(173)
评论(0)
推荐(0)
编辑
关于animation-timing-function的steps()属性
摘要: step-end : 在动画100%时发生阶跃,表现就是不会显示动画100%时的执行效果。step-start:在动画0%时发生阶跃,表现就是不会显示0%处的动画。
阅读全文
posted @ 2015-10-19 10:01 Greasy_Giant
阅读(247)
评论(0)
推荐(0)
编辑
deferred.then()的链式操作
摘要: var request = $.ajax( url, { dataType: "json" } ), chained = request.then(function( data ) { return $.ajax( url2, { data: { user: data.userId ...
阅读全文
posted @ 2015-10-19 09:56 Greasy_Giant
阅读(379)
评论(0)
推荐(0)
编辑
公告