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

Fix Geoserver WMS character representation error (UTF-8)

Posted on 14/12/202314/12/2023 by soiqualang_chentreu Posted in GIS, Mẹo vặt, WebGIS Tagged geoserver, webgis, WMSLeave a Comment on Fix Geoserver WMS character representation error (UTF-8)

Fix Geoserver WMS character representation error (UTF-8) | Lỗi font UTF-8 Err Fix Geoserver WMS character representation error (UTF-8) There are many things to check: in the first line of SLD coding: <?xml version="1.0" encoding="UTF-8"?> check that the workspace is on […]

Read More

Linux Link, Unlink folder

Posted on 23/11/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Link folder, Linux, UnlinkLeave a Comment on Linux Link, Unlink folder

Linux Link, Unlink folder Link Folder Symbolic or soft link (files or directories, more flexible and self documenting) # Source Link ln -s /home/jake/doc/test/2000/something /home/jake/xxx Hard link (files only, less flexible and not self documenting) # Source Link ln /home/jake/doc/test/2000/something […]

Read More

PostgreSQL select current user

Posted on 23/11/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged postgresqlLeave a Comment on PostgreSQL select current user

PostgreSQL select current user SELECT session_user, current_user;

Read More

Moodle ERROR You don’t have permission to view this list of courses

Posted on 15/11/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged MoodleLeave a Comment on Moodle ERROR You don’t have permission to view this list of courses

Fix Update mdl_course_categories set visible = 1 https://help.e-padi.com/kb/you-dont-have-permission-to-view-this-list-of-courses/

Read More

API for CCQ VINACAPITAL

Posted on 10/11/2023 by soiqualang_chentreu Posted in Mẹo vặt, Sói's Tutorials Tagged VINACAPITALLeave a Comment on API for CCQ VINACAPITAL

API for CCQ VINACAPITAL VESAF | https://vinacapital.com/vi/investment-solutions/onshore-funds/vesaf/ VEOF | https://vinacapital.com/vi/investment-solutions/onshore-funds/veof/ VLBF | https://vinacapital.com/vi/investment-solutions/onshore-funds/vlbf/ VFF | https://vinacapital.com/vi/investment-solutions/onshore-funds/vff/ http://data.dothanhlong.org/vinacapital/?fundname=VFF Google Sheet /html/body/div[1]/div[2] =IMPORTXML(E25,"/html/body/div[1]/div[2]")*1 Source <?php // http://data.dothanhlong.org/vinacapital/?fundname=VFF if(isset($_REQUEST['fundname'])){ $fundname = $_REQUEST['fundname']; // VESAF // VEOF // VLBF // VFF $curl = curl_init(); […]

Read More

Bookmarklet Remove YouTube adblocking popups

Posted on 06/11/202310/11/2023 by soiqualang_chentreu Posted in Mẹo vặt, Sói's Tutorials Tagged adblocking, BookmarkletLeave a Comment on Bookmarklet Remove YouTube adblocking popups

Bookmarklet Remove YouTube adblocking popups After a while, Youtube displays a popup asking users to turn off the ad blocker. Today I encountered a situation where Youtube went one step further and did not allow this popup to be turned […]

Read More

IONIC Mapbox Cordova

Posted on 31/10/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt, WebGIS Tagged cordova, mapboxLeave a Comment on IONIC Mapbox Cordova

IONIC Mapbox Cordova https://github.com/ChawkiOS/ionic-mapbox-gl https://github.com/dagatsoin/cordova-plugin-mapbox https://github.com/dagatsoin/cordova-plugin-mapbox-demo https://github.com/thanhdt1998/cordova-plugin-mapbox

Read More

[Notes] nginx proxy manager add wildcard SSL

Posted on 27/10/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Mẹo vặt Tagged Nginx Proxy Manager, ssl, wildcard SSLLeave a Comment on [Notes] nginx proxy manager add wildcard SSL

Chia sẻ từ https://thuanbui.me/nginx-proxy-manager-wildcart-ssl/ I. Wildcard SSL Certificate là gì? Wildcard SSL là một chứng chỉ SSL có thể dùng cho tên miền chính và tất cả các tên miền phụ của website. Nó là lựa chọn lý tưởng khi bạn […]

Read More

Github fix lỗi sau khi add remote repo xong không pull, push được

Posted on 19/10/2023 by soiqualang_chentreu Posted in Mẹo vặt, Sói's Tutorials Tagged git, githubLeave a Comment on Github fix lỗi sau khi add remote repo xong không pull, push được

Github fix lỗi sau khi add remote repo xong không pull, push được Chạy lệnh này trước git config –global –add safe.directory /shared/webdir/folder Rồi sau đó init, add remote… như bình thường

Read More

[Notes] Server script – Start, Stop, Restart with virtual machine

Posted on 09/10/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt, Sói's Tutorials Tagged server, virtual machine, VirtualBoxLeave a Comment on [Notes] Server script – Start, Stop, Restart with virtual machine

[Notes] Server script – Start, Stop, Restart with virtual machine Continous from Bash script for starting VirtualBox VMs server_start.bat "C:\Program Files\Oracle\VirtualBox\VBoxManage" startvm "s1" –type headless "C:\Program Files\Oracle\VirtualBox\VBoxManage" startvm "agriweather" –type headless "C:\Program Files\Oracle\VirtualBox\VBoxManage" startvm "s2" –type headless Then make a […]

Read More

Bash script for starting VirtualBox VMs

Posted on 04/10/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged virtual machine, VirtualBox, VMsLeave a Comment on Bash script for starting VirtualBox VMs

Tạo Bash script để quản lý, bật, tắt máy ảo VirtualBox Listing your VMs VBoxManage list vms Manage VMs Start VMs headless VBoxManage startvm "UbuntuSERVER Clone" –type headless Stop VMs VBoxManage controlvm "UbuntuSERVER Clone" poweroff –type headless Pause VMs headless […]

Read More

IonicWebViewEngine.java:137: error: cannot find symbol

Posted on 14/09/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged Ionic, IonicWebViewEngineLeave a Comment on IonicWebViewEngine.java:137: error: cannot find symbol

IonicWebViewEngine.java:137: error: cannot find symbol | Error: cannot find symbol variable LOLLIPOP [cordova] D:\sync\websvr\ionic\test\reader\envirotech_book_reader_mobile\platforms\android\app\src\main\java\com\ionicframework\cordova\webview\IonicWebViewEngine.java:11: error: package android.support.annotation does not exist [cordova] import android.support.annotation.RequiresApi; [cordova] ^ [cordova] D:\sync\websvr\ionic\test\reader\envirotech_book_reader_mobile\platforms\android\app\src\main\java\com\ionicframework\cordova\webview\IonicWebViewEngine.java:137: error: cannot find symbol [cordova] @RequiresApi(Build.VERSION_CODES.LOLLIPOP) [cordova] ^ [cordova] symbol: class RequiresApi [cordova] […]

Read More

[Notes] Automate n8n

Posted on 13/09/202313/09/2023 by soiqualang_chentreu Posted in Lang thang, Mẹo vặt Tagged automate, n8nLeave a Comment on [Notes] Automate n8n

[Notes] Automate n8n https://www.facebook.com/groups/aiartworksvn/posts/3558959327650259/ https://n8n.world/register https://n8n.io/ https://github.com/n8n-io/n8n https://docs.n8n.io/hosting/installation/server-setups/docker-compose/ Xin chào Admin & mọi người, Chắc mọi người đều đã nghe đến việc thiết lập automate để thực thi các công việc hàng ngày như: tự động thông báo khi có […]

Read More

IONIC WhitelistPlugin cannot find symbol

Posted on 08/09/2023 by soiqualang_chentreu Posted in Mẹo vặt Tagged Ionic, WhitelistPluginLeave a Comment on IONIC WhitelistPlugin cannot find symbol

IONIC WhitelistPlugin cannot find symbol [cordova] D:\sync\websvr\ionic\test\reader\envirotech_book_reader_mobile\platforms\android\app\src\main\java\org\apache\cordova\whitelist\WhitelistPlugin.java:62: error: cannot find symbol [cordova] allowedIntents = new Whitelist(); [cordova] ^ [cordova] symbol: class Whitelist [cordova] location: class org.apache.cordova.whitelist.WhitelistPlugin [cordova] D:\sync\websvr\ionic\test\reader\envirotech_book_reader_mobile\platforms\android\app\src\main\java\org\apache\cordova\whitelist\WhitelistPlugin.java:63: error: cannot find symbol [cordova] allowedRequests = new Whitelist(); [cordova] ^ [cordova] […]

Read More

PostgreSQL thống kê | PostgreSQL statistics

Posted on 28/08/202328/08/2023 by soiqualang_chentreu Posted in Dữ liệu, Mẹo vặt Tagged postgresql, statisticsLeave a Comment on PostgreSQL thống kê | PostgreSQL statistics

PostgreSQL thống kê Create a function for row count create function count_rows_of_table( schema text, tablename text ) returns integer security invoker language plpgsql as $body$ declare query_template constant text not null := ' select count(*) from "?schema"."?tablename" '; query constant […]

Read More

Posts navigation

Older 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.