执行如下命令: mysqlbinlog -vv --base64-output=decode-rows binlog路径 --result-file=要保存的sql路径 例如...
执行如下命令: mysqlbinlog -vv --base64-output=decode-rows binlog路径 --result-file=要保存的sql路径 例如...
1.尽量静态化: 如果一个方法能被静态,那就声明它为静态的,速度可提高1/4,甚至我测试的时候,这个提高了近三倍。 当然了,这个测试方法需要在十万级以上次执行,效果才明显。 ...
sync && echo 1 > /proc/sys/vm/drop_caches sync && echo 2 > /proc/sys/vm/drop_caches syn...
public function index() { $msectime = $this->getMsecTime(); $mescdate = $this...
location /wss { proxy_pass http://w109.sxqichuangkeji.com:2346; //只需要修改成自己的IP 地...
public function http($url, $postfields = '', $method = 'GET', $headers = []) { $ci = ...
public static function getCombinationToString2($arr, $m) { $result = array(); if ...
1、服务器安装 ffmpeg (1) 下载解压: wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.gz tar-zxvf...
事件绑定与监听 命令行生成事件类php think make:event EventDemo 命令行生成事件监听类php think make:listener Listen...
比如: 参数格式: 加密的方法 这种比较麻烦 可以使用http_build_query()内置函数 主要流程是 将所有的参数进行组合之后 ...
https://xindb.cn/article/category/bt[https://xindb.cn/article/category/bt] https://www....
1、启动redis window下下载redis服务,请自行百度。 cd redis 目录下 启动服务: redis-server.exe redis.windows.con...