WishMeLz

生活其实很有趣

免费DNS [he.net]

入口: https://dns.he.net注册: https://ipv6.he.net/certification/register.php注册需要美国地址, 不能使用谷歌邮箱和微软邮箱和proton免费邮箱. 激活邮箱认证添加域名修改DNS

Mac brew安装nvm

安装brewhttps://github.com/Homebrew/brew/releases安装nvmbrew install nvm安装成功后不能直接使用 nvm 命令, 安装成功之后,还不能直接使用 nvm 命令,需要进行以下配置,将以下命令复制到终端执行:echo "source $(brew --prefix nvm)/nvm.sh" >> .bash_profile. ~/.bash_profile //需要重新定向来源

阿里OSS配置静态页面

阿里云OSS配置静态页面,部署备案页面。可以多域名解析修改title即可1 、创建 Bucket2、上传静态文件3、关闭阻止公共访问4、设置权限5、设置静态页面6、设置域名7、设置完成http://itsse.cn/这个时候就行了,用不到 https。 如果要设置https 需要手动上ssl证书8、进阶:使用 Certimate 自动更新SSL证书

shell脚本备份数据库

#!/bin/bash # 设置变量 BACKUP_DIR="/backsql" # 本地备份目录 MYSQL_USER="user" # MySQL 用户名 MYSQL_PASSWORD="5CYGfYhjEXE4STY" # MySQL 密码 MYSQL_HOST="127.0.1" # MySQL 服务器地址,如果是远程服务器,请修改为相应的IP地址 MYSQL_PORT="22619" # MySQL 端口号 DATABASE_...

gemini使用笔记

Gemini 转OpenAI格式: https://github.com/PublicAffairs/openai-geminiWorker代理WebSocket多模态:https://github.com/tech-shrimp/gemini-proxyGemini API申请: https://aistudio.google.com/在线聊天UI:https://github.com/ChatGPTNextWeb/NextChatgemini-2.0-flash-exp、gemini-exp-1206

docker 镜像加速

镜像加速pull.xzxo.cn方法一:docker pull whyour/qinglong:latest改为docker pull pull.xzxo.cn/whyour/qinglong:latest方法二:修改文件 /etc/docker/daemon.json(如果不存在则创建)/etc/docker/daemon.json修改JSON文件 更改为以下内容 然后保存{"registry-mirrors": ["https://pull.xzxo.cn"]}重启sudo systemctl daemo...

sub-store Docker 安装

docker 命令docker run -it -d \ --restart=always \ -e "SUB_STORE_CRON=55 23 * * *" \ -e SUB_STORE_FRONTEND_BACKEND_PATH=/xVwPGdb2tjW8jVuR7Bkv \ -p 3001:3001 \ -v /etc/sub-store:/opt/app/data \ --name sub-store \ xream/sub-store接下来需要修改tokenSUB_STORE_FRONTEND_BACKEND_PATH...

Certimate 使用教程

开源的SSL证书管理工具,可以帮助你申请SSL证书,自动续期SSL证书:https://docs.certimate.me/docs/intro1、安装-Dockergit clone git@github.com:usual2970/certimate.git && cd certimate/docker && docker compose up -d2、添加授权域名的DNS服务器,你要部署的平台都需要添加举个例子:阿里云买的域名,DNS切换到Cloudflare了。 在七牛云使用了这个二级域名的CDN。那么Clo...

ip自签名ssl证书

1、创建私钥openssl genrsa -out ca.key 20482 创建公钥openssl req -new -x509 -days 208 -key ca.key -out ca.crt3生成密钥对先装备两个文件openssl.cnf v3.ext。 其中的 IP.1 记得对应openssl.cnf 如下:[req] distinguished_name = req_distinguished_name req_extensions = v3_req [req_distinguished_name] countryName = Cou...

SSL证书管理工具

certimate 开源https://github.com/usual2970/certimatehttps://docs.certimate.me/blogohttpshttps://ohttps.com/

nodejs 生成网站sitemap.xml

const mysql = require('mysql2') const fs = require('fs') const xml2js = require('xml2js') const path = require('path') // 引入 path 模块以处理路径 // 配置数据库连接 const dbConfig = { host: 'localhost', port: '3306', user: '', password: '', database: '', } // 创建数据库连接 con...

在线协作白板应用 WBO!

WBO是一个自由和开源的在线协作白板。它允许多个用户同时在一个虚拟的大型白板上画图。该白板对所有线上用户实时更新,并且状态始终保持。它可以用于许多不同的目的,包括艺术、娱乐、设计和教学。要与某人实时协作绘制图形,只需向他们发送白板的URL。GitHub:https://github.com/lovasoa/whitebophir官方网站:https://wbo.ophir.dev/Docker镜像:https://hub.docker.com/r/lovasoa/wboDocker部署docker run -it --publish 5001:80...

ip信息查询

1 ip滥用报告https://www.abuseipdb.com/check/2 ip下过bt没https://iknowwhatyoudownload.com/3 ip以前有哪些网站https://site.ip138.com/4 查询网站长啥样https://web.archive.org/https://archive.md/5 查询网站以前解析的iphttps://viewdns.info/iphistory/?domain