- https://code-boxx.com/javascript-ocr-image-to-text/
- https://youtu.be/znsqLxIp3Gk
- https://github.com/naptha/tesseract.js
Copyright by Code Boxx
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Chương trình chuyển đổi từ Tiếng Việt có dấu sang Tiếng Việt không dấu | |
| Chỉnh sửa từ mã nguồn của anh NamNT | |
| http://www.vithon.org/2009/06/14/x%E1%BB%AD-ly-ti%E1%BA%BFng-vi%E1%BB%87t-trong-python | |
| """ | |
| import re | |
| INTAB = "ạảãàáâậầấẩẫăắằặẳẵóòọõỏôộổỗồốơờớợởỡéèẻẹẽêếềệểễúùụủũưựữửừứíìịỉĩýỳỷỵỹđẠẢÃÀÁÂẬẦẤẨẪĂẮẰẶẲẴÓÒỌÕỎÔỘỔỖỒỐƠỜỚỢỞỠÉÈẺẸẼÊẾỀỆỂỄÚÙỤỦŨƯỰỮỬỪỨÍÌỊỈĨÝỲỶỴỸĐ" |
| @echo off & setlocal enableextensions | |
| title Reset AnyDesk | |
| reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit) | |
| chcp 437 | |
| call :stop_any | |
| del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf" | |
| del /f "%APPDATA%\AnyDesk\service.conf" | |
| copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\" | |
| rd /s /q "%temp%\thumbnails" 2>NUL | |
| xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails" |
| ## Find Available Target Editions | |
| DISM.exe /Online /Get-TargetEditions | |
| ## Convert Server Standard 2019 Evaluation to Server Standard 2019 | |
| DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula | |
| ## How To Activate | |
| slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
| slmgr /skms [server]:[port] | |
| slmgr /ato |
| <?php | |
| /** | |
| * | |
| * This is a quick way to turn a simple text file | |
| * with a very long list of urls in a text file (sitemap-urls.txt) | |
| * Where "very long" is an expected url number greater than 10,000 | |
| * If loaded without a valid query parameter "page" it will load a | |
| * Site Index site map, otherwise load the individual XML site map | |
| * 10,000 urls into a valid XML Sitemap: | |
| * http://en.wikipedia.org/wiki/Sitemaps |