In my free time, I love to try new programming language. Nowadays, almost everyone are using smartphone. So I guess now is the time to try mobile development. I will start with Android development as I think it's more easier to start with.
Although there's open source Java available (OpenJDK) and easily available to be installed using simple apt-get command, I prefer the Oracle version. This is pure my personal preference, without considering security, support, etc. You can use this guide to get Oracle Java 8 installed on Linux Mint 18.3 Sylvia. By the time of writing, the latest version of Oracle Java is version 8 update 171.
I have a project once which basically an SMS-based application using world's most popular IoT device: Raspberry Pi. I'd like to share some of my findings, so I guess this post will be part one.
Sometimes when developing web application, we need to allow users to upload some files. It could be avatar image, introductory video, etc. The first issue we'll encounter with default Nginx and PHP installation is related with upload file size. To encounter this issue, we need to adjust the maximum value parameter for both Nginx and PHP.
Most of the time when we want to display a dropdown or list all records on database, we need to order the column in same condition throughout the application. Calling
orderBy everytime we need to display the data could be avoided using Global Scope.