原创 py發送帶附件email
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.base
原创 docker nginx-proxy 添加自定義https網站
nginx-proxy配置 nginx-proxy: image: jwilder/nginx-proxy container_name: nginx-proxy restart: always por
原创 py發送email
import smtplib from email.mime.text import MIMEText # SMTP服務器設置 smtp_server = 'smtp.qq.com' smtp_port = 587 secure_con
原创 Excel身份證提取出生日期
=MID(G2,7,4)&"-"&MID(G2,11,2)&"-"&MID(G2,13,2)
原创 使用的是.NET Framework 4.0,並且需要使用SMTP協議發送電子郵件
using System; using System.Net; using System.Net.Mail; class Program { static void Main(string[] args) {
原创 使用`System.Net.WebClient`類發送HTTP請求來調用阿里雲短信API
using System; using System.Collections.Specialized; using System.Net; class Program { static void Main(string[] ar
原创 對象複製ModelCopier
public static class ModelCopier { public static void CopyCollection<T>(IEnumerable<T> from, ICollection<T> to)
原创 證書certbot
docker run -it --rm -p 80:80 -v /etc/letsencrypt:/etc/letsencrypt -v /var/lib/letsencrypt:/var/lib/letsencrypt certbot
原创 移動終端設計
we7.diyhey.com/admin/login
原创 Windows 11 Classic Context Menu - Windows 11恢復舊版右鍵菜單工具
Windows 11 Classic Context Menu - Windows 11恢復舊版右鍵菜單工具
原创 Windows 11 鼠標右鍵可選擇 cmd 命令行選項
Windows 11 鼠標右鍵可選擇 cmd 命令行選項-CSDN博客
原创 vue3讀取配置文件變量
console.log('VITE_API_URL=' + import.meta.env.VITE_API_URL);
原创 docker mysql表名和數據庫名不區分大小寫
version: '3' services: mysql: image: mysql:tag environment: - MYSQL_LOWER_CASE_TABLE_NAMES=1 volume
原创 阿里雲短信發送限制
短信發送限制: 每分鐘內發送上限1 條 每小時內發送上限5 條 每個自然日內發送上限10 條
原创 svg圖片生成器
在線jpg,png圖片轉SVG工具-BeJSON.com