会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DJWWW
博客园
首页
新随笔
联系
订阅
管理
2023年3月16日
常用linux命令
摘要: ls:列出当前目录下的文件和子目录 cd:切换当前工作目录 pwd:显示当前工作目录的路径 mkdir:创建新目录 rmdir:删除空目录 touch:创建新文件或更新现有文件的时间戳 cp:复制文件或目录 mv:移动或重命名文件或目录 rm:删除文件或目录 cat:显示文件内容 grep:在文件中
阅读全文
posted @ 2023-03-16 15:24 邓居旺
阅读(30)
评论(0)
推荐(0)
2021年7月30日
idea快捷键
摘要: psvm sout ctrl+y 删除行 ctrl+shift+上或 下 上下移动代码 Alt+Insert 快速生成代码 shift+F6 重命名 fori shift+tab 向前补缩进
阅读全文
posted @ 2021-07-30 14:17 邓居旺
阅读(27)
评论(0)
推荐(0)
2021年7月29日
js计时器
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <button class="start">开始</button> <button class="stop">暂停</button>
阅读全文
posted @ 2021-07-29 11:18 邓居旺
阅读(50)
评论(0)
推荐(0)
JavaScript鼠标悬浮图片放大并随鼠标移动
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .pictureList img{ width: 320px; height: 160px; } .bigPict
阅读全文
posted @ 2021-07-29 09:56 邓居旺
阅读(465)
评论(0)
推荐(0)
2021年7月23日
python多进程案例
摘要: # 进程的创建步骤 import time def sing(): for i in range(3): print("唱歌") time.sleep(0.5) def dance(): for i in range(3): print("跳舞") time.sleep(0.5) # 导入进程包 #
阅读全文
posted @ 2021-07-23 11:19 邓居旺
阅读(57)
评论(0)
推荐(0)
2021年7月21日
如何查看端口占用的程序并释放端口
摘要: 首先打开cmd 运行,其中8000是被占用的端口号 netstat -aon|findstr "8000" 运行结果: 记住最后那个id 然后运行:查看此id为18368的程序 tasklist|findstr "18368" 运行结果: 可以发现是python.exe占用了端口 接着运行一下命令杀
阅读全文
posted @ 2021-07-21 10:38 邓居旺
阅读(177)
评论(0)
推荐(0)
2021年7月16日
fastapi用法
摘要: POST GET请求方法: import timeimport uvicornfrom fastapi import FastAPI, Body, Header, Formfrom pydantic import BaseModelfrom fastapi.responses import JSON
阅读全文
posted @ 2021-07-16 14:03 邓居旺
阅读(200)
评论(0)
推荐(0)
2021年7月15日
python邮箱发送四位数随机验证码
摘要: import smtplib from email.mime.text import MIMEText from email.utils import formataddr import random def mail(my_user): my_sender = '6469182449@qq.com
阅读全文
posted @ 2021-07-15 11:38 邓居旺
阅读(207)
评论(0)
推荐(0)
2021年7月14日
获取短信验证码按钮
摘要: <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <title>pro.html</title> <style type="text/css"> .checkCode { cursor: pointer; border: 1px solid
阅读全文
posted @ 2021-07-14 14:42 邓居旺
阅读(175)
评论(0)
推荐(0)
2021年7月13日
阿里云短信验证码API接口
摘要: 阿里云短信验证码接口网站:https://market.aliyun.com/products/57124001/cmapi00037170.html?spm=5176.2020520132.101.20.1e047218HnYIPU#sku=yuncode3117000001 请求参数: 随机四位
阅读全文
posted @ 2021-07-13 17:19 邓居旺
阅读(1142)
评论(0)
推荐(0)
下一页
公告