相关文章
Vue3 封装 element-plus 图标选择器
一、实现效果 二、实现步骤
2.1. 全局注册 icon 组件
// main.ts
import App from ./App.vue;
import { createApp } from vue;
import * as ElementPlusIconsVue from element-plus/icons-vueconst app createApp(App);// 全局挂载和注册 element-plus 的所有 icon
app.con…
建站知识
2024/6/25 19:11:35
215 数组中的第K个最大元素
满足时间复杂度o(n)的方法: 快排的思想
class Solution{
public:int findKthLargest(vector<int>& nums,int k){return quickSelect(nums,k);}
private:int quickSelect(vector<int>& nums,int k){//随机选择基数int privotnums[rand()%nums…
建站知识
2024/6/25 19:11:46
kubernetes问题(一)-异常事件
1 pod状态处于Evicted 0/1
现象:
1)kubectl get events发现“failed to garbage collect required amount of images”。
2)同时磁盘空间不足的节点有大量pod处于Evicted 0/1状态,但并未进行重新调度。
原因描述: …
建站知识
2024/6/27 4:01:38
Windows和VMware中的Ubuntu互传文件
1、方法一:创建共享文件夹
1.1、创建环境
(1)VMware: V17.0.0
(2)Ununtu: Ubuntu 22.04.3 LTS
(3)Windows: Windows10
(4)需要在Ubuntu开机状态下进行配置。
1.2、创建步骤
(1)打开VMware,依次点击“虚拟机”→“设置”。 (2)依次点击“选项”→“…
建站知识
2024/6/25 19:12:08
Unity 内存性能分析器 (Memory Profiler)
一、 安装
安装有两种方式一: add package : com.unity.memoryprofiler方式二: From Packages : Unity Registry 搜索 Memory Profiler
二、 使用
打开:Windows - > Analysis - > Memory Profiler 打开MemoryProfiler界面࿰…
建站知识
2024/6/25 19:12:24
【postgresql】替换 mysql 中的ifnull()
数据库由mysql 迁移到postgresql,程序在执行查询时候报错。
HINT: No function matches the given name and argument types. You might need to add explicit type casts. CONTEXT: referenced column: ifnull 具体SQL:
SELECT ifnull(phone,) FROM c_user p…
建站知识
2024/6/25 19:12:36
Flask配合Echarts写一个动态可视化大屏
ch
技术
后端:flask 可视化:echarts 前端:HTMLJavaScriptcss
大屏布局
大屏拆分 案例项目中大屏可按版块进行拆解,会发现这里大屏主要由标题、折线图、柱状图、地图、滚动图和词云等组成,整体可切分为8个版块&…
建站知识
2024/6/25 19:12:53
Linus Torvalds接受来自微软的Linux Hyper-V升级
微软最近推送了一些变更,旨在改进即将发布的 Linux 内核 6.6 版本对 Hyper-V 的支持。这些改进包括在 Hyper-V 上支持 AMD SEV-SNP guest 和 Intel TDX guest。除了这两项,还有其他一些升级,如改进了 VMBus 驱动程序中的 ACPI(高级…
建站知识
2024/6/25 19:12:54