2020-02-18 16:54:15 0 Comments Linux Boy.Lee

Chrome got "ERR_ADDRESS_UNREACHABLE" error code when request website

Chrome got "ERR_ADDRESS_UNREACHABLE" error code when request website and got "Destination Host Unreachable" error code when ping the server
2020-02-05 21:00:47 0 Comments Linux Boy.Lee

Centos 6.x Install ShadowSocks Server Side Program

How to install and run ShadowSocks on Centos 6.x
2019-12-24 08:44:33 0 Comments Nginx Boy.Lee

Nginx Auto Redirect from http to https

Sometime, we change from http to https, but still have old use or search engine are still using the old http url, so we need create a redirect code to force user using the https, it's also necessary to tell the search engine we are using https now, follow is the nginx config code

adminlte.min.js:14 Uncaught ReferenceError: expandingEvent is not defined

When using adminlte, I got error "Uncaught ReferenceError: expandingEvent is not defined" in console, here is the solution
2019-11-29 10:12:14 0 Comments Git Boy.Lee

Git Demo: drop local change Force overwrite local file

In Git, sometime we need use the git data overwrite the local changes, this happens on online environment, this topic show how to do it

Quill Access and dynamic add toolbar from quill instance

for dynamic custom toolbar, we need access toolbar from quill instance in javascript, this topic show how to access toolbar via quill instance and dynamic add button to toolbar
2019-11-25 15:23:26 0 Comments MySQL Boy.Lee

MySQL import tsv data file

How to import tsv data file to MySQL database, and the error will show
2019-11-22 15:01:33 0 Comments MySQL Boy.Lee

MySQLError:ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode

Just got MySQL Error: "ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode", this topic is about how to solve it.
2019-11-21 09:24:12 0 Comments Linux Boy.Lee

Centos 6 use Command Line mount new disk

Complete operation Command for Centos 6, using Command Line to amount the new disk space

MacOs Safari unable debug web page on iPhone

在进行iphone web debug的时候发现Safari无法看到任何页面,而且在Develop下的iphone过几秒以后就会消失,经过一翻尝试发现了解决办法
2019-11-19 20:17:49 0 Comments Css Boy.Lee

Bootstrap multi Modals close unable scroll window issue

in Bootstrap open modal A and B in order, then close B keep A open, you will find scroll is not working for A, after check it's a problem of Css, the solution is

Yii 2 datetime picker demo

Yii 2 datetime picker demo, datetime format like yyyy-mm-dd hh:ii:ss
2019-10-25 20:19:49 0 Comments Go Boy.Lee

Go vs PHP CLI Performance Compare Under Special Project Environment

A very interesting performance compare for Go and PHP CLI under special project environment, the result is very unexpected, it has certain reference significance in technology selection

Yii 2 Gridview cross-table correlation Search and association sorting

Yii 2 Gridview implement cross-table correlation Search and association sorting
2019-08-27 11:38:03 4 Comments Linux Boy.Lee

Centos Regular Auto-backup MySQL Database and send to email address

Centos use Cron do Regular Auto-Backup for MySQL database, and auto send email by Mutt
2019-06-14 18:41:21 0 Comments MySQL Boy.Lee

MySQL Reverse PK value

Say in MySQL Database, we have movie table with 1000 rows, id from 1 to 1000, now we want reverse the PK order set 1000 to 1, 1 to 1000, we can do it like this.