AI相关

EliteQuant_Matlab
https://gitee.com/EliteQuant/EliteQuant_Matlab.git

文本到视频
https://github.com/THUDM/CogVideo

https://github.com/Picsart-AI-Research/Text2Video-Zero

https://research.nvidia.com/labs/toronto-ai/VideoLDM/
https://github.com/openatx/uiautomator2
============
文本到语音,口型视频
https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain

 

安卓自动化测试
https://github.com/openatx/uiautomator2

============
临时的
C#连VNC
https://gitee.com/zhc341272/HCVNC.git
远程链接RDC管理
https://github.com/xunki/RemoteDesktopManage

WinIO
https://github.com/starofrainnight/winio.git

======
微同商城
https://gitee.com/fuyang_lipengjun/platform.git

ssh-agent-证书登录

# ssh-agent bash
ssh-add -l
ssh-add /root/.ssh/xyzn_api
git pull origin master

===================
A机配置
1. 生成 CA 的密钥
# ssh-keygen -t rsa           (连续三次回车,即在本地生成了公钥和私钥,不设置密码)

2. 将公钥拷到B端
# scp  root@B的iP:root/.ssh/id_rsa.pub  ./.ssh/id_rsa.pub  (需要输入密码)
===================
B机配置
创建authorized_keys2文件
# more /etc/ssh/sshd_config | grep authorized
# touch /root/.ssh/authorized_keys2 (如果已经存在这个文件, 跳过这条)

②追加公钥到authorized_keys2中
# cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys2 (将id_rsa.pub的内容追加到 authorized_keys2 中)

3.SSH证书登陆验证
# ssh root@B的iP (因为没有设置私钥密码, 所以不需要密码, 登录成功)

复制SSH到服务器
ssh-copy-id -i ~/.ssh/id_rsa.pub username@server -p 22
注意权限:
chmod 600 ~/.ssh/config
chattr -i ~/.ssh/config
常用的SSH配置项

Host 别名
HostName 主机名
Port 端口
User 用户名
IdentityFile 密钥文件的路径
IdentitiesOnly 只接受SSH key 登录
PreferredAuthentications 强制使用Public Key验证

参考

# vim ~/.ssh/config
Host test
    HostName 192.168.0.2
    User root
    Port 22
    IdentityFile ~/.ssh/id_rsa

Host muji
    HostName 172.17.0.1
    User root
    Port 22
    IdentityFile ~/.ssh/id_rsa

centos,debian 离线安装包命令示例Sample

#centos setup local package
yum -y install  epel-release
yum install --downloadonly --downloaddir=./ htop
rpm -ivh ./htop*.rpm
#debian setup local package
apt-get download  htop
dpkg -i ./htop*.deb
#alpine setup local package
apk fetch htop
apk add --allow-untrusted ./htop*.apk

apk fetch --recursive htop zip unzip p7zip netcat-openbsd openjdk8 dropbear-scp dropbear-ssh dropbear-dbclient dropbear-convert
apk add  --no-network --allow-untrusted  ./htop*.apk

微信公众号小程序支付等配置地址集合

1. 公众号配置, https://mp.weixin.qq.com/
设置与开发=>>功能设置=>>域名配置
业务域名
JS接口安全域名
网页授权域名
设置与开发=>>基本设置
开发者ID(AppID)
开发者密码(AppSecret)
IP白名单
服务器配置(已启用)
服务器地址(URL)
令牌(Token)
消息加解密密钥(EncodingAESKey)
消息加解密方式
2. 微信支付H5
https://pay.weixin.qq.com/index.php/extend/pay_setting