03 2015 档案

摘要:参考:http://www.eoeandroid.com/thread-272837-1-1.htmlhttp://blog.csdn.net/hcbbt/article/details/116512291.添加ssh-key 折腾很久就是没有用命令把内容复制好,按照官网教程还是靠谱呀https:/... 阅读全文
posted @ 2015-03-29 11:53 yo胡yo 阅读(130) 评论(0) 推荐(0)
摘要:安装spm 下载sea.js运行spmnpm install spm@2.x -gnpm install spm-build -g下载sea.jsgit clonehttps://github.com/seajs/examples.gitcdexamples/static/hellospm-buil... 阅读全文
posted @ 2015-03-29 02:28 yo胡yo 阅读(268) 评论(0) 推荐(0)
摘要:变量 @color1:#fff;选择器// Variables@mySelector: banner;// Usage.@{mySelector} { font-weight: bold; line-height: 40px; margin: 0 auto;}图片域名// Variables@... 阅读全文
posted @ 2015-03-29 01:44 yo胡yo 阅读(130) 评论(0) 推荐(0)
摘要:demo地址 http://www.qq210.com/shoutu/android 1.下载less包,官网 2.引入less文件 3.引入config.js 3.引入less.js 4.less.watch();开启观察者模式, config.js test.html 阅读全文
posted @ 2015-03-29 01:33 yo胡yo 阅读(1135) 评论(2) 推荐(0)
摘要:安装node.jsbrew install node.js安装gruntnpm install -g grunt-cli1.新建package.json,配置{ "name": "domain.com", "version": "0.1.0", "devDependencies": { ... 阅读全文
posted @ 2015-03-29 00:39 yo胡yo 阅读(1409) 评论(0) 推荐(0)
摘要:因为gmu需要用编译的方式下载,于是联想到bootstrap什么less sass编译less先学,据说基于js编译和less编译器,安装起来详细,sass据网上介绍基于ruby,以下为在mac上下载编译boostrap过程1.安装node.js brew install node.js就可以了2.... 阅读全文
posted @ 2015-03-28 01:16 yo胡yo 阅读(397) 评论(0) 推荐(0)
摘要:1.选择p(推迟)例如冲突文件:a.txt a.txt.mine a.txt.r6328 a.txt.r63362.查看a.txt冲突文件>>>>>> .r63363.三种处理3.1确定并修改和并代码,并svn resolve --accept working a.txt3.2使用'他‘的代码svn... 阅读全文
posted @ 2015-03-26 21:04 yo胡yo 阅读(350) 评论(0) 推荐(0)
摘要:header('Location: ' . $sns->getRequestCodeURL()); 阅读全文
posted @ 2015-03-26 10:27 yo胡yo 阅读(145) 评论(0) 推荐(0)
摘要:字符串:setTimeout('pageScroll(4)',100); 阅读全文
posted @ 2015-03-24 10:02 yo胡yo 阅读(148) 评论(0) 推荐(0)
摘要:非超级用户:sudo 命令svn info 查看svn地址svn co 地址 检出仓库 阅读全文
posted @ 2015-03-23 15:19 yo胡yo 阅读(134) 评论(0) 推荐(0)
摘要:function Person(name){ this.name = name;}Person.prototype = { say: function(){ alert('hi'); }, sayName: function(){ alert(this.name); }};fu... 阅读全文
posted @ 2015-03-21 20:20 yo胡yo 阅读(240) 评论(0) 推荐(0)
摘要:添加时间戳给callbackId $.ajax({ type: "get", url: url, timeout: 6000, data: param, cache: false, dataType: "jsonp", jsonpCallback: "jsoncallback" + ... 阅读全文
posted @ 2015-03-21 18:17 yo胡yo 阅读(1126) 评论(0) 推荐(0)
摘要:1.数据表 1.1用户表users字段类型空默认链接到注释id(主键)bigint(20)否user_loginvarchar(60)否用户名user_passvarchar(64)否登录密码;sp_password加密user_nicenamevarchar(50)否用户美名user_email... 阅读全文
posted @ 2015-03-18 09:30 yo胡yo 阅读(254) 评论(0) 推荐(0)
摘要:background-color: #2a3138; position: fixed; bottom: 0; left: 0; width: 100%; height: 57px; overflow: hidden; 阅读全文
posted @ 2015-03-17 23:24 yo胡yo 阅读(446) 评论(0) 推荐(0)
摘要:white-space:nowrap;text-overflow:ellipsis; -o-text-overflow:ellipsis;overflow:hidden; 阅读全文
posted @ 2015-03-17 23:17 yo胡yo 阅读(185) 评论(0) 推荐(0)
摘要:http://www.qq210.com/shoutu/android 创建HTML结构: h 8 (敲h激活代码块列表,按8选择第8个项目,即HTML代码块,或者敲h t Enter)中途换行: 'Ctrl+Enter'设置charset: m e 6 Enter引用外部js: s 2 Enter 阅读全文
posted @ 2015-03-17 17:48 yo胡yo 阅读(2443) 评论(0) 推荐(0)
摘要:xxx 阅读全文
posted @ 2015-03-17 16:26 yo胡yo 阅读(1224) 评论(0) 推荐(0)
摘要://获取域名host = window.location.host;host2=document.domain;//获取页面完整地址url = window.location.href;document.write("host="+host)document.write("host2="+host2... 阅读全文
posted @ 2015-03-17 10:13 yo胡yo 阅读(276) 评论(0) 推荐(0)
摘要:[xdebug]zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/xdebug.soxdebug.remote_enable=onxdebug.remote_host=... 阅读全文
posted @ 2015-03-13 15:12 yo胡yo 阅读(279) 评论(0) 推荐(0)
摘要:一 测试php性能1.apache中的ab工具 ab -n请求数 -c并发生 网站2.time php文件二 优化php1.语言级别1.1 使用内置函数 range() array_merge(),内置函数之间性能 isset>array_key_exists1.2 尽量少用魔术方法1.3 多使用u... 阅读全文
posted @ 2015-03-13 14:04 yo胡yo 阅读(111) 评论(0) 推荐(0)
摘要:function rgb2hex(rgb) { rgb = rgb.match(/^rgb\((\d+),(\d+),(\d+)\)$/); function hex(x) { return ("0" + parseInt(x).toString(16)).slice(-2); } ret... 阅读全文
posted @ 2015-03-12 11:56 yo胡yo 阅读(276) 评论(0) 推荐(0)
摘要:mysql mysql_connect($db_host, $db_user, $db_password); mysql_select_db($dn_name); $result = mysql_query("SELECT `name` FROM `users` WHERE `location` = '$location'"); while ($row = mysql_fetc... 阅读全文
posted @ 2015-03-03 10:30 yo胡yo 阅读(519) 评论(0) 推荐(0)