Ultimate How-To Guide for Learning Any Skill

I tried to learn how to code and failed. Twice.

It’s a funny story actually.

Several years back, I decided to learn how to code with the idea that in order to become an entrepreneur, coding will come useful, especially in the beginning when you don’t have enough capital to hire developers.

So my journey of becoming a coder began. At first, I paid a subscription on a monthly basis. The first couple of months it went great, but then my motivation completely drained and I stopped.

For an entire year, I had this guilt trip that I just need to learn it, otherwise, my entrepreneurship career is dead. A silly belief I know.

Fast forward a year, I started again. This time, I was prepared.

I got a coach and an instructor. One would think you cannot fail like this.

Two weeks in, I bailed coding. And I bailed it for good.

I don’t hold a grudge towards coding, but I decided to divert my focus on other things.

As an educator by profession, I was both pissed off and stoked that this could happen. Continue reading

The Perfect Server – Ubuntu 16.04 (Xenial Xerus) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3.1


Source: https://www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/

This tutorial shows the installation of an Ubuntu 16.04 (Xenial Xerus) web hosting server with Apache2, Postfix, Dovecot, Bind and PureFTPD to prepare it for the installation of ISPConfig 3.1. The resulting system will provide a Web, Mail, Mailinglist, DNS and FTP Server.

ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers the installation of Apache (instead of Nginx), BIND (instead of MyDNS), and Dovecot (instead of Courier).

Notice: The ISPConfig 3.1 version that is used in this tutorial is currently in beta state. The ISPConfig old stable 3.0.5p9 version can not be used on Ubuntu 16.04 as it is not compatible with PHP 7. Continue reading

Install Owncloud Client on Ubuntu (recommended way)


OpenLdap – LSC – Active Directory sync and login pass-through


  • Active Directory server in backend, store all user data, password…
  • OpenLDAP install on Ubuntu server, frontend, is a read-only LDAP service to provide users data to other server (web, app…) by using LSC to sync data, this server also use to authentication user by pass-through request to Active Directory server by using saslauthd service. OpenLDAP act as Single Sign On service.

Continue reading

Nginx config: wildcard redirect HTTP to HTTPS


Nginx config file to redirect http to https and keep the hostname:

Cơ bản về Nginx


Nginx là 1 web-server có hiệu suất cao, so với Apache thì Nginx khắc phục được nhiều vấn đề về hiệu suất, với Apache, các request được xử lý theo từng luồng (thread), dẫn đến khi lượng truy cập lớn thì rất hao tài nguyên của server, Nginx ngược lại, xử lý các request theo hướng không đồng bộ (asynchronous), 1 luồng chính để handle các request và phân bổ xuống cho các worker, chính vì vậy cùng 1 cấu hình thì Nginx có thể xử lý nhiều request hơn. Continue reading

[TIP] Pebble Steel – How to fix Pebble keeping disconnect


I just update my Pebbel Steel to lastest version (Phone App + Pebble Firmware), after that, the bluetooth connection between phone and watch become not stable and random disconnect. If you have the same problem like me, this is how to fix:

  • Step 1: Uninstall Pebbel App on your phone and install stable old version (Ex: https://apkpure.com/pebble/com.getpebble.android.basalt).
  • Step 2: Factory reset your Pebble
  • Step 3: Connect Pebble to your phone and check if problem is fix.

    Note: You can try just factory reset your Pebble and test if it fix problem (no need remove phone app).