DataTable re-order rows

In CMS, often the navigation menu is editable in backend, and can change the order.
Let’s see how to implement using DataTable.

Read More

Laravel - Integrate oEmbed into TinyMCE

oEmbed is a kind of standard to retrieve 3rd party site info.

Read More

Laravel Eloquent join with subquery

Let’s take the query from this post as example

Read More

MySQL - a trick to filter multi-values column

For certain reason, sometime we want to filter the data in a multi-values column.

Read More

Guzzle HTTP client cannot download file with special character

I’m using Guzzle to download image file, the code as below

Read More

TinyMCE insert js/css into iFrame head element

TinyMCE is an iFrame element with full HTML content.

Read More

AWS Lambda test in local machine

I believe many developer first time deal with AWS Lambda will have this question: “How can I test the code in my machines?”

Read More

Python trick - copy file among computers in LAN network

The conventional way of file transfer between PCs, is via thumb drive.

Read More

How to add more hosts to phpMyAdmin

If want to add in more hosts in phpMyAdmin, just edit the file config.inc.php

Read More

How I personalize my Linux config

I begin touching Linux back in 2011. I still remember, I learning vim, command line, etc.

Read More