- 博客(11)
- 收藏
- 关注
转载 前端构建工具gulp
平时主要写的是一些PHP的代码,这个月由于工作需要,用到前端构建工具gulp来改一些开源的模板,来用在自己的项目上面!下面就谈一下这个礼拜对gulp的个人理解。 1.为什么使用gulp? 通过gulp命令,可以将src中的文件通过”流”的生成一个dist文件夹 将多个文件合并为同一个文件 通过包管理器npm也可以自动更新一些有名的代码库 再也不用按F5刷新了,...
2016-06-02 17:53:00
162
转载 Jquery input type=radio 的一些常用用法
HTML代码: <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-left:12px;"> <tr> <td align="right" width="2%" ><input type="radio" name="n1" i...
2016-05-24 15:26:00
271
转载 Git GUI工具gitkraken的使用
这篇博客是根据我的上一篇博客“团队 Git Flow 指南”的操作流程找到的一个GUI的工具 GitKranken是一款国外的软件,界面清晰,能更好的让git新手脑中有分支的概念 下载地址https://www.gitkraken.com/download 操作步骤1. fork对应的库到自己的库中 ...
2016-05-17 11:03:00
344
转载 团队Git Flow指南
Git Flow指南 常规: 团队项目以git flow模型管理分支,使用bitbucket托管,以pull request方式做code review。 个人开发流程: 1)在bitbucket团队项目页面上fork这个库(以后简称repo) 2)克隆fork到你名下的库,注意是你名下的 git clone git@bitb...
2016-05-10 09:03:00
242
转载 Jquery 实现不刷新分页功能
首先页面效果如下面URL: http://www.movietownhaikou.com/test/zh-cn/tenants.php HTML 循环显示所有的内容 <?php $result = $tenants->tenantsdata(); ...
2016-04-29 14:44:00
171
转载 linux grep命令
用法: grep [选项]... PATTERN [FILE]... 在每个 FILE 或是标准输入中查找 PATTERN。 默认的 PATTERN 是一个基本正则表达式(缩写为 BRE)。 例如: grep -i 'hello world' menu.h main.c --color:对匹配的字符串着色打印 -o:只显示被模式匹配到的内容 -c:打印出匹配到字符串的...
2016-04-27 13:07:00
115
转载 PHP 利用simplexml_load_file 读取XML对应的字段 然后存入mysql数据库
<?xml version="1.0" encoding="UTF-8"?> <root> <news id="1" year="2015"> <title>海口观澜湖华谊冯小刚电影公社南洋街盛大开街</title> <thumbnail>/news/2015/ne...
2016-04-22 15:03:00
145
转载 php 设计模式之单类模式
直接上代码吧! 1 <?php 2 class Singleton 3 { 4 private static $_instance = null; 5 6 private function __construct() 7 { 8 } 9 10 public static function getI...
2016-04-20 14:59:00
125
转载 百度地图API调用
上传地址,获得经度纬度: 1 $newdata = urlencode(地址); 2 3 $url = "http://api.map.baidu.com/geocoder/v2/?address=".$newdata."&output=json&ak=需自己申请"; 4 5 $address_data = file_get_contents($url)...
2015-05-31 21:40:00
145
转载 PHP实现.csv文件的上传与下载-Mysql
(1)上传: 1 <?php 2 3 $mysql_hostname = "你的数据库IP地址"; 4 5 $mysql_user = "你的数据库登陆名"; 6 7 $mysql_password = "登陆密码"; 8 9 $mysql_database = "你的数据库中所使用的database"; 10 $prefix...
2015-05-31 21:32:00
209
转载 The first day of my Blog
Hi Everyone, This is my first day of Blog, I will keep going on this way and share my thinking to others,thank you! 转载于:https://www.cnblogs.com/Nick-Cai/p/4528025.html
2015-05-25 15:42:00
212
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人