08/08/2019EE4 renew sll, update http to httpsEE4 renew sll sudo ee site ssl-renew 24hdev.com EE4 update http to https ee site update 24hdev.com --ssl=le
21/04/2020Format number with Javascriptfunction formatNumber(num) { return num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,') } console.info(formatNumber(2665)) // 2,665 console.info(formatNumber(102665)) // 102,665 console.info(formatNumber(111102665)) // 111,102,665
29/06/2020Thêm swap cho vps linuxCreate a Swap File sudo fallocate -l 1G /swapfile ls -lh /swapfile Output: -rw-r--r-- 1 root root 1.0G Apr 25 […]
18/01/2020Hướng dẫn đăng nhập VPS qua SSHMở teminal trên linux hoặc mở gitbash trên window sau đó gõ lệnh sau: ssh [user]@[ip vps] Ghi chú: [user] […]
10/10/2020No space left on deviceVào một ngày làm việc đẹp trời, khi bạn đang phăm phăm lướt những ngón tay điêu luyện của mình […]