ubuntu clang bug in
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
如何在不知道 Wi-Fi IP 地址的情况下使用 SSH 访问树莓派
没有显示器,不知道树莓派 IP 地址的情况下,如何通过 ... ......
Ubuntu配置VNC远程桌面
Ubuntu 22.04已经内置了远程连接功能,所以本次以Ubuntu 18.04 Desktop进行配置VNC远程桌面访问。 VNC分为Server端和View端,原理就是客户端(view)访问服务端(server),市面上有很多VNC产品,有免费和收费之分, View端部署在Windows上,我 ......
ESP3D ESP32-C3 bulid时报错 'Serial2' was not declared in this scope
ESP3D 版本: 3.0.0-alpha3 错误原因: ESP32-C3只有两个port 解决方法一: github上最新的git已经解决了该问题,使用git获取最新版,不要下载Release的 解决方法二: 去掉Serial2 serial_sevice.cpp中, 第40,41行 将MAX_S ......
VM安装Ubuntu_Server版
一、准备 1)VMware.Workstation.v14.0.0 (访问码:fm8f) 2)ubuntu-18.04.5-live-server-amd64(访问码:m0qy) 二、安装 1、安装VMware 略 2、创建Ubuntu虚拟机 1)点击“创建新的虚拟机” 2)选择自定义 3)选择“安 ......
频繁设置CGroup触发linux内核bug导致CGroup running task不调度
1. 说明 1> 本篇是实际工作中linux上碰到的一个问题,一个使用了CGroup的进程处于R状态但不执行,也不退出,还不能kill,经过深入挖掘才发现是Cgroup的内核bug 2>发现该bug后,去年给RedHat提交过漏洞,但可惜并未通过,不知道为什么,这里就发我博客公开了 3> 前面的2个 ......
解决Ubuntu系统“无法修正错误
解决Ubuntu系统“无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系”的有效方法 https://www.shuzhiduo.com/A/qVde1lwgdP/ https://blog.csdn.net/carefree31441/article/details/12 ......
Raspberry Pi Code Editor All In One
Raspberry Pi Code Editor All In One
GPIO module bug
......
Linux一键安装docker脚本,含ubuntu和centos
将脚本保存为docker_install.sh,可以上传git,到服务器中,git clone下来后,sh docker_install.sh即可自动安装 ubuntu实现 # 以Ubuntu为例 # Step 1: 移除之前docker版本并更新更新 apt 包索引 sudo apt-get re ......
ubuntu系统grub修复(win+ubuntu双系统环境),修复无法启动问题 boot-repair
相关: https://help.ubuntu.com/community/Boot-Repair Grub修复: Boot-Repair: sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt updatesudo apt i ......
Ubuntu一站式安装配置教程
首先安装 VMware work station 16 PRO VMware 下载地址:https://customerconnect.vmware.com/cn/downloads/details?downloadGroup=WKST-1625-WIN&productId=1038 下载完毕后,点 ......
Thonny IDE All In One
Thonny IDE All In One
Thonny 开启代码自动完成
Python
vscode IntelliSense
代码提示
代码自动补全
......
淘宝上如何查看很久以前的历史订单的购买记录 All In One
淘宝上如何查看很久以前的历史订单的购买记录 All In One
历史订单的购买记录,历史订单最久保留时间
搜索
全部功能>我的购物车>已买到的宝贝 > 所有订单 >订单搜索
......
macOS Finder move & cut & copy & paste file All In One
macOS Finder move & cut & copy & paste file All In One
快捷键
Mac 键盘快捷键
剪切、拷贝、粘贴和其他常用快捷键
Command-X:剪切所选项并拷贝到剪贴板。
Command-C:将所选项拷贝到剪贴板。这同样适用于“访达”中的文件。
Com... ......
2023-04-14 Fatal error: Call to a member function fetch_assoc() on a non-object in C:\wamp\www\work\user.php on line 860
问题:php报错。 业务场景:使用update语句去更新数据库字段。 原因:update接收值不正确。 原代码: $query = "UPDATE student SET date = now() WHERE id = $id"; $result = $mysqli->query($query2) ......
Ubuntu20.04 Docker搭建远程xfce桌面以及ssh教程
简介:本文主要介绍ubuntu20.04容器中搭建xfce远程桌面、C++、Go环境、容器内docker操作配置、 一、创建容器1、创建容器 docker pull ubuntu:20.04docker run -itd --privileged --name=my-desktop--ulimit ......
Moves, copies and clones in Rust
原文链接:Moves, copies and clones in Rust 简介(Introduction) move 和 copy 是 Rust 中的基础概念。这对于来自 Ruby、Python 或 C#等垃圾回收语言的程序员来说可能是完全陌生的。这些术语在 C++中也确实存在,但它们在 Rust ......
How to use command line find all users on Linux All In One
How to use command line find all users on Linux All In One
Linux 系统中一切皆文件, 就像 js 中一切皆对象一样
/etc/passwd
......
main.c: In function ‘main’: main.c:7:14: warning: implicit declaration of function ‘factorial’ [-Wim
先写了主函数(主函数位置在最前),然后在主函数里调用了其他函数,但是这样调用的话先运行的是主函数,当主函数结束时,还没运行到调用函数,所以才会报错。 解决:main函数在最后(推荐);使用函数声明; #include <stdio.h> int main() { long factorial(int ......
PAT 甲级 1014 Waiting in Line(30)
Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules ......
R语言:Some 'from' names in value not found on 'x' 报错
升级了dplyr后运行命令inter=inter %>% rename("gene"="V4") 就一直报错:Some 'from' names in value not found on 'x',如下所示: Error in rename(., gene = "V4") : Some 'from' ......
ubuntu22.04 部署 dnsmasq
禁用systemd-resolved # sudo systemctl disable systemd-resolved # sudo systemctl stop systemd-resolved 安装依赖 # apt -y install make gcc 下载dnsmasq # wget ht ......
how to create one command line configuration tool with shell language on Linux All In One
how to create one command line configuration tool with shell language on Linux All In One
如何在 Linux 上用 shell 语言创建一个命令行配置工具
raspi-config
......
lldb clang args
ATTACHING: --attach-name <name> Tells the debugger to attach to a process with the given name. -n <value> Alias for --attach-name --attach-pid <pid> T ......
Shortest Cycle in a Graph
Shortest Cycle in a Graph There is a bi-directional graph with n vertices, where each vertex is labeled from 0 to n - 1. The edges in the graph are re ......
Ubuntu开机卡“A start job is running for wait for network to be Configured”的解决方法
问题 虚拟机安装ubuntu22.04 TLS系统后,开机总会卡在等待网络连接好长时间。 卡在 A start job is running for hait for Network to be Configured (1min 40s / no) 这里 如图所示 解决办法 进入系统后,打开终端,输 ......
ubuntu安装qt
apt命令安装 (下文建立在读者有一定linux命令使用经验和qt使用经验的基础) 在此之前进行了比较多的安装方式,包括官网下载,发现太慢转为了清华镜像源下载,两种安装方式得到的包都是一样的,最后还是进行了apt命令安装,这样会更简单方便。 sudo apt install qtcreator 安装 ......
2023-04-14 uni-popup 报错:Error in config.errorHandler: "RangeError: Maximum call stack size exceeded"
问题描述:首次导入uniapp的uni-popup,在项目中使用时报错,业务场景为:页面渲染完成后显示弹窗。 报错:Error in config.errorHandler: "RangeError: Maximum call stack size exceeded" config.errorHan ......
Linux input and ouput command < symbol & > symbol All In One
Linux input and ouput command < symbol & > symbol All In One
left input / right output
< 向左侧输入
> 向右侧输出
pbcopy
pbpaste
剪切板
......
ubuntu安装python开发环境
一般ubuntu是自带python的,不需要安装。这里主要讲,更新pip,设置镜像源,配置虚拟环境,为后续开发做准备。 一、更新pip pip3 config list 如果报没有 config 命令,说明pip版本不够高。 apt install python3-pip 这里可以重新安装pip, ......