文章分类 - 1. web 开发
摘要:1. Python Python 目录 2. Golang Golang 目录 7. 三方组件 1. RBAC 权限组件 2. 8. 技术点 1. 工具函数 生成器 唯一 ID 生成器 生成器 唯一 密码 生成器 生成器 二维码生成器 2. 数据加解密 数据加解密 3. 数据库相关 缓存与数据库的双
阅读全文
摘要:1. Kafka Kafka 基础 Kafka Golang 操作 Kafka 2. NSQ NSQ 基础 3. Rabitt Rabitt 基础 RabittMQ 消费者莫名其妙消失的问题
阅读全文
摘要:0. 环境搭建 1. IDE 破解 2024版 1. 后端 后端 目录导航 2. 前端 前端 目录导航 3. DBA DBA 目录导航 4. 消息队列 消息队列 目录导航 5. Linux Linux 目录导航
阅读全文
摘要:1. 网址 https://chrome.en.uptodown.com 2. 搜索引用并选择下载版本 3. 历史版本按钮 选择好下载的应用后, 点击下面按钮, 下载历史版本
阅读全文
摘要:1. 父向子 1. props 0. 定义数据需要实现的接口 export interface Person { id: string name: string; age: number; } // export type PersonList = Array<Person>; export typ
阅读全文
摘要:1. 防抖原理 <template> <input type="text" v-model="keyword"> <h3>{{ keyword }}</h3> </template> <script lang="ts" setup name="Index"> import {customRef,re
阅读全文
摘要:1. 下载模块 npm i pinia 2. 配置 pinia 环境 src/main.ts import {createApp} from 'vue' import App from './App.vue' import {createPinia} from 'pinia' const app =
阅读全文
摘要:1. 模块下载 npm i vue-router 2. 基本使用 1. 指定路由规则 src/router/index.ts import { createRouter, createWebHashHistory } from "vue-router"; import Home from "@/co
阅读全文
摘要:1. history 工作模式路由配置 nginx.conf server { listen 80; server_name localhost; root /root/gshop; location / { root /root/gshop; index inde.html; try_files
阅读全文
摘要:1. Vue3 中的 setup() 和 Vue2 中的 data、methods 是什么关系? setup() 和 data、methods 是可以同时存在的, 但是不建议这样 setup() 中定义好的数据和方法, 是可以 在 data 、methods 中使用 this.变量名 读取到的, 因
阅读全文
摘要:0. 概述 1. Vue3 带来了什么 打包大小减少14% 初次渲染快55%,更新渲染快133% 内存减少54% 2. 源码的升级 使用Proxy代替defineProperty实现响应式 重写虚拟DOM的实现和Tree-shaking 3. 拥抱TypeScript Vue3 可以更好的支持Typ
阅读全文
摘要:0. 开发环境搭建 package.json { "name": "typescript_demo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no
阅读全文
摘要:1. 页面布局 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="./index.css"> </he
阅读全文
摘要:1. 原理 1. 滤镜概念 filter 表示的是滤镜, 会将区域的每一个像素点, 经过一个固定的算法来进行转换, 把一种颜色转换成另一种颜色来呈现 2. 滤镜分类 grayscale 灰阶滤镜, 范围为 0 - 1 hue-rotate(45deg) 阴间滤镜, 0 - 360 deg 2. 代码
阅读全文
摘要:1. 效果图 2. 知识点 1. 音频节点 就是音频处理中的一个环节, 源节点表示音频数据的来源, 一个音频的所有处理流程就是音频上下文 2. 频谱分析 3. 代码实现 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset=
阅读全文
摘要:0. 案例需求 存放文章评论数据到 MongoD 数据库名为 articledb 数据库结构如下 文章评论 comment 字段名称 字段含义 字段类型 备注 _id ID ObjectId或String Mongo的主键字段 articleid 文章ID String content 评论内容 S
阅读全文
摘要:1. Robo 3T 1. 软件下载 https://studio3t.com/download/ 2. 使用方式 需要使用激活码, 暂未找到破解方法 2. compass (官方) 1. 软件下载 https://www.mongodb.com/try/download/shell 2. 使用方式
阅读全文

浙公网安备 33010602011771号