WishMeLz

生活其实很有趣

Wish 发布的文章

nodejs发送邮件

开启QQ邮箱的SMTP服务// 安装npm install nodemailer --save var nodemailer = require('nodemailer'); var transporter = nodemailer.createTransport({ service: 'qq', port: 465, // SMTP 端口 secureConnection: true, // 使用 SSL auth: { // 你的smtp账号 user: '**********',...

3D旋转相册

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <link type="text/css" href="https://itsse.oss-cn-shanghai.aliyuncs.com/lib/chaos/3DpotoAlbum.css" rel="stylesheet" /> <script src="https://itsse.oss-cn-shanghai.aliyuncs....

记录跨域一些资料

node简单服务器apicors包设置请求头方法header("Access-Control-Allow-Origin: *"); // 允许任意域名发起的跨域请求 header('Access-Control-Allow-Headers: X-Requested-With,X_Requested_With');Vue中psot请求后台node接收不到参数 let pars = new URLSearchParams(); pars.append("user","yhm"); this.$axios.post("/...

各浏览器的用户代理字符串整理

1. IE 和 IE Mobile 浏览器WindowsIE 9Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)WindowsIE 10Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)WindowsIE 11Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like GeckoWindows PhoneIE 10M...

记录几个国内学生服务器

阿里云https://promotion.aliyun.com/ntms/act/campus2018.html?spm=a2c4g.11186623.2.10.60c44e6b7edPoK腾讯云https://cloud.tencent.com/act/campus?fromSource=gwzcw.1293314.1293314.1293314&cps_key=926cbf665559b546f00b6d68613668ee华为云https://developer.huaweicloud.com/campus?productType=e...

PHP获取QQ用户信息接口

<?php header("Access-Control-Allow-Origin: *"); // 允许任意域名发起的跨域请求 header('Access-Control-Allow-Headers: X-Requested-With,X_Requested_With'); //获取QQ昵称QQ头像 if ($_GET['qq']) { $qq = $_GET['qq']; //向接口发起请求获取json数据 $get_info = file_get_contents('http://r.qzone.qq.com...

Mysql操作

远程链接 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'a123456!' WITH GRANT OPTION; 修改密码SET PASSWORD = PASSWORD('Abc123!_'); 命令立即生效 flush privileges; 启动service mysqld start   查看位置which mysql查看配置文件位置mysql --help | grep 'Default options' -A 1重置密码skip-grant-tablesserv...

工具收集

油管视频提取https://www.clipconverter.cc/ copy链接 回车宽带测速https://www.speedtest.net/ 国外的域名站https://www.freenom.com

记录几个素材网站地址

爱给网有音效素材,配乐,视频,3D模型等图怪兽在线作图,简单傻瓜式预告片世界最新的电影预告片,制作剪辑必备网站Unsplash免费高清图片,高清,高清,高清

SSL证书申请

SSL证书申请使用的是免费的 Let’s Encrypt 的 SSL 证书sudo apt-get install -y software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install -y python-certbot-nginx sudo certbot --nginx在执行 sudo apt-get install -y python-certbot-ng...