2017-02-28 10:32:12 0 Comments IDE Boy.Lee

Zend Studio 13.5 Project lost PHP Language Library

When switch dev Mac, I found because file path changed, all new projects will be lost PHP Language Library, the PHP Language Library can be found by the follow method

Mac OS use Homebrew to install special version Nodejs

Mac OS X 10.11.6 use Homebrew install Nodejs v6.10.0
2017-02-24 17:04:52 0 Comments Linux Boy.Lee

Centos check and control iptables' status

in Centos system, use command check iptables' status, and control the status (stop, start, restart)

Yii 2.0 DIY Captcha to custom content

DIY Captcha display content in Yii 2.0, to prevent SPAM. This topic show how to display Add and Sub formula

Mac OS 10.x Check Port Usage

the command for check port usage, in Mac OS 10.x system

Fixed Win7 have time wrong after install Mac OS X

After install Mac OS X, Win7 will show wrong time, usually hours delay, for this case can edit registry to fix it

Create UEFI Win7 64 Bits Install USB Drive (Support NVME SSD)

Create UEFI Win7 64 Bits Install USB Drive, Support NVME SSD(M.2 SOCKET3 Interface)

Do line break and word break in Yii2 GridView

Do line break and word break in Yii2 GridView

Yii2 checkbox list item format

In Yii 2.0 framework, format CheckBoxList's item with follow code

Cannot get Wechat POST request in Yii 2.0's Wechat Dev

When dev wechat's normal message accept API, found cannot get any post from wechat server, this topic show how to debug and resolve it.

In Yii 2.0, close CSRF check for special action

In Yii 2.0, all data communication will check CSRF token by default, but in some condtion we have to close the CSRF check, this topic show how to do it
2016-12-14 14:24:30 0 Comments Linux Boy.Lee

2017 Centos 6 Web Server iptables Classial Config Rules List

In LNMP(Centos 6+nginx+php-fpm+mysql) Web Server Produce Env, list and explain all useful iptables rules, you can direct pick need rule out and use it for your own iptables config,
2016-12-14 14:22:53 0 Comments Linux Boy.Lee

2017 Classical iptables Config rules Demo for Centos 6 Web Server

List classical iptables config rules one by one for Centos 6 Web Server Produce Environment, you can direct copy and use it.
2016-12-13 10:24:40 0 Comments Linux Boy.Lee

Centos 6.4 forbid Root account remote login by ssh

For safety thinking, in production environment need forbid root accout remote login by ssh, usually will use one random normal account for login and switch to root after login. This topic show how to forbid root account remote login by ssh
2016-12-12 14:57:27 0 Comments Git Boy.Lee

One Shell command run cd and git pull together

Use one line Shell command to run "cd" and "git pull" together

Yii 2.0 use mPDF generate Chinese PDF file

Chinese pdf always have some kind encode issue, after testing, found that mPDF is pretty good in Yii 2.0 for PDF generate(include Chinese PDF), this topic show how to use mPDF generate PDF in Yii 2.0