研究地球,learn_earth

Google Earth Web 网页版
https://earth.google.com/web/

cesium
https://cesium.com/platform/cesiumjs/
http://cesium.xin/

https://lbs.amap.com/demo/javascript-api/example/3d/map3d
https://leafletjs.com/
https://docs.mapbox.com/mapbox-gl-js/example/add-terrain/
https://openlayers.org/

数据库SQL-MySQL-SQLServer-Oracle-PGSQL-在Linux中安装SQLServer

==============================================
MySQL
https://downloads.mysql.com/archives/installer/
官方工具集 https://downloads.mysql.com/archives/
==============================================
忘记MySQL 密码
先关闭mysql服务,再带参数启动
./mysqld_safe –skip-grant-tables
进mysql命令行
mysql -uroot -p
执行更新
update mysql.user SET Password=PASSWORD(‘password123′) where USER=’root’;
update mysql.user set authentication_string=password(‘password123′) where user=’root’;
update mysql.user set grant_priv=’Y’ where user=’root’ and host=’%’;
grant all privileges on *.* to root@”%” identified by “Password123”;
grant all privileges on *.* to root@”127.0.0.1″ identified by “Password123” WITH GRANT OPTION;
select host,user,password,authentication_string from mysql.user;
flush privileges;
退出重启MySQL,密码已变更为password123
==============================================
PQSQL
https://www.postgresql.org/download/

==============================================
Microsoft® SQL Server® 2017 Express
https://www.microsoft.com/zh-CN/download/details.aspx?id=55994
官方管理工具 SQL Server Management Studio
https://docs.microsoft.com/zh-CN/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017

Yes, SQL Server 2008 R2 Express with Tools and SQL Server 2008 R2 Express with Advanced Services will allow 10GB databases as well.
SQL Server 2008 R2 Express is still limited to 1 CPU and 1 GB or RAM.
免费版有内存使用和数据库大小的限制, 10G数据库,1G内存,1CPU,
作为测试,要用那么多资源干啥??

==============================================
# 在Linux中安装SQLServer
https://learn.microsoft.com/zh-cn/sql/linux/quickstart-install-connect-docker
sql-server-management-studio
https://learn.microsoft.com/zh-cn/ssms/download-sql-server-management-studio-ssms#download-ssms
https://aka.ms/ssmsfullsetup

==============================================

Oracle Database XE , Free Oracle Database for Everyone
https://www.oracle.com/database/technologies/appdev/xe.html
Oracle SQL Developer
https://www.oracle.com/cn/tools/downloads/oracle-sql-developer-download.html

序号版本数据限制内存限制处理器限制
 1 XE 18c 12GB 2GB 2*CPU
 2 XE 11gR2 11GB 1GB 1*CPU
 3 XE 10g 4GB 1GB 1*CPU

一台机器上只能安装一个 XE 实例, 最大数据库大小为 12 GB,可使用的最大内存是 2G
==============================================

管理工具
heidisql
https://www.heidisql.com/download.php

快速导出数据库结构
SmartSQL
https://gitee.com/izhaofu/SmartSQL

错误提示:ERROR 1273 (HY000): Unknown collation: ‘utf8mb4_0900_ai_ci’
是因为linux下MySQL版本不兼容导致的
我们需要做的是打开我们导出的的sql文件

• 把文件中的所有的utf8mb4_0900_ai_ci替换为utf8_general_ci
• 以及utf8mb4替换为utf8

最后再重新导入成功。

ALTER USER ‘sqluser’@’%’ IDENTIFIED WITH mysql_native_password BY ‘sqluser’;
FLUSH PRIVILEGES;

vscode

VSCode, 升级插件后运行java 提示要11版本之上,
But,作为老人, 咱只需要用java-8即可, 不想升级11, 咋整,
打开主站, 这里找插件
https://marketplace.visualstudio.com/
查找JAVA,
https://marketplace.visualstudio.com/items?itemName=redhat.java
找到Changelog,
https://marketplace.visualstudio.com/items/redhat.java/changelog
0.65.0 (July 22nd, 2020)
enhancement – Require Java 11 to run the extension. See #1524.
0.65.0 后即提示需要java-11了, 所以,找之前的版本,
找到下载连接,更高版本号
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/redhat/vsextensions/java/0.64.1/vspackage
下载后为文件
redhat.java-0.64.1.vsix
复制到 VSCode 安装目录下, 运行CMD , Code.exe –install-extension redhat.java-0.64.1.vsix

插件扩展, 右上角选 install from vsix, 选择刚下载的文件,
视安装情况, 会要求reload几次

linux

推荐发行版本
alpine , https://www.alpinelinux.org/
好用,体积小,常放docker 内使用,如果使用非系统自带的服务,得考虑兼容性,

debian, https://www.debian.org/

slitaz,
https://www.slitaz.org/

manjaro
https://manjaro.org/

以下发行版本不适合新手使用
gentoo
https://www.gentoo.org/

arch
https://archlinux.org/

参考友链
https://linux.zone/
https://manjaro.org.cn/

AI-语音转换-TTS

标贝科技
https://www.data-baker.com/tts.html#/specs/compose/online

 

Coqui TTS 项目介绍
Coqui 文本转语音(Text-to-Speech,TTS)是新一代基于深度学习的低资源零样本文本转语音模型,具有合成多种语言语音的能力。该模型能够利用共同学习技术,从各语言的训练资料集转换知识,来有效降低需要的训练资料量。

这个模型库现在已经在GitHub上开源,并有高达 20.5K+ 的star量。似乎和以前讲过的Mozilla 的 TTS 有着千丝万缕的联系,但是如今Mozilla TTS 已经停止更新,而 Coqui TTS 更新稳定,是目前少数几个更新比较稳定的开源语音库。

coqui官网:https://coqui.ai/

开源地址:https://github.com/coqui-ai/TTS