会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陈朔技术博客
chenshuo.net
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
14
下一页
2016年1月2日
PHP Markdown 解析器Parsedown
摘要: PHP Markdown 解析器Parsedown http://parsedown.org/demo
阅读全文
posted @ 2016-01-02 00:27 陈朔
阅读(1221)
评论(0)
推荐(0)
2015年12月31日
搭建git服务器及利用git hook自动布署代码
摘要: 注意:服务器:Ubuntu Server 14.04,我的项目比较小,所有操作都使用 root ,建议最好新建一个用户(需要有管理员权限,否则在后面使用hooks自动部署代码时会出现各种权限问题,很蛋疼的)。 一、搭建GIT服务器 1. 安装GIT 1.1 安装前最好先更新apt get...
阅读全文
posted @ 2015-12-31 10:45 陈朔
阅读(651)
评论(0)
推荐(0)
2015年12月15日
PHP文件上传类
摘要: PHP文件上传类
阅读全文
posted @ 2015-12-15 11:41 陈朔
阅读(257)
评论(0)
推荐(0)
2015年12月9日
PHP json不转义
摘要: json_encode($result, JSON_UNESCAPED_UNICODE);
阅读全文
posted @ 2015-12-09 18:00 陈朔
阅读(522)
评论(0)
推荐(0)
2015年12月1日
ubuntu下mysql 开启远程连接
摘要: 一、修改配置文件:vim /etc/mysql/my.cnf,找到 bind-address = 127.0.0.1注释掉这行,如:#bind-address = 127.0.0.1或者改为:bind-address = 0.0.0.0允许任意IP访问;或者自己指定一个IP地址。重启MySQL服务:...
阅读全文
posted @ 2015-12-01 10:54 陈朔
阅读(187)
评论(0)
推荐(0)
2015年10月29日
让MySQL数据库支持Emoji表情
摘要: 问题:Emoji 表情是按照4个字节存储的,所以传统 mysql utf-8编码只能最大存储3字节。解决:修改MySQL(5.5.3以上版本) 编码为utf8mb4 即可存储Emoji表,同时设置 set names utf8mb4 否则程序写入和读取时会发生乱码。要求:MySQL 5.5.3以上(...
阅读全文
posted @ 2015-10-29 22:41 陈朔
阅读(298)
评论(0)
推荐(0)
2015年10月22日
使用PHPmailer 发送邮件,使用QQ smtp服务器
摘要: CharSet = 'UTF-8'; $body = '测试时间:'.date('Y-m-d H:i:s', time()).''; //设置smtp参数 $mail->IsSMTP(); $mail->SM...
阅读全文
posted @ 2015-10-22 15:45 陈朔
阅读(1533)
评论(0)
推荐(0)
2015年10月13日
Swiper用于移动端网站的内容触摸滑动
摘要: http://www.swiper.com.cn/
阅读全文
posted @ 2015-10-13 15:24 陈朔
阅读(169)
评论(0)
推荐(0)
2015年10月9日
开源简单的富文本编辑器大集合
摘要: http://quilljs.com/http://simditor.tower.im/http://www.wangeditor.com/http://imperavi.com/redactor/
阅读全文
posted @ 2015-10-09 11:43 陈朔
阅读(329)
评论(0)
推荐(0)
Ajax 下拉加载数据
摘要: $(document).scroll(function() { var pageHeight = $(document).height()-$(window).height(); var bodyScrollTop = $('body').scro...
阅读全文
posted @ 2015-10-09 10:42 陈朔
阅读(1081)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
14
下一页
公告