摘要: yum --enablerepo=extras install epel-release -y yum -y install python-pip 阅读全文
posted @ 2018-04-27 15:23 功名未立 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 版本:zabbix-3.4.8 frontends\php\include\defines.inc.php注释131行:header('X-Frame-Options: '.$x_frame_options); frontends\php\app\views\layout.htmlpage.head 阅读全文
posted @ 2018-04-27 14:55 功名未立 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 安装pip:wget --no-check-certificate https://bootstrap.pypa.io/get-pip.pypython get-pip.py 安装easy_installwget --no-check-certificate https://bootstrap.py 阅读全文
posted @ 2018-04-26 14:57 功名未立 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1.下载mysql-5.6.32-win32.zip 下载地址:https://dev.mysql.com/downloads/mysql/ 2.解压到D:\ProgramData\mysql-5.6.32-win32 3.复制my-default.ini为my.ini,内容如下: 4.创建服务并启 阅读全文
posted @ 2018-04-20 23:57 功名未立 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 把旧项目提交到Git上,但是会有一些历史记录,这些历史记录中可能会有项目密码等敏感信息。如何删除这些历史记录,形成一个全新的仓库,并且保持代码不变呢? 阅读全文
posted @ 2018-04-10 10:21 功名未立 阅读(311) 评论(0) 推荐(0) 编辑
摘要: windows下:特殊字符要转义,如abc#要写成abc%23 CentOS下:用双引号括起来 方法一: Windows下:git clone http://user:abc%23@git.com/app/app.git CentOS下 :git clone "http://user:abc#@gi 阅读全文
posted @ 2018-04-04 22:34 功名未立 阅读(1917) 评论(0) 推荐(0) 编辑
摘要: 指定版本: virtualenv -p /usr/bin/python2.7 ENV2.7 阅读全文
posted @ 2018-03-29 13:54 功名未立 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 对于 Mac 自带的 Python,其框架目录为: System/Library/Frameworks/Python.framework 而我们安装的 Python,其(默认)框架目录为: /Library/Frameworks/Python.framework 接下来,我们就分别(在 Mac 终端 阅读全文
posted @ 2018-03-28 21:48 功名未立 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-27 20:54 功名未立 阅读(75) 评论(0) 推荐(0) 编辑
摘要: pip換源mkdir ~/.pipvim ~/.pip/pip.conf# 把以下內容加到pip.conf[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simpleapt換源把/etc/apt/sources.list所有內容換成sudo 阅读全文
posted @ 2018-03-27 20:23 功名未立 阅读(143) 评论(0) 推荐(0) 编辑