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

PostgreSQL – Terminate Client Connect View

Posted on 06/04/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt, Sói's Tutorials Tagged postgresqlLeave a Comment on PostgreSQL – Terminate Client Connect View

PostgreSQL – Terminate Client Connect View To fix FATAL: sorry, too many clients already connection to server https://dothanhlong.org/postgresql-fatal-sorry-too-many-clients-already-connection-to-server/ — View: public.terminate_client_connect — DROP VIEW public.terminate_client_connect; CREATE OR REPLACE VIEW public.terminate_client_connect AS SELECT pg_terminate_backend(pg_stat_activity.pid) AS pg_terminate_backend FROM pg_stat_activity WHERE pg_stat_activity.pid <> […]

Read More

[PostgreSQL] FATAL: sorry, too many clients already connection to server

Posted on 04/04/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged clients, postgresqlLeave a Comment on [PostgreSQL] FATAL: sorry, too many clients already connection to server

[PostgreSQL] FATAL: sorry, too many clients already connection to server Unable to connect to PostgreSQL server: connection to server at "DB hostname" (DB IP), port DB port failed: FATAL: sorry, too many clients already connection to server at "DB hostname" […]

Read More

Can’t start Android emulator device

Posted on 04/04/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged Android, emulator, IonicLeave a Comment on Can’t start Android emulator device

Can’t start Android emulator device Err info Fix Remove or Rename this folder, then start Android emulator device When Android emulator device started, it will re-create this folder

Read More

IONIC – Build IOS 2023

Posted on 03/04/202303/04/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt Tagged Build IOS, CDVWKWebViewEngine, cordova, Ionic, NodejsLeave a Comment on IONIC – Build IOS 2023

IONIC – Build IOS 2023 https://ionicframework.com/docs/developing/ios Install Nodejs16 Phải Nodejs16 mới được, bản nodejs17 đang lỗi ERR_OSSL_EVP_UNSUPPORTED chưa có cách sửa https://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm,node,man1/node*} nvm uninstall v17.4.0 // check version node -v || node –version // list installed […]

Read More

Kinh tuyến trục hệ tọa độ Quốc gia VN2000 của các tỉnh

Posted on 30/03/2023 by soiqualang_chentreu Posted in GIS, Lang thang, Mẹo vặt Tagged Kinh tuyến trục, vn2000Leave a Comment on Kinh tuyến trục hệ tọa độ Quốc gia VN2000 của các tỉnh

Kinh tuyến trục hệ tọa độ Quốc gia VN2000 của các tỉnh Kinh tuyến trục hệ tọa độ Quốc gia VN2000 là gì? Kinh tuyến trục hệ tọa độ Quốc gia VN2000 là một đường kinh tuyến trên bề mặt […]

Read More

nvm use does not switch node versions

Posted on 28/03/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged Nodejs, nvmLeave a Comment on nvm use does not switch node versions

nvm use does not switch node versions I had to delete the folder located at C:\Program Files\nodejs: And then run nvm use {version} again to repopulate this folder with the correct node version. I suspect that nvm is having trouble deleting this folder […]

Read More

[MySQL] Fix Column count of mysql.proc is wrong

Posted on 27/03/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged mysql, mysql.procLeave a Comment on [MySQL] Fix Column count of mysql.proc is wrong

[MySQL] Fix Column count of mysql.proc is wrong Err Column count of mysql.proc is wrong. Expected 21, found 20. Created with MariaDB 100108, now running 100424. Please use mysql_upgrade to fix this error Fix Column count of mysql.proc is wrong […]

Read More

[Moodle Edash] Fix Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Posted on 24/03/2023 by soiqualang_chentreu Posted in Mẹo vặt, Web Tagged Edash, Moodle, php, preg_replaceLeave a Comment on [Moodle Edash] Fix Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

[Moodle Edash] Fix Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated Err info Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated… theme/edash/renderers/course-renderer.php on line 53 Fix Deprecated: preg_replace(): Passing null […]

Read More

Make and Update SEQUENCE in PostgreSQL – GeoServer WMST with Image mosaicking plugin

Posted on 17/03/2023 by soiqualang_chentreu Posted in GIS, Mẹo vặt, WebGIS Tagged geoserver, Image mosaicking, postgresql, SEQUENCELeave a Comment on Make and Update SEQUENCE in PostgreSQL – GeoServer WMST with Image mosaicking plugin

Make and Update SEQUENCE in PostgreSQL – GeoServer WMST with Image mosaicking plugin Create Table, Index, SEQUENCE, COMMENT DROP TABLE IF EXISTS "img_lst"; DROP SEQUENCE IF EXISTS raster.img_lst_fid_seq; CREATE SEQUENCE raster.img_lst_fid_seq INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE […]

Read More

How do I retrieve a single image from an ImageMosaic in GeoServer?

Posted on 15/03/2023 by soiqualang_chentreu Posted in GIS, Lang thang, Mẹo vặt, WebGIS Tagged geoserver, ImageMosaicLeave a Comment on How do I retrieve a single image from an ImageMosaic in GeoServer?

How do I retrieve a single image from an ImageMosaic in GeoServer? http://host/geoserver16/thuyvanphuyen/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=true&STYLES&LAYERS=thuyvanphuyen:tansuat&exceptions=application/vnd.ogc.se_inimage&CQL_FILTER=location ILIKE '%tanSuat_2.tif%'&SRS=EPSG:32648&WIDTH=719&HEIGHT=768&BBOX=960076.6733640843,1461071.1000853349,966938.760914211,1468400.8403335926 https://gis.stackexchange.com/questions/363483/how-do-i-retrieve-a-single-image-from-an-imagemosaic-in-geoserver

Read More

IONIC Build IOS 2023 – Stuck on White Screen after splash screen

Posted on 10/03/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged Build IOS, Ionic, splash screenLeave a Comment on IONIC Build IOS 2023 – Stuck on White Screen after splash screen

IONIC Build IOS 2023 – Stuck on White Screen after splash screen Fix IONIC IOS Stuck on White Screen after splash screen ionic cordova platform add ios ionic cordova platform remove ios ionic cordova platform add ios@latest ionic cordova prepare […]

Read More

Docker truncate logs

Posted on 09/03/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Docker, logs, truncateLeave a Comment on Docker truncate logs

Docker truncate logs truncate -s 0 /var/lib/docker/containers/**/*-json.log sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log" sudo truncate -s 0 `docker inspect –format='{{.LogPath}}' f7ea99211cf3c10fa86cfb78824485f20933b8cdfa35ca542c88c4b15310427e` sudo sh -c 'truncate -s 0 /var/lib/docker/containers/*/*-json.log'

Read More

PostgreSQL – Column to Json/Jsonb

Posted on 07/03/2023 by soiqualang_chentreu Posted in Dữ liệu, Lang thang, Mẹo vặt, Sói's Tutorials, Web Tagged array_agg, array_to_string, json_agg, postgresql, row_to_json, to_jsonbLeave a Comment on PostgreSQL – Column to Json/Jsonb

PostgreSQL – Column to Json/Jsonb I have a table coso_nhayen like this row_to_json select row_to_json(row) from (select * from coso_nhayen) row LIMIT 5; to_jsonb SELECT id, to_jsonb(t.*) – 'id' AS data FROM coso_nhayen t LIMIT 5; json_agg SELECT json_agg(t) FROM coso_nhayen t; […]

Read More

Fix docker application stop when window goes to sleep

Posted on 28/02/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged DockerLeave a Comment on Fix docker application stop when window goes to sleep

Fix docker application stop when window goes to sleep A dockerized DOC application is running on Windows 10. After some time during which the computer has switched to sleep-mode, the application stopped working. The problem is that security tokens are […]

Read More

Fix The repository no longer has a Release file on Ubuntu

Posted on 23/02/202323/02/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt Tagged Linux, repository, ubuntuLeave a Comment on Fix The repository no longer has a Release file on Ubuntu

Fix The repository no longer has a Release file on Ubuntu Xử lý lỗi The repository no longer has a Release file trên Ubuntu https://azdigi.com/blog/linux-server/the-repository-no-longer-has-a-release-file/ I. Giới thiệu và nguyên nhân Trong quá trình sử dụng hệ điều hành Ubuntu […]

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.