01 2016 档案

使用git和github进行协同开发流程
摘要:(本文假设各位已经对基本git的基本概念、操作有一定的理解,如无相关git知识,可以参考Pro Git这本书进行相关的学习和练习) 很多项目开发都会采用git这一优秀的分布式版本管理工具进行项目版本管理,使用github开源平台作为代码仓库托管平台。由于git的使用非常灵活,在实践当中衍生了很多种不 阅读全文

posted @ 2016-01-30 16:00 今天又进步了 阅读(10065) 评论(1) 推荐(3) 编辑

ero-configuration Web Application Debugging with Xdebug and PhpStorm
摘要:1. Install Xdebug To use Xdebug with PhpStorm for debugging PHP applications, you need to have a PHP development environment configured with Xdebug ex 阅读全文

posted @ 2016-01-30 04:04 今天又进步了 阅读(1168) 评论(0) 推荐(0) 编辑

sudo: unable to execute ./script.sh: no such file or directory
摘要:I just had this exact problem, it turned out to be a text file encoding problem. For me to fix it while running Xubuntu 14.04.3 LTS, I installed dos2u 阅读全文

posted @ 2016-01-30 03:52 今天又进步了 阅读(1667) 评论(0) 推荐(0) 编辑

PHPStorm + Homestead + Xdebug + Chrome Xdebug Helper 调试配置
摘要:话说 PHPStorm 写起代码来非常带感,各种提示补全和纠错,以及在 L5 中的命名空间功能更是强大到感动(新建类自动添加命名空间,自动引入命名空间,返回参数命名空间纠正等等)。当然它的调试功能更是让你在出现 BUG 不知所措时抓住的稻草。 下面我将一步一步带你配置这强大到爆功能。但是,这个配置是 阅读全文

posted @ 2016-01-30 02:43 今天又进步了 阅读(1288) 评论(0) 推荐(0) 编辑

The best manual of how to use "The easiest Xdebug" addon for Firefox
摘要:Installation notes 0. Install the best Firefox add-on for remote debugging The easiest Xdebug. I'm not lying. 1. Install the xdebug extension from PEC 阅读全文

posted @ 2016-01-30 02:42 今天又进步了 阅读(451) 评论(0) 推荐(0) 编辑

Windows上使用Vagrant打造Laravel Homestead可协同跨平台开发环境
摘要:1、简介 Laravel 致力于让整个 PHP 开发过程变得让人愉悦,包括本地开发环境,为此官方为我们提供了一整套本地开发环境 —— Laravel Homestead。 Laravel Homestead 是一个打包好各种 Laravel 开发所需要的工具及环境的 Vagrant 盒子(Vagra 阅读全文

posted @ 2016-01-29 18:58 今天又进步了 阅读(1563) 评论(0) 推荐(0) 编辑

vue-resource和vue-async-data两个插件的使用
摘要:vue-resource和vue-async-data两个插件的使用,看了一下文档http://cn.vuejs.org/guide/plugins.html#u5DF2_u6709_u63D2_u4EF6__26amp_3B__u5DE5_u5177var Vue = require("vue")... 阅读全文

posted @ 2016-01-23 21:28 今天又进步了 阅读(2569) 评论(0) 推荐(0) 编辑

Vue Resource root options not used?
摘要:I specify a root options in my Vue-Resource in my main.js file, but when I do the request, it does not use the root options. What am I missing ?Here's... 阅读全文

posted @ 2016-01-23 21:27 今天又进步了 阅读(1802) 评论(0) 推荐(0) 编辑

jQuery - Detect value change on hidden input field
摘要:You can simply use the below function, You can also change the type element.$("input[type=hidden]").bind("change", function() { alert($(this).va... 阅读全文

posted @ 2016-01-18 23:13 今天又进步了 阅读(1739) 评论(0) 推荐(0) 编辑

php验证手机号码
摘要:大家都应该有这个常识,中国的手机号码都是以数字“1”开头,然后利用“0~9”10个数字组成的11位数字组合,那么我们的验证规则肯定要根据这个思路来写。根据上面的简单思路,我们便可以写下以下的验证代码,代码如下: 但上面的代码显然是不够严谨的,因为这样,即使“18888888888”这样的手机号码也能... 阅读全文

posted @ 2016-01-13 01:09 今天又进步了 阅读(4081) 评论(0) 推荐(0) 编辑

mysql中存不进去json_encode格式的数据
摘要:主要是因为json_encode格式的数据,中间带有\,在存入数据库的时候,会把反斜杠删除了。所以,想要存进去的话,需要在外层调用一下函数addslashes();这个函数会在每个反斜杠的前面添加反斜杠,如此这般就可以存进数据库了。实例:$review_log = addslashes(json_e... 阅读全文

posted @ 2016-01-10 19:02 今天又进步了 阅读(1381) 评论(0) 推荐(0) 编辑

在Nginx 下运行 Laravel5.1 的配置
摘要:一、nginx 的 vhost.conf 配置:server { listen 80; server_name sub.domain.com; set $root_path '/srv/www/default'; root $ro... 阅读全文

posted @ 2016-01-08 19:16 今天又进步了 阅读(596) 评论(0) 推荐(0) 编辑

BT9034: 仅 IE 和 Opera 支持 HTMLFrameElement 和 HTMLIFrameElement 的 document 属性
摘要:标准参考根据 DOM-2 中的描述,HTMLFrameElement 和 HTMLIFrameElement 都没有 'document' 属性。关于 HTMLFrameElement 对象的详细信息,请参考 DOM-2 Interface HTMLFrameElement 中的内容。关于 HTML... 阅读全文

posted @ 2016-01-06 16:23 今天又进步了 阅读(1243) 评论(0) 推荐(0) 编辑

mysql中的 IN和FIND_IN_SET的查询问题
摘要:原来以为mysql可以进行这样的查询select id, list, name from table where 'daodao' IN (list); (一)注:1. table含有三个字段id:int, list:varchar(255), name:varchar(255)实际上这样是不行的,... 阅读全文

posted @ 2016-01-03 00:06 今天又进步了 阅读(4447) 评论(0) 推荐(0) 编辑

mysql忘记root密码拯救方法(flush privileges)
摘要:修改的用户都以root为列。一、拥有原来的myql的root的密码; 方法一:在mysql系统外,使用mysqladmin# mysqladmin -u root -p password "test123"Enter password: 【输入原来的密码】方法二:通过登录mysql系统,# mysq 阅读全文

posted @ 2016-01-02 20:40 今天又进步了 阅读(2204) 评论(0) 推荐(0) 编辑

MYSQL查询某字段中以逗号分隔的字符串的方法
摘要:首先我们建立一张带有逗号分隔的字符串。CREATE TABLE test(id int(6) NOT NULL AUTO_INCREMENT,PRIMARY KEY (id),pname VARCHAR(20) NOT NULL,pnum VARCHAR(50) NOT NULL);然后插入带有逗号... 阅读全文

posted @ 2016-01-01 12:05 今天又进步了 阅读(4597) 评论(0) 推荐(0) 编辑

mysql 根据生日计算年龄,并查询在18-25之间的语句
摘要:select id, DATE_FORMAT(birthday,"%Y-%m-%d") birthday, CURDATE() , (year(now())-year(birthday)-1) + ( DATE_FORMAT(birthday, '%m%d') <= DATE... 阅读全文

posted @ 2016-01-01 11:26 今天又进步了 阅读(2031) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示