In Mac os system, change calendar's receive event invitation option to prevent SPAM

Recently my Mac's calendar got some SPAM invitation, something like gambling, lottery, I don't want carry on get this type invitation. So today I did some research,and found a good way to prevent it, just hope this topic can help you a bit.
2016-10-10 19:41:56 0 Comments Story Boy.Lee

Import cellphone contacts from BaiHe c30 to iphone

Show how to Import cellphone contacts from BaiHe c30 to iphone

Mac OS X El Capitan 10.11.6 show system level hidden files by command line

as default, the Mac os X system will not display hidden files, need use command line to open it. This topic show you how to show/hide hidden files by command line.
2016-09-18 13:52:58 0 Comments PHP Boy.Lee

Fixed Content-Type is empty, when using PHP's CURL lib sending POST request

When using PHP's CURL Lib sending POST request, I found the POST's Content-Type is empty, It's not what I want so I run some debug and fix this issue.

Yii 2.0 GridView Demo Code

Yii 2.0 GridView Demo Code, Full cover all basic function in daily coding
2016-07-19 14:22:23 0 Comments Linux Boy.Lee

Solution for Centos Mutt mail send error postdrop: warning: uid=0: File too large

when send attach email from Centos by Mutt could get error "postdrop: warning: uid=0: File too large", it's because attachment size too large, can be solved by the follow way
2016-07-19 14:12:48 0 Comments Linux Boy.Lee

use MUTT send email from Centos

in Centos Shell, we can use MUTT send email
2016-07-10 13:59:28 0 Comments PHP Boy.Lee

Checks if the class method exists in PHP

in PHP coding, we usually need check if the class method exist, if we direct call without check we could get exception. In Yii 2.0 framework, we can also use this way to check model's relation exist.

Demo Nginx config for Yii 2.0 Web App

This Demo Config show how to config nginx rules for Yii 2.0 framework web app, support index.php hide

Yii 2.0 Use MailGun API Send Email

in Yii 2.0 Framework Send Email By MailGun API

Mailing in Yii2 Demo Code

Send Email in Yii 2.0 Framework by system default swiftmailer lib

Mac os X system problem cause PHP CURL and PPTP not working

The solution for PHP CURL and PPTP not working on Mac os X

Yii 2.0 ajax request CSRF validate fail

When setting ajax request in Yii 2.0 framework, always get 400 error "Unable to verify your data submission.", found the problem is csrf cookies not set correct by test, this topic will show how to fix it.
2016-06-01 11:49:01 0 Comments Git Boy.Lee

git clone command demo

clone version from github.com, gitlab.com
2016-05-19 11:12:08 0 Comments PHP Boy.Lee

php generate 100% unique random string demo code

show how to generate random string in php, and how to generate 100% unique random string in php

Yii 2.0 Pagination Demo based on MVC

in Yii 2.0 Framework, build standard pagination demo code based on MVC