ubuntu clang bug in

Linux shell `#!` interpreter All In One

Linux shell #! interpreter All In One 指定脚本解释器的路径 #!/usr/bin/env python3 # ✅ 推荐写法, 动态读取 env 配置的解释器路径,切换系统环境不会报错,可移植性高 🚀 #!/usr/bin/python3 # 👎 不推荐写法... ......
interpreter Linux shell All One

Python 数据类型转换 All In One

Python 数据类型转换 All In One Python 3 数据类型转换 |函数 | 描述| -- | -- int(x [,base]) | 将x转换为一个整数 float(x) | 将x转换到一个浮点数 complex(real [,imag]) | 创建一个复数 str(x) | 将对 ......
类型 数据 Python All One

在SSD存储器(U盘或硬盘)上安装Ubuntu

目标:实现Ubuntu系统的即插即用,在SSD存储器(U盘或硬盘)上安装Ubuntu,在任意电脑的USB接口(defult:USB3.1)上插入存储器,即可通过选择BOOT方式(开机时按F12)启动Ubuntu 以下是本文的安装环境: SSD存储器:thinkplus TU180 PRO 512G( ......
存储器 硬盘 Ubuntu SSD

ubuntu 2204 iptable重启自动生效配置方法

安装 iptables-persistent # sudo apt-get -y install iptables-persistent 设置iptables规则(只做演示) # iptables -t nat -A PREROUTING -p tcp --dport 5866 -j DNAT -- ......
iptable 方法 ubuntu 2204

ubuntu 修改静态IP

##1. 查看网卡名字 输入命令 ifconfig或者ip a: 我的网卡是‘enp3s0’。 ##2. 修改yaml文件 打开并编辑/etc/netplan/目录中的.yaml文件: 严格按照如下格式修改: 点击查看代码 network: ethernets: enp3s0: #配置的网卡的名称 ......
静态 ubuntu

Ubuntu换阿里云源

 2019-07-24 最近,我发现…Ubuntu的官方源很慢,下载速度慢到爆炸,于是决定换阿里云源 首先 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 备份一下源文件,以防万一 在sudo vi /etc/apt/sources. ......
Ubuntu

Windows虚拟机安装ubuntu server,网络配置和性能增强

虚拟机网络配置 在setting里搜network设置,修改vmnet8(NAT)配置。根据虚拟机ip来改。 再来一点增强虚拟机性能的技巧 Edit Group Policy Edit group policy (gpedit) Go to Local Computer Policy > Compu ......
性能 Windows ubuntu server 网络

Ubuntu VirtualBox基础设置及问题解决

持续更新中............... 功能设置: 拷贝字符串: 选择需要打开该功能的虚拟机; 点击设置; 选择常规; 选择高级; 将“共享粘贴板”与“拖放”全部选择“双向”。 屏幕常亮 进入虚拟机,选择向下的倒三角; 点击设置图标,进入设置界面。 进入设置界面,选择"Power",将"Blank ......
VirtualBox 基础 Ubuntu 问题

ubuntu两台电脑之间硬盘远程挂载

主要参考这两篇博客 https://blog.csdn.net/ylxwk/article/details/129155931 https://www.shuzhiduo.com/A/kPzOEWN75x/ #服务器电脑配置: 1. 安装nfs服务:sudo apt-get install nfs- ......
之间 硬盘 ubuntu 电脑

云原生应用保护平台市场指南 All In One

云原生应用保护平台市场指南 All In One Market Guide for Cloud-Native Application Protection Platforms ......
指南 市场 平台 All One

Exclude/Include option in EXPDP and IMPDP Datapump

Exclude/Include option in EXPDP/IMPDP Datapump Oracle Exclude and include option used to limit the object type which can be exported and imported in D ......
Datapump Exclude Include option EXPDP

Ubuntu 网络相关

#ubuntu 18.04 wired unmanaged 原因未知,参考链接 ##解决方法 sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf sudo vim /etc/NetworkManager/Net ......
Ubuntu 网络

解决ubuntu 20.04、22.04 即新版本 fcitx 无法使用的问题

前提 已在系统设置中将fcitx设置为默认 fcitx开机自启 配置的过程不在本文讨论范围之内 开机自启可通过安装gnome-tweaks配置实现 问题分析流程 手动启动fcitx时提示设置XMODIFIERS变量 你安装的fcitx还以为你使用Xorg登录,安装的搜狗输入法也是如此,这些相关的配置 ......
ubuntu 问题 20.04 22.04 fcitx

maven的bug

今天写代码,很奇怪,明明maven的依赖没有错误,但有一个模块其他模块就是找不到他的依赖,最后解决的也很奇怪,把那个模块的代码动了一下,立马就找到了,但实际代码没动,很离谱。 .idea文件的问题,里面的maven出现了问题,把这个文件删掉,重新打开idea就可以了 ......
maven bug

ubuntu 安装mysql

apt install mysql-server #安装 service mysql status #查看状态 默认账户:/etc/mysql/debian.cnf 修改root密码: 使用root用户操作:1. mysql -root -p2. use mysql;3. update user s ......
ubuntu mysql

Bad magic number in super-block

提交svn时报一下错误: Commit failed (details follow): Can't flush file to disk: Input/output error 出现该错误后, 重启svn服务器, 服务器启动不了。 拆除其中一块硬盘的数据线和电源线后,重启电脑,可以进入系统。 修改 ......
super-block number magic block super

Expression #1 of ORDER BY clause is not in SELECT list

mysql问题 Code:3065,SQL State:HY000,Expression #1 of ORDER BY clause is not in SELECT list, references column 'name' which is not in SELECT list; this i ......
Expression clause SELECT ORDER list

Ubuntu Server 全版本更换镜像源为阿里云镜像源

查看当前 Ubuntu 镜像源 less /etc/apt/sources.list 文件部分内容: # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the d ......
镜像 版本 Ubuntu Server

Ubuntu18.04基于Apache搭建SVN服务器

安装必需工具 sudo apt-get install apache2 subversion libapache2-mod-svn 建立SVN仓库 确定SVN根目录为 /usr/svn,并创建仓库。 sudo svnadmin create /usr/svn/test1 sudo chown -R ......
服务器 Ubuntu Apache 18.04 SVN

ubuntu 20.04 | 18.04 设置静态ip方法

默认情况下网络使用的是DHCP,作为被频繁访问的服务器,需要设置该服务器地址为静态IP。 命令行下,执行: ifconfig 从这里可以找到,本机的IP地址 192.168.1.100,子网掩码 255.255.255.0,以及推测网关地址 192.168.1.1 默认的网卡配置文件 默认情况下,网 ......
静态 方法 ubuntu 20.04 18.04

如何把一个 Python 项目发布到 PyPI 上指南教程 All In One

如何把一个 Python 项目发布到 PyPI 上指南教程 All In One 如何发布一个 Python 项目到 PyPI 上 如何发布一个 Python 包到 PyPI 上 ......
项目发布 指南 项目 教程 Python

ubuntu 20.04 设置允许root登录

Ubuntu默认不设置 root 帐户和密码。如有需要,可在设置中开启允许 root 用户登录。具体操作步骤如下: 问题描述 Invalid/incorrect password: Warning: Permanently added '192.168.1.156' (ECDSA) to the l ......
ubuntu 20.04 root 20 04

Python errors All In One

Python errors All In One errors ❌ from: can't read /var/mail/gpiozero https://stackoverflow.com/questions/16069816/getting-python-error-from-cant-read ......
Python errors All One In

Ubuntu使用docker部署gitee上个人博客solo项目

使用云服务器 Ubuntu20.04 LTS 1.安装docker # 输入docker提示docker安装语句 apt install docker.io # 从Docker Hub中拉取最新项目镜像 docker pull b3log/solo 2.安装mysql # 使用以下命令将安装mysq ......
项目 Ubuntu docker gitee 个人

Mysql中find_in_set()函数与in()函数的用法

1.认识find_in_set()函数 Mysql官方文档手册,如下图: 2.find_in_set()基本操作 select find_in_set (‘b’, ‘a,b,c,d,w’); 结果为2,因为b字符串在strlist集合中,在第二个位置,起始数是从1开始的 select find_in ......
函数 find_in_set Mysql find set

Ubuntu18.04系统安装nginx

Nginx 软件包在默认的 Ubuntu 存储库中可用。 安装非常简单。首先更新包列表,然后安装 Nginx。 sudo apt update sudo apt install nginx 或 sudo apt install -y nginx 查看nginx版本与启动状态 nginx -v whe ......
Ubuntu 系统 18.04 nginx 18

Gitlab CI/CD of react app in docker container 用gitlab CI/CD部署docker container react app

1.0 Download project git clone http://oauth2:{token}@{host}/{user}/{project} {dir_folder} download project to target server 2.0 Install gitlab runner ......
container docker react app Gitlab

The entity cannot be constructed in a LINQ to Entities query 原因及修复方法

public IQueryable<Product> GetProducts(int categoryID) { return from p in db.Products where p.CategoryID== categoryID select new Product { Name = p.Na ......
constructed Entities 原因 方法 entity

Fritzing All In One

Fritzing All In One PCB 电路图制作软件 ......
Fritzing All One In

关于将Ubuntu18.04降内核后WiFi驱动无法使用

因为实验需要,需要将我原本的Ubuntu内核降到4.15,所以我参考了网上一些降内核的方法,经过一些小问题的解决成功将内核降到4.15.0-47,但是我发现出现了网卡驱动用不了了,包括有线无线都不行,外置的免驱网卡也不行,试了很多方法,几个小时都没解决,直到发现了这篇文章。 ubuntu18.04. ......
内核 Ubuntu 18.04 WiFi 18