PostgreSQL – Function to remove accents in string Loại bỏ dấu câu, chuyển câu có dấu thành không dấu trong PostgreSQL Ex: José, Jose, Jósé, Jóse -> Jose Load extension unaccent CREATE EXTENSION unaccent; Run SQL to remove accents in […]
Góp nhặt của một kẻ mù công nghệ :p
PostgreSQL – Function to remove accents in string Loại bỏ dấu câu, chuyển câu có dấu thành không dấu trong PostgreSQL Ex: José, Jose, Jósé, Jóse -> Jose Load extension unaccent CREATE EXTENSION unaccent; Run SQL to remove accents in […]
Lập bản đồ các dòng họ Việt Nam phần 1 Danh sách các phần ở đây: https://dothanhlong.org/p1-lap-ban-do-cac-dong-ho-viet-nam-phan-1/ https://dothanhlong.org/ban-do-ho-viet-p2-lap-ban-do-cac-dong-ho-viet-nam-phan-2-xu-ly-du-lieu/ Vài lời nói đầu Mình có ý tưởng này từ những tuần cuối tháng 8, khi đó mình thấy một post từ […]
PostgreSQL update value in JSONB Tình cờ mình làm việc, cần update lại giá trị một key trong cột có kiểu là jsonb, thế là mình nghĩ json thì cũng là text thôi, replace là được, và đây là cách […]
Python concatenate multi videos Hôm nay tình cờ mình cần ghép nhiều video lại với nhau, chợt suy nghĩ hôm trước mình đã dùng python để convert video sang mp4 rồi, giờ thì thử dùng python ghép video luôn xem […]
[QGIS Basic] How to Download and Install the latest QGIS software Hello everyone, today I will guide you to download and install QGIS software in the most methodical way DOWNLOAD QGIS SOFTWARE To have the software, first we need to […]
Thêm quảng cáo vào app android – ionic add Admob to my app Đăng ký tài khoản https://admob.google.com/home/ https://apps.admob.com/signup/create-account Bị lỗi An error occurred. Please try again later. https://support.google.com/admob/thread/106753835/can-t-signup-into-account-for-admob-i-am-getting-an-error-occurred-please-try-again-later?hl=en Đổi sang trình duyệt Edge là Ok, lưu ý phải tắt […]
Docker Export và Import Container Docker liệt kê các container docker container ls Docker export container # Tạo một bản backup images từ container hiện tại docker commit -p 99a148f1a272 my_backup # Export container mình muốn (dùng id) docker save […]
Hướng dẫn WordPress add_filter Lý do dùng WordPress add_filter Tình hình là mình đang dùng soạn thảo nội dùng blog bằng github markdown, lý do là ở đây (tóm lại là vì muốn giảm tải server, tiết kiệm tiền cà […]