240 发简信
IP属地:陕西
  • mysqlbinlog 保存为sql文件。

    执行如下命令: mysqlbinlog -vv --base64-output=decode-rows binlog路径 --result-fi...

  • PHP 性能优化

    1.尽量静态化: 如果一个方法能被静态,那就声明它为静态的,速度可提高1/4,甚至我测试的时候,这个提高了近三倍。 当然了,这个测试方法需要在十...

  • 清除服务器中的 buffer/cache

    sync && echo 1 > /proc/sys/vm/drop_caches sync && echo 2 > /proc/sys/vm/...

  • 毫秒级 时间戳与时间转换函数

    public function index() { $msectime = $this->getMsecTime(); $m...

  • workman在nginx中配置wss协议

    location /wss { proxy_pass http://w109.sxqichuangkeji.com:2346; ...

  • PHP请求Java以body体,值为json传值方法

    public function http($url, $postfields = '', $method = 'GET', $headers =...

  • PHP排列组合方法

    public static function getCombinationToString2($arr, $m) { $result = ...

  • Resize,w 360,h 240
    2021-07-13 使用ffmpeg 把mp3文件转换为pcm二进制流

    1、服务器安装 ffmpeg (1) 下载解压: wget http://www.ffmpeg.org/releases/ffmpeg-3.1....