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

In Yii 2.0 run save in ActiveRecord's AfterSave

In Yii 2.0 Framework, if run save in afterSave, will active new beforeSave and afterSave then endless loop, this topic show how to run save in afterSave without endless loop

upload file and image in Yii 2.0

in Yii 2.0, standard way for file and image upload
2016-12-06 20:39:06 0 Comments Html Boy.Lee

Html Checkbox change default value

In Html, Checkbox's default value is "on", use follow method can change the default value to any string or integer, like "1"

Normal Position flags in Yii 2.0's View

In Yii 2.0's View, we have 5 flags for position, it's beginPage, head(), beginBody(), endBody(), endPage(). This topic show how to use it correct in view file, if not use it correct, may cost js or css file or code can't register correct

Mac os X 10.11.6 El Capitan disable rootless

Disable or enable rootless for Mac os X 10.11.6 El Capitan, step by step