原创 與charles、fiddler相媲美的抓包神器whistle

http://wproxy.org/whistle/

原创 ubuntu16.04 php7.2 install curl error

編譯安裝php時遇到如下錯誤: checking for cURL 7.15.5 or greater... configure: error: cURL version 7.15.5 or later is required t

原创 Linux常用命令

複製a目錄下所有文件(不包括隱藏文件)到b目錄 cp -R a/* b/ 複製a目錄下所有文件(包括隱藏文件)到b目錄 cp -R a/. b/

原创 mysql group by order by limit 1

SELECT course_id, MAX(id) mid, COUNT(id) FROM org_class WHERE course_id IN(1, 102) GROUP BY course_id;

原创 Mac Input/output error Device not configured

Mac本用sshfs掛載遠端的目錄後,當天下班後直接合上屏幕後,第二天發現掛載的目錄不能用了,具體錯誤如下: ll mount149 ls: xnw: Input/output error 經過查進程發現進程還在 ps aux |gre

原创 MySQL 遍歷結果集

原文出自:http://shitou521.iteye.com/blog/1069027 BEGIN #定義 變量 DECLARE a INT; DECLARE b VARCHAR (30); #此變

原创 簡說 SSH 隧道-- Local 與 Remote 端口轉發

一、用 LocalForward 訪問遠端不能直接訪問的東西 1.1 遠端被牆了 假定你所在的網絡無法直連某個服務器,比如 goodle.com,但你有一臺 vps 可以連接 goodle.com,你可以這樣 ssh -L 8888:g

原创 ElasticSearch fielddata is disabled on text fields by default. set fielddata=true on interests

解決辦法: https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html

原创 Centos 安裝 memcached 完整腳本

#!/bin/bash echo "91.189.89.223 launchpad.net" >> /etc/hosts echo "91.189.89.229 launchpadlibrarian.net" >> /etc/ho

原创 Mac brew 安裝

https://brew.sh/index_zh-cn.html

原创 [慎用] Windows10 第三方磁盤管理工具

http://www.disk-partition.com/windows-10/windows-10-disk-management-0528.html 用此工具做了硬盤大小調整,過了兩天發現一個分區變成 “raw” 格式了,沒法正

原创 XDebug基本配置項說明

[Xdebug] zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so zend_extension_debug=. xdebug.default_enable =On xdebu

原创 Via composer create Laravel project

composer create-project –prefer-dist laravel/laravel laravelBlog You are running composer with xdebug enabled. This h

原创 PHP-FPM Nginx 504

辦法一:https://easyengine.io/tutorials/php/increase-script-execution-time/

原创 MySQL Utilities

下載 http://dev.mysql.com/doc/mysql-utilities/1.6/en/mysql-utils-install.html 安裝 python setup.py install