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.

Mac os X Zip Files with Password

On Mac os X system, we usually zip file with "right click files -> select command Compress 'xxx' ", but what if we need zip file with password to protect it? we can do it with a simple shell command, it's just piece of cake, let me show you how to do it!
2019-06-03 11:27:55 0 Comments PHP Boy.Lee

Fix PHP Error A non well formed numeric value encountered

When we need calculate time in PHP we will used microtime function, but you may get error "A non well formed numeric value encountered",let's see why it happen

Javascript module import command demo in ES6

in ES 6, Javascript module import in two ways, the dynamic import and the hardcode import