![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mac
何超杰
http://hechaojie.com 技术、分享、价值...
展开
-
mac安装ffmpeg报错
安装texi2html报404 参考:https://blog.csdn.net/qre123re/article/details/81082780打开 /usr/local/Library/Formula/texi2html.rb 修改:require 'formula'class Texi2html < Formula homepage 'http://www.no...原创 2018-08-23 15:38:05 · 2041 阅读 · 0 评论 -
处理百万级以上的数据查询提高效率的办法
处理百万级以上的数据查询提高效率的办法1.应尽量避免在 where 子句中使用!=或<>操作符,否则将引擎放弃使用索引而进行全表扫描。2.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。3.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如: sele...转载 2018-08-27 23:55:16 · 4655 阅读 · 0 评论 -
mac python2升级到python3
编辑.bash_profile文件添加如下:PYTHON_HOME=/Library/Frameworks/Python.framework/Versions/3.5export PATH=$PATH:$PYTHON_HOME/binalias python=${PYTHON_HOME}/bin/python3原创 2018-09-06 00:29:25 · 5560 阅读 · 0 评论 -
mac常用命令
1、查看端口号语法:lsof -i tcp:porteg:lsof -i tcp:9001原创 2018-09-17 00:14:57 · 1455 阅读 · 0 评论