CentOS7.6安装TP-LINK TL-WN823N无线网卡–傻瓜教程

  • Post author:
  • Post category:其他

CentOS7.6安装TP-LINK TL-WN823N无线网卡--傻瓜教程 首先升级内核到4.4 安装网卡驱动 配置wifi网络 此文章借鉴了2篇网络上的教程,自己已经搭建成功,希望对大家有所帮助 首先升级内核到4.4 查看内核版本 uname -r 更新仓库 yum -y update 启用 ELRepo 仓库 rpm --import https://www.elrepo.org/RPM-G…

继续阅读 CentOS7.6安装TP-LINK TL-WN823N无线网卡–傻瓜教程

linux不出现图形界面的解决方法

  • Post author:
  • Post category:linux

不出现图形界面:执行 xhost +报错 LANG=en_US yum -y install xdpyinfo yum whatprovides "*/xhost" ? yum -y install (xorg-x11-server-utils-7.7-20.el7.x86_64) export DISPLAY=192.168.1.121:0.0 echo $DISPLAY xhost + [or…

继续阅读 linux不出现图形界面的解决方法

使用 RMI + ZooKeeper 实现远程调用框架

  • Post author:
  • Post category:其他

在 Java 世界里,有一种技术可以实现“跨虚拟机”的调用,它就是 RMI(Remote Method Invocation,远程方法调用)。例如,服务A 在 JVM1 中运行,服务B 在 JVM2 中运行,服务A 与 服务B 可相互进行远程调用,就像调用本地方法一样,这就是 RMI。在分布式系统中,我们使用 RMI 技术可轻松将 服务提供者(Service Provider)与 服务消费者(Se…

继续阅读 使用 RMI + ZooKeeper 实现远程调用框架

Vue3:Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘xxx‘)

  • Post author:
  • Post category:vue

在页面中渲染异步获取的数据,页面正常渲染的同时报错Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'xxx') <!-- let askData = ref() askData.value = '异步获取数据' 在页面中渲染获取的数据askData --> <dl clas…

继续阅读 Vue3:Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘xxx‘)

PHP 实现PDF转图片

  • Post author:
  • Post category:php

目录 1.环境配置: 2.实现原理: 3.安装php扩展imagick 4.安装ghostscript 5.pdf转图片 1.环境配置: 2.实现原理: Php使用扩展插件imagick进行图片处理,处理pdf时使用imagick去调用ghostscript 3.安装php扩展imagick imagick是一个PHP扩展,调用的是ImageMagick提供API来进行图片的创建与修改。 我这里直…

继续阅读 PHP 实现PDF转图片

编译报错 CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

  • Post author:
  • Post category:其他

1. Problem 用一块新的Nvidia的 Jetson NX板编译时遇到一个报错,如下: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correc…

继续阅读 编译报错 CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

ModuleNotFoundError: No module named ‘PySide6‘

  • Post author:
  • Post category:其他

ModuleNotFoundError: No module named ‘PySide6’ 较高版本python(3.11)可能在初次运行PySide6代码时,在 pip install PySide6 后仍然报如题错误。 本人切换到3.8后重新运行 pip install PySide6 后代码正常运行,且切换到3.11也能运行。 版权声明:本文为qq_52617588原创文章,遵循 CC 4…

继续阅读 ModuleNotFoundError: No module named ‘PySide6‘

mysql按日期分组统计的查询

  • Post author:
  • Post category:mysql

最近写的一个用户数据统计相关接口,需要用到按照每天进行分组统计。 直接看语句 SELECT DATE_FORMAT( create_time, "%Y-%m-%d" ) ,sum(user_id) FROM orders WHERE order_state=2 GROUP BY DATE_FORMAT( create_time, "%Y-%m-%d" ) ; DATE_FORMAT函数说明 语法 …

继续阅读 mysql按日期分组统计的查询

Typora快捷键

  • Post author:
  • Post category:其他

Source Mode Ctrl+/ 切换源码模式 Table of Contents [toc] 目录 Code Block ​```回车 ctrl+alt+f Codes `code` ctrl+shit+` Header(标题) # 1号标题 ctrl+1 ### 3号标题 ctrl+3 ######6号标题 ctrl+6 List 1. 有序列表 * or + or - 无序列表 - [ …

继续阅读 Typora快捷键

计蒜客 身高接近

  • Post author:
  • Post category:其他

Matrix67发现身高接近的人似乎更合得来。Matrix67举办的派对共有N(1< =N< =10)个人参加,Matrix67需要把他们安排在圆桌上。Matrix67的安排原则是,圆桌上任意两个相邻人的身高之差不能超过K。请告诉Matrix67他共有多少种安排方法。 输入格式: 第一行输入两个用空格隔开的数N和K,其中1< =N< =10,1< =K< =1 …

继续阅读 计蒜客 身高接近