Category Archives: Uncategorized

jQuery .attr() and .prop()

In jQuery, you have to be careful to use .attr() and .prop(). .attr() Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. .prop() Get … Continue reading

Posted in Computers and Internet, Laravel, Uncategorized | Leave a comment

Fix JSON decoding syntax error

I got a long JSON string from DB, and try to decode the string using json_decode() in PHP, I get null, the empty object. But when I tested it in a JSON pretty page http://jsonprettyprint.com/, everything looks good. It’s no single/double-quotes … Continue reading

Posted in Computers and Internet, Laravel, Lumen, Uncategorized, Yii | Leave a comment

2 steps Ajax calls in one autocomplete field

In our code, sometimes we need update drop down list depends on the content in another field entered. Below is an example to show how to use autocomplete field, after you selected the item, and triggered drop down list option … Continue reading

Posted in Computers and Internet, Uncategorized | Leave a comment

Being a Full-stack Developer

A full-stack developer is a person who is comfortable working with all the technologies required to get an idea to a finished product. Full-stack developer must be familiar with all the layers of software development. Being a full-stack developer means … Continue reading

Posted in Computers and Internet, Uncategorized | Leave a comment

Peaceful,Jan 20th

Just hope everything is peaceful tomorrow, Jan 20, 2017. It’s the inauguration day of new president Donald Trump. All news press do not spread hate, do not let US people against US people. Strong together, makes America great.

Posted in Uncategorized | Leave a comment

Configuring XAMPP PHP with OCI8 on Windows 7 64bit

This article shows you how to configure your XAMPP with Oracle extension on Windows. Not like Linux or Mac OS, To connect Oracle database in Windows system, you need Oracle client DLL for Windows to connect Oracle database. XAMPP did … Continue reading

Posted in Uncategorized | Leave a comment

Install Laravel Homestead in Windows 10

  Laravel Homestead Laravel Homestead strives to make the entire Laravel development experience delightful. Working with Vagrant, Laravel Homestead provides a simple, elegant way to manage your local development environment and provision Virtual Machines on your local machine. We will … Continue reading

Posted in Uncategorized | Leave a comment