摘要: 通过 Create React Native App 新建的 用Expo来开发调试,如果要变成原生的项目 npm run eject 这个不可逆。。。 通过 react-native init 创建的 然后 react-native run-android 直接用模拟器或真机调试 安装JDK,官方下 阅读全文
posted @ 2017-11-02 17:33 zhs5 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 'atom-text-editor[data-grammar="source js jsx"]:not([mini])': 'tab': 'emmet:expand-abbreviation-with-tab' 删除远程分支需要用:git push origin :branch_name 更新for 阅读全文
posted @ 2017-08-24 16:46 zhs5 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 搞了很久,试了很多办法,最后也不知道是哪一步解决的,总结如下: 插件设置里面 git路径 C:\Users\youruser\AppData\Local\GitHub\PortableGit_25d850739bc178b2eb13c3e2a9faafea2f9143c0\cmd\git.exe c 阅读全文
posted @ 2017-04-18 19:46 zhs5 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 参考文章:https://api.alidayu.com/doc2/apiDetail.htm?spm=a3142.8063008.3.3.PEnD7Q&apiId=25450 http://open.taobao.com/docs/doc.htm?spm=a3142.7395905.4.16.Sv 阅读全文
posted @ 2016-11-22 16:48 zhs5 阅读(2874) 评论(6) 推荐(0) 编辑
摘要: 刚接触php PDO事务处理,遇到几个坑,分享下。 刚开始用源码发现事务处理没效果,原因是 MySQL数据库默认的存储引擎类型是MyISAM,这种存储引擎类型不支持事务处理。在MySQL中,只有InnoDB存储引擎类型的数据表才能支持事务处理. 再是mysql 要设置 $dbh -> setAttr 阅读全文
posted @ 2016-05-31 17:35 zhs5 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 先下载扩展 https://www.microsoft.com/en-us/download/details.aspx?id=20098 我的php版本是5.3.29 对应下载3.0版本 下载后安装到php下的ext目录(自动复制进dll文件) 然后是 php.ini 中增加 extension=p 阅读全文
posted @ 2016-05-30 17:20 zhs5 阅读(176) 评论(0) 推荐(0) 编辑
摘要: vhosts.confServerAdmin webmaster@dummy-host.example.comServerName j.ptl.comProxyRequests OffOrder deny,allowAllow from allProxyPass / http://127.0.0.1... 阅读全文
posted @ 2015-11-19 14:17 zhs5 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 快速排序算法var quicksort=function(arr){ if (arr.length =indexValue ){ right.push(arr[i]);}}return quicksort(left).concat([indexValue],quicksort(right));} 构... 阅读全文
posted @ 2015-09-16 11:48 zhs5 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 这类网页见得很多,一直没找到比较简单的js方案今天终于找到个jquery.FullPage插件http://alvarotrigo.com/fullPage/ 使用很easy 百度百科的例子 http://www.17sucai.com/preview/27774/2014-02-18/fullPa... 阅读全文
posted @ 2014-04-25 15:28 zhs5 阅读(490) 评论(2) 推荐(0) 编辑
摘要: 智能网站管理系统 仙人掌软件 JS部分* http://www.cactussoft.cn * * Copyright (c) 2009 - 2013 Jerry * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */$(function(){ var numpic = $('#slides li').size()-1; var now... 阅读全文
posted @ 2013-09-16 15:05 zhs5 阅读(989) 评论(0) 推荐(0) 编辑