记录跨域一些资料

node简单服务器api cors包 设置请求头方法 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("/s",pars).then((res)=>{ console...

read more..

记录几个国内学生服务器

阿里云 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=ecs_2&bpName=a9f84e33d7964d76860cac03359c347d&b...

read more..

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/fcg-bin/cgi_get_portrait.fcg?get_nick=1&uins='.$qq); //转换...

read more..

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-tablesservice mysqld start 启动s...

read more..

工具收集

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

read more..