Skip to content

Long's blog

Góp nhặt của một kẻ mù công nghệ :p

  • My Info
    • Đỗ Thành Long’s CV
    • My Github
    • My Youtube
    • My Google Scholar
    • My Facebook
  • Café
    • soiqualang_chentreu
    • Trắng Xóa!
    • Capuchino
    • Robusta Café
    • Đen nóng Café
  • Dev
    • Web
    • Công nghệ
    • Uncategorized
  • GIS
    • Shared Map
    • QGIS
    • WebGIS
    • PostgreSQL, PostGIS
    • GeoServer
    • Openlayers
  • Viễn thám
  • Research
    • Ý tưởng
    • Research
    • Sói’s Tutorials
  • Tài liệu
    • GIS – Remote Sensing news
    • Tài liệu
    • Dữ liệu
    • Mẹo vặt
  • My Apps
    • Khoa học thường thức
    • Trắng Xóa – Danh ngôn
    • Harmonica tabs
    • Ảnh chế hài hước, dzui dzui
    • GeoGIS
    • Guitar tabs – Viettabs
    • 2000 Phác đồ điều trị bệnh
    • Q2A
    • Học HTML
    • Openlayers Cookbook
    • OpenLayers3 Leaflte Cookbook
    • OpenLayers Create Code
    • PostgreSQL Tools
    • Get link Remote Sensing Data
    • Lon,Lat Decimal
    • Download Landsat Images
    • Tra cứu vận đơn Viettel Post
    • GET Map OGC WMS, WFS, WCS services
    • PHP-SLD Generate
    • Viettabs.cf – Guitar tabs sharing
    • Files to Videos
  • Other
    • Reading
    • Games
    • Harvest Moon

Category: Mẹo vặt

[Install SSL Certificate into Linux] Installing Certificate PFX into Unbuntu Linux

Posted on 10/05/202210/05/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Linux, ssl, SSL CertificateLeave a Comment on [Install SSL Certificate into Linux] Installing Certificate PFX into Unbuntu Linux

[Install SSL Certificate into Linux] Installing Certificate PFX into Unbuntu Linux Export Private Key and Certificate from PFX file Export the Private Key openssl pkcs12 -in domain.com.pfx -nocerts -out domain.com.pem -nodes Export the Certificate openssl pkcs12 -in domain.com.pfx -nokeys -out […]

Read More

rclone – Fatal error: failed to mount FUSE fs

Posted on 10/05/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Linux, rcloneLeave a Comment on rclone – Fatal error: failed to mount FUSE fs

rclone – Fatal error: failed to mount FUSE fs Error info 2022/05/10 04:07:15 mount helper error: fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf 2022/05/10 04:07:15 Fatal error: failed to mount FUSE fs: fusermount: exit status 1 […]

Read More

rclone – couldn’t connect ssh: ssh: must specify HostKeyCallback

Posted on 10/05/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged HostKeyCallback, Linux, rcloneLeave a Comment on rclone – couldn’t connect ssh: ssh: must specify HostKeyCallback

rclone – couldn’t connect ssh: ssh: must specify HostKeyCallback Error info Fix rclone – couldn’t connect ssh: ssh: must specify HostKeyCallback https://github.com/rclone/rclone/issues/3557#issuecomment-533618145 sudo curl https://rclone.org/install.sh | sudo bash References https://rclone.org/downloads/ https://github.com/rclone/rclone/issues/3557#issuecomment-533618145

Read More

[Linux Screen] Cannot make directory ‘/var/run/screen’: Permission denied

Posted on 09/05/2022 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged Linux, Permission denied, Screen1 Comment on [Linux Screen] Cannot make directory ‘/var/run/screen’: Permission denied

[Linux Screen] Cannot make directory ‘/var/run/screen’: Permission denied Error info Sometime, usually after a crash or sudden shutdown, screen refuses to start. Commands like screen screen -ls screen -r screen -d result in the following output Cannot make directory ‘/var/run/screen’: Permission denied […]

Read More

Fix Docker WSL 2 installation is incomplete

Posted on 14/04/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt Tagged Docker, Docker WSL21 Comment on Fix Docker WSL 2 installation is incomplete

Fix Docker WSL 2 installation is incomplete. Error info WSL 2 installation is incomplete. The WSL 2 Linux kernel is now installed using a separate MSI update package. Please click the link and follow the instructions to install the kernel […]

Read More

Ionic app icon generator

Posted on 13/04/202214/04/2022 by soiqualang_chentreu Posted in Công nghệ, Mẹo vặt Tagged Android, app icon, cordova, IonicLeave a Comment on Ionic app icon generator

Ionic app icon generator Tạo icon cho app IONIC [ERROR] cordova-res was not found on your PATH. Please install it globally ionic cordova resources > cordova-res [cordova-res] 'cordova-res' is not recognized as an internal or external command, [cordova-res] operable program […]

Read More

The zone attribute is specific to pytz’s interface; please migrate to a new time zone provider

Posted on 12/04/2022 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged apscheduler, python, time zoneLeave a Comment on The zone attribute is specific to pytz’s interface; please migrate to a new time zone provider

The zone attribute is specific to pytz’s interface; please migrate to a new time zone provider Error Showing /py_env/lib/python3.6/site-packages/apscheduler/util.py:95: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on […]

Read More

Fix OGR2OGR Import – invalid byte sequence for encoding UTF8

Posted on 09/04/2022 by soiqualang_chentreu Posted in GIS, Mẹo vặt Tagged OGR2OGR, postgresql, Shapefile, Shapefile to PostgreSQLLeave a Comment on Fix OGR2OGR Import – invalid byte sequence for encoding UTF8

Fix OGR2OGR Import – invalid byte sequence for encoding UTF8 Error showing When I use OGR2OGR to import Shapeilfe to PostgreSQL, I got error like this: invalid byte sequence for encoding "UTF8": 0xe2 0x6e 0x20 How to fix invalid byte […]

Read More

Javascript Date to ISO String +7

Posted on 06/04/202206/04/2022 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt, Web Tagged Date ISO String, javascript, toISOStringLeave a Comment on Javascript Date to ISO String +7

Javascript Date to ISO String +7 Mục đích để chuyển từ định dạng 2020-01-19 17:00:00 sang định dạng 2020-01-19T17:00:00.000Z var d = new Date('2020-01-19 17:00:00'); d.setHours(d.getHours() + 7); d.toISOString();

Read More

Fix curl unable to establish ssl connection

Posted on 29/03/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged curl, establish ssl connection, ssl, wgetLeave a Comment on Fix curl unable to establish ssl connection

Fix curl unable to establish ssl connection Sửa lỗi unable to establish ssl connection khi wget hay curl Fix unable to establish ssl connection Để sửa lỗi này thì chạy lệnh sau: /usr/sbin/update-ca-certificates –fresh Tham khảo https://www.linuxquestions.org/questions/slackware-14/wget-unable-to-establish-ssl-connection-while-downloading-libreoffice-from-slackbuild-4175642143/

Read More

Python Fix Object of type ‘date’ is not JSON serializable

Posted on 22/03/2022 by soiqualang_chentreu Posted in Công nghệ, Mẹo vặt Tagged json, python, serializableLeave a Comment on Python Fix Object of type ‘date’ is not JSON serializable

Python Fix Object of type ‘date’ is not JSON serializable My quick & dirty JSON dump that eats dates and everything: json.dumps(my_dictionary, indent=4, sort_keys=True, default=str) default is a function applied to objects that aren’t serializable.\ In this case it’s str, so it […]

Read More

[Easy way] Turn Your WordPress Site into a Progressive Web App (PWA)

Posted on 22/03/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt Tagged Progressive Web App, PWA, wordpressLeave a Comment on [Easy way] Turn Your WordPress Site into a Progressive Web App (PWA)

[Easy way] Turn Your WordPress Site into a Progressive Web App (PWA) Chuyển website wordpress của bạn thành mobile app thông qua kỹ thuật Progressive Web App (PWA) Giới thiệu Super Progressive Web Apps https://wordpress.org/plugins/super-progressive-web-apps/ Progressive Web Apps (PWA) is […]

Read More

How to clear the contents of a file from the command line?

Posted on 21/03/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt Tagged Linux, truncateLeave a Comment on How to clear the contents of a file from the command line?

How to clear the contents of a file from the command line? You can use the user command : truncate truncate -s 0 test.txt ("-s 0" to specify the size) http://www.commandlinefu.com/commands/view/12/empty-a-file https://superuser.com/questions/90008/how-to-clear-the-contents-of-a-file-from-the-command-line

Read More

Thêm quảng cáo vào app android – ionic add Admob to my app

Posted on 21/03/202221/03/2022 by soiqualang_chentreu Posted in Công nghệ, Mẹo vặt, Sói's Tutorials Tagged Admob, Android, IonicLeave a Comment on Thêm quảng cáo vào app android – ionic add Admob to my app

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 […]

Read More

FastAPI (gunicorn) bị lỗi Mixed Content HTTPS vs HTTP

Posted on 18/03/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt, Web Tagged FastAPI, Gunicorn, http, https, Mixed ContentLeave a Comment on FastAPI (gunicorn) bị lỗi Mixed Content HTTPS vs HTTP

FastAPI (gunicorn) bị lỗi Mixed Content HTTPS vs HTTP Nhận dạng lỗi Mixed Content: The page at 'https://aaaa' was loaded over HTTPS, but requested an insecure stylesheet 'http://aaaa/static/dist/css/bootstrap.min.css'. This request has been blocked; the content must be served over HTTPS. […]

Read More

Posts navigation

Older posts
Newer posts
Buy me a coffee - MOMO

Tags

3D WebGIS Android Android studio api ArcGIS Capacitor cloudflare cordova database Docker gdal geoserver gis git github Google Earth Engine guitar htaccess Ionic IOS javascript JS GIS Jupyter Notebook leaflet Linux Machine learning map mysql Nodejs openlayers php Pokemon postgis postgresql python QGIS remote sensing sql tomcat tools ubuntu VirtualBox viễn thám webgis wordpress

Recent Posts

  • Fix Geoserver WMS character representation error (UTF-8)
  • Create a globe-like orthographic projection map in QGIS 3
  • Linux Link, Unlink folder
  • PostgreSQL select current user
  • Moodle ERROR You don’t have permission to view this list of courses

Recent Comments

  • [GEE Cơ bản #1] Hướng dẫn thêm một tập ảnh trong Google Earth Engine – OpenGIS Việt Nam on [GEE Basic] Add an Image collection in Google Earth Engine
  • Cannot-Make-Directory-Permission-Denied-Bij-Run-Screen. on [Linux Screen] Cannot make directory ‘/var/run/screen’: Permission denied
  • Lê Tiến on Installing Apache, QGIS Server, And Lizmap Web Client On Windows OS
  • Amit Kumar Singh on Tìm hiểu Cloudflare Worker
  • Nguyen Liem on [Python] Text to speech – Chuyển văn bản thành giọng nói FPT Speech Synthesis

Categories

  • Capuchino
  • Công nghệ
  • Dữ liệu
  • GIS
  • Google Earth Engine
  • Lang thang
  • Linux
  • Mẹo vặt
  • QGIS Tutorials and Tips
  • Research
  • Sói's Tutorials
  • Tài liệu
  • Uncategorized
  • Viễn thám
  • Web
  • WebGIS
  • Ý tưởng

Archives

  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • April 2017

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright 2022. All rights reserved.