摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2023-03-09 10:15 ALin_Da 阅读(155) 评论(0) 推荐(0) 编辑
摘要: mysql8.0的版本; 出现错误: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES); 第一步:关闭 net stop mysql 这个需要cmd的管理员权限; 第二步:在安装My 阅读全文
posted @ 2023-01-03 16:19 ALin_Da 阅读(20) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios'; // 1、利用axios的create创建请求实例 // 2、request是配置后的axios const requests = axios.create({ // 配置对象 // 基础路径,发送请求时,路径都带有api baseURL: '/ 阅读全文
posted @ 2022-12-28 21:24 ALin_Da 阅读(15) 评论(0) 推荐(0) 编辑
摘要: > git config --global user.email [email] // 邮箱 > git config --global user.name [name] // 用户 > git config --global user.password [password] // 密码 阅读全文
posted @ 2022-12-07 16:40 ALin_Da 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 一、全局安装vue-cli,在cmd中输入命令:npm install --global vue-cli;安装指定版本:npm install -g @vue/cli@3.12.1 二、如果原来已经安装了vue-cli的话需要先卸载原来的安装: 1)3.0以下卸载:npm uninstall vue 阅读全文
posted @ 2022-10-24 19:50 ALin_Da 阅读(518) 评论(0) 推荐(1) 编辑
摘要: 常用命令 启动redis服务(Windows) 在redis的目录下执行命令: redis-server 启动redis客户端实例(Windows) 在redis的src目录下执行命令: redis-cli 连接远程redis服务器:(Windows) redis-cli -h host -p po 阅读全文
posted @ 2022-08-01 11:04 ALin_Da 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 后台Python代码 #!/usr/bin/python3 # *-* coding:utf-8 *-* import random import time from tornado.websocket import WebSocketHandler from tornado.web import 阅读全文
posted @ 2022-07-25 14:38 ALin_Da 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Oracle的分页查询 select * from (select t.*,rownum rn from tableName t) o where o.rn between firstIndex and lastIndex; 其中rownum 是oracle分页的关键字,是一个虚拟字段,将查到的数据 阅读全文
posted @ 2022-06-29 10:11 ALin_Da 阅读(165) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # *-* coding:utf-8 *-* import asyncio import requests async def download(url): """""" print('%s下载中' % url) await asyncio.sleep(1) # 阅读全文
posted @ 2022-06-17 10:13 ALin_Da 阅读(135) 评论(0) 推荐(0) 编辑
摘要: // 在整数数组B中寻找所有在整数数组A中不存在的元素(只能使用原生js不使用数组对象的方法) let A = [2, 18, 75, 11, 135, 472] let B = [3, 75, 66, 93, 135] // 最终结果 let resArr = [] // 排序 function 阅读全文
posted @ 2022-01-24 14:43 ALin_Da 阅读(184) 评论(0) 推荐(0) 编辑