摘要: 一,创建新仓库 二,在环境中安装git (留坑) 三,设置用户名和邮箱 git config –global user.name '用户名' git config –global user.email '邮箱地址' 拓展:查看当前用户名或邮箱 git config user.name/email 四 阅读全文
posted @ 2017-06-12 14:57 一只小鬼 阅读(1784) 评论(0) 推荐(0) 编辑
摘要: 原理:1.安装将md转换为pdf的程序,2.php调用命令执行程序 首先我在linux下安装了pandoc;期间字体啦中文啦各种麻烦。。。(T.T其实不是我安装的,是我领导帮我搞成的) 转换文件的命令: -o:保存为文件 --template:转换的模板 --toc-depth:层级 来自百度的分界 阅读全文
posted @ 2017-03-16 14:55 一只小鬼 阅读(969) 评论(0) 推荐(0) 编辑
摘要: 我系统中有读写权限的分组:www-data #chown -R www-data:www-data [文件夹名] 阅读全文
posted @ 2017-02-24 17:27 一只小鬼 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 1. /etc/apache/sites-available/000-default.conf中 复制'<Virtual Host *:[端口号]></Virtual>',修改其中的端口号和项目地址 2. /etc/apache/apache.conf 中 增加'Listen [端口号]' 3.重启 阅读全文
posted @ 2017-02-24 17:26 一只小鬼 阅读(1043) 评论(0) 推荐(1) 编辑
摘要: 压缩过后显示 解决办法: 浏览器对mp4的编码方式要求的非常严格 视频编码必须是 H.264 音频编码必须是: AAC 所以在压缩的时候选择正确的编码即可 阅读全文
posted @ 2016-08-25 11:31 一只小鬼 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 解决方法 1.用$_POST 取值 2.在前端中使用函数htmlspecialchars_decode转义 阅读全文
posted @ 2016-07-26 10:20 一只小鬼 阅读(11208) 评论(2) 推荐(1) 编辑
摘要: 1.ueditor富文本编辑器 <script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script>//引入 <script src="__PUBLIC__/ueditor/ueditor.all.js 阅读全文
posted @ 2016-07-11 11:54 一只小鬼 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 1.php配置限制了上传文件大小。。。。php.ini 里边 post_max_size 、 upload_max_filesize 这两个参数改一下就好了 阅读全文
posted @ 2016-07-11 10:44 一只小鬼 阅读(958) 评论(0) 推荐(0) 编辑
摘要: import("ORG.Util.Xx")导入的是ORG/Util/Xx.class.php 阅读全文
posted @ 2016-06-21 11:47 一只小鬼 阅读(160) 评论(0) 推荐(0) 编辑
摘要: wamp环境安装需要VC运行库的支持 apache如果需要外网访问,在其配置文件中寻找127.0.0.1然后替换为all 外网访问需要关闭防火墙? 阅读全文
posted @ 2016-06-13 17:55 一只小鬼 阅读(103) 评论(0) 推荐(0) 编辑