摘要: 参考文章 http://ask.dcloud.net.cn/question/8314 阅读全文
posted @ 2017-05-23 11:36 醉梦卐 阅读(1505) 评论(1) 推荐(0) 编辑
摘要: 确保传到后台的是纯base64字符串而不是以data开头的 阅读全文
posted @ 2017-05-23 11:34 醉梦卐 阅读(1624) 评论(0) 推荐(0) 编辑
摘要: 安装captchapng模块 nodejs中使用 阅读全文
posted @ 2017-05-14 17:43 醉梦卐 阅读(2574) 评论(0) 推荐(1) 编辑
摘要: git fetch --all git reset --hard origin/master 阅读全文
posted @ 2017-05-14 17:32 醉梦卐 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 简单利用coding结合git实现webhook 1.创建webhook.php 确保服务器上能以ssh方式进行git pull操作 2.设置权限 linux服务器上项目默认权限是root用户,而用户访问webhook.php的权限是www,www是没有权限执行git pull操作的,所以需要改变项 阅读全文
posted @ 2017-05-14 17:28 醉梦卐 阅读(3223) 评论(0) 推荐(0) 编辑
摘要: 父级div定义固定高度height 结尾处加空div标签 clear:both Left Right 父级div定义 伪类:after 和 zoom Left Right 父级div定义 overflow:hidden 父级div 也一起浮动 阅读全文
posted @ 2017-05-14 17:00 醉梦卐 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 利用nginx + uwsgi + django平台搭建 默认nginx和ypthon2.7已经安装好了 安装uwsgi: uwsgi配置django: 创建django_uwsgi.py文件 #!/usr/bin/env python # coding: utf-8 import os impor 阅读全文
posted @ 2017-05-14 16:48 醉梦卐 阅读(1969) 评论(0) 推荐(0) 编辑
摘要: $curl = curl_init(); //设置抓取的url curl_setopt($curl, CURLOPT_URL, 'http:........'); //设置头文件的信息作为数据流输出 curl_setopt($curl, CURLOPT_HEADER, 0); //设置获取的信息以文件流的形式返回,而不是直接输出。 curl_setopt($curl, CURLOPT_RETUR... 阅读全文
posted @ 2017-05-13 23:11 醉梦卐 阅读(7764) 评论(0) 推荐(0) 编辑