12 2023 档案

摘要:链接:https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z 生成10秒曲子代码 好难听 from pydub import AudioSegment import numpy as np # Helper function to create a 阅读全文
posted @ 2023-12-30 20:21 __username 阅读(41) 评论(0) 推荐(0)
摘要:toRefs是Vue.js 3中的一个实用函数,用于将响应式对象转换为普通对象,其中每个属性都是一个ref对象。这在某些情况下很有用,特别是想要将一个包含多个响应式属性的对象传递给子组件时。 以下是toRefs的基本用法: import { reactive, toRefs } from 'vue' 阅读全文
posted @ 2023-12-25 20:46 __username 阅读(559) 评论(0) 推荐(0)
摘要:安装pnpm pnpm create vite@latest my-vue-app -- --template vue cd my-vue-app pnpm install pnpm run dev 文档 https://cn.vitejs.dev/ 阅读全文
posted @ 2023-12-25 07:38 __username 阅读(20) 评论(0) 推荐(0)
摘要:win11 常用方法 @echo off start "" "D:\A娱乐\Tencent\WeChat\WeChat.exe" start "" "D:\A娱乐\Tencent\WeChat\WeChat.exe" exit 如果路径存在中文运行过程有问题 最上方添加添加下列一行 chcp 650 阅读全文
posted @ 2023-12-18 11:07 __username 阅读(41) 评论(0) 推荐(0)
摘要:如图 阅读全文
posted @ 2023-12-14 09:50 __username 阅读(12) 评论(0) 推荐(0)
摘要:import pandas as pd # 读取CSV文件 csv_file_path = 'path/to/your/file.csv' df = pd.read_csv(csv_file_path) # 将数据写入Excel文件 excel_file_path = 'path/to/your/o 阅读全文
posted @ 2023-12-12 20:20 __username 阅读(22) 评论(0) 推荐(0)
摘要:1.安装导入 from flask_sqlalchemy import SQLAlchemy 注册 # 创建拓展插件实例 db = SQLAlchemy() app = Flask(__name__) app.secret_key = 'mysecretkey123' # 配置 SQLite 数据库 阅读全文
posted @ 2023-12-11 22:13 __username 阅读(123) 评论(0) 推荐(0)
摘要:本人使用nvm 安装的node 解决方法: cmd 管理员模式下 npm install npm install -g jsdom tough-cookie与上同理 再把目录 放到环境变量中 参考: https://blog.csdn.net/qyk594760/article/details/13 阅读全文
posted @ 2023-12-10 23:16 __username 阅读(195) 评论(0) 推荐(0)
摘要:!!!!!!!!! yield 不要在web开发线上用,适合个人demo时候用 阅读全文
posted @ 2023-12-09 15:43 __username 阅读(19) 评论(0) 推荐(0)
摘要:在JavaScript中,call、apply和bind都是用于改变函数执行上下文(this的值)的方法。它们在不同的情境下有不同的用途。 call方法: call方法允许你调用一个函数,并指定该函数内部的this值,以及将参数以单独的参数传递给函数。 function greet(name) { 阅读全文
posted @ 2023-12-09 10:40 __username 阅读(11) 评论(0) 推荐(0)
摘要:flex布局父项常见属性 flex布局子项常见属性 参考地址 https://developer.mozilla.org/zh-CN/docs/Web/CSS/flex 阅读全文
posted @ 2023-12-08 11:28 __username 阅读(16) 评论(0) 推荐(0)
摘要:总是记成了cd 某 demo:win11下切换到WeChatMsg目录下 cd /d E:\Code\Python\WeChatMsg 阅读全文
posted @ 2023-12-06 00:32 __username 阅读(12) 评论(0) 推荐(0)
摘要:<script setup> import { computed, ref } from "vue"; // const blog = ref({ // title: "Vue3 基础教程", // content: "Vue3 在 Vue2 的基础上做了很多优化", // link: "https 阅读全文
posted @ 2023-12-05 16:00 __username 阅读(62) 评论(0) 推荐(0)
摘要:JavaScript支持多种事件,事件是在文档(DOM)或浏览器窗口中发生的事情。以下是一些常见的JavaScript事件: 鼠标事件(Mouse Events): click - 鼠标单击 dblclick - 鼠标双击 mousedown - 按下鼠标按钮 mouseup - 松开鼠标按钮 mo 阅读全文
posted @ 2023-12-04 23:53 __username 阅读(16) 评论(0) 推荐(0)
摘要:demo <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Auto 阅读全文
posted @ 2023-12-04 16:51 __username 阅读(65) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2023-12-04 16:42 __username 阅读(13) 评论(0) 推荐(0)
摘要:直接上代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Doc 阅读全文
posted @ 2023-12-02 15:51 __username 阅读(5) 评论(0) 推荐(0)