摘要: 所有用户全局变量 vim /etc/profile 末尾加上 export PATH=路径:$PATH (等于号左右不能有空格) 然后 . /etc/profile 用户环境变量: vim ~/.profile 末尾加上 export PATH=路径:$PATH(等于号左右不能有空格) 然后 . ~ 阅读全文
posted @ 2017-03-18 02:25 大赚佬 阅读(437) 评论(0) 推荐(0) 编辑
摘要: a,img,button,input,textarea,div{-webkit-tap-highlight-color:rgba(255,255,255,0);} 阅读全文
posted @ 2017-02-09 14:28 大赚佬 阅读(1929) 评论(0) 推荐(0) 编辑
摘要: 长期存储密码: git config --global credential.helper store git config --global credential.helper store 阅读全文
posted @ 2017-01-27 14:53 大赚佬 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.cnblogs.com/front-end-ralph/p/4871332.html 阅读全文
posted @ 2016-12-29 15:03 大赚佬 阅读(83) 评论(0) 推荐(0) 编辑
摘要: github地址:https://github.com/MakeMoneyMan/hammer_banner (求给小星星) 本来想直接推到首页的,结果有150字限制,好吧那就简单说说思路。 根据观察 1、鼠标距离中心点越远,变化幅度越大。 2、每个banner中的元素变化幅度不一致。(可以推断出, 阅读全文
posted @ 2016-11-25 16:03 大赚佬 阅读(392) 评论(0) 推荐(0) 编辑
摘要: //只适用于一般文章型,博客型网站。如果正文只有一张图片,那就没辙了~ 继续研究吧var stateDom = $("body");//结果储存在这个变量里 function main(dom){ if(dom.childNodes.length > stateDom.childNodes.length) stateDom = dom; dom.childNodes.forEac... 阅读全文
posted @ 2016-11-10 11:50 大赚佬 阅读(471) 评论(0) 推荐(0) 编辑
摘要: BKF8TDHNJS-eyJsaWNlbnNlSWQiOiJCS0Y4VERITkpTIiwibGljZW5zZWVOYW1lIjoiYWxpY2FzIGFnaWxlIiwi YXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZX 阅读全文
posted @ 2016-09-26 12:02 大赚佬 阅读(423) 评论(0) 推荐(0) 编辑
摘要: ;(function(window,document){ var Constant=function() { return Constant.fn.init(); }; Constant.fn=Constant.prototype={ url: 'http://url', dataUrl:'http://192.... 阅读全文
posted @ 2016-09-24 15:22 大赚佬 阅读(279) 评论(0) 推荐(0) 编辑
摘要: var u = navigator.userAgent, app = navigator.appVersion; var v = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1 ? 'scrolling="auto"' :'scrolling="no"'; document.write(''); 阅读全文
posted @ 2016-07-20 17:20 大赚佬 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 1、 2、 3、 阅读全文
posted @ 2016-07-13 10:42 大赚佬 阅读(279) 评论(0) 推荐(0) 编辑