thread ubuntu 22.04 in
Ubuntu安装MySQL 8.0.21更改默认用户密码
Ubuntu安装MySQL 8.0.21更改默认用户密码 第一步:进入目录:输入: sudo gedit /etc/mysql/debian.cnf 查看debian.cnf文件,找到用户名和密码 第二步:使用上图中的账号密码登录MySQL。 输入:mysql -u debian-sys-maint ......
算法 in Golang:D & C(分而治之)
# 算法 in Golang:D & C(分而治之) ### D & C 算法(策略) - Divide & Conquer - 属于递归算法的一种 - 其实它更像是一种思路、策略 ### 递归 - 递归 Recursion - 基线条件 Base Case - 递归条件 Recursive Cas ......
Ubuntu22.04 安装 java JDK
0 前言 1 下载jdk 2. 配置环境变量(只修改用户配置) 参考 0 前言 Linux一般使用openjdk, 其主要由Oracle提供,部分源码不可见 一般学习以jdk8为基础,以下教程为jdk8的Linux-Ubuntu的安装教程 1 下载jdk Oracle网站: https://www. ......
Linux shell command ln All In One
# Linux shell command ln All In One > 硬连接 vs 软连接 ## ln ```sh $ man ln > ./man-docs/ln.md $ cat ./man-docs/ln.md ``` ```sh LN(1) User Commands LN(1) NA ......
解决报错:fatal: in unpopulated submodule *(WSG实测,可以解决问题)
问题 今天想把两个 Git 工程合并成一个工程,尽管已经将其中一个工程的 .git 目录删除了,但是在合并提交时还是遇到了一个和子模块相关的报错,具体报错信息如下: fatal: in unpopulated submodule '*' 报错截图如下: 解决 通过报错截图的信息,我们可以知道是在执行 ......
Linux shell command cut All In One
Linux shell command cut All In One
cut 截取指定符号等号后面的字符串
cut 截取等号后面的字符串
......
ubuntu上产生coredump
之前按书里的教程老是整不出coredump,都快把我整郁闷了。在千辛万苦之下才找到一篇博客适用于这种情况。记录一下。 一般情况下: 设置coredump文件的最大值: 输入命令: $ulimit -c unlimited 在/proc/sys/kernel/core_pattern中设置格式化的co ......
A卡在ubuntu下部署stable-diffusion-webui
因为自己之前为了装黑苹果把1080ti卖了买了6800XT,在现在这个玩AI的时代后悔莫及,先尝试在mac m1下安装了stable-diffusion-webui,功能基本上都能用,就是速度太慢。 后来想了想还是装了ubuntu,组成win+mac+ubuntu的三系统 ## 1. 安装ubunt ......
window系统的power shell 和 Linux Ubuntu 的命令行各自特点和优缺点
PowerShell 是 Windows 系统自带的命令行工具,而 Linux Ubuntu 的命令行则是 Linux 系统的标准命令行工具。它们的特点和优缺点如下: PowerShell 特点和优缺点: 特点: 1. 支持对象管道,可以将命令的输出作为对象进行处理,方便进行脚本编写和自动化处理。 ......
Raspberry Pi command line tools vcgencmd All In One
Raspberry Pi command line tools vcgencmd All In One
vcgencmd -h
vcgencmd --help
vcgencmd version
vcgencmd commands
......
K8S in Action 读后感(概念简介)
一、K8S的用武之地 今天,大型单体应用正被逐渐拆分成小的、可独立运行的组件,我们称之为微服务。微服务彼此之间解耦,所以它们可以被独立开发、部署、升级、伸缩。这使得我们可以对每一个微服务实现快速迭代,并且迭代的速度可以和市场需求变化的速度保持一致。 但是,随着部署组件的增多和数据中心的增长,配置、管 ......
ubuntu 搭建 cmake + vscode 的 c/c++ 开发环境
# 软件安装 略 # 最基本的 vscode 插件 只需要安装如下两个插件即可 c/c++ 扩展是为了最基本的代码提示和调试支持 cmake language support 是为了提示 CMakeLists.txt 脚本 ![image](https://img2023.cnblogs.com/b ......
树莓派如果通过 raspi-config 关闭桌面模式 All In One
树莓派如果通过 raspi-config 关闭桌面模式 All In One
树莓派设置启动模式:切换桌面模式和命令行模式
GUI vs CLI
图形化界面 vs 命令行
......
page flow in IO flow
1. page add to bio int f2fs_submit_page_bio(struct f2fs_io_info *fio) /* Allocate a new bio */ bio = __bio_alloc(fio, 1); if (bio_add_page(bio, page, ......
How to fix the for...in loop errors in Python All In One
How to fix the for...in loop errors in Python All In One
Python 3
TypeError: string indices must be integers
......
Ubuntu安装CUDA工具包、cuDNN、TensorRT
简介一下这三个东西: CUDA:是一种针对支持 CUDA 功能的 GPU(图形处理器)的 C 语言开发环境。 cuDNN:是GPU加速的用于深度神经网络的原语库。cuDNN为标准例程提供了高度优化的实现,例如向前和向后卷积,池化,规范化和激活层。 TensorRT:是nvidia家的一款高性能深度学 ......
Muesli: Combining Improvements in Policy Optimization
![](https://img2023.cnblogs.com/blog/1428973/202306/1428973-20230602222440022-2137032229.png) **发表时间:**2021(ICML 2021) **文章要点:**这篇文章提出一个更新policy的方式,结合 ......
How to check function arguments type in Python All In One
How to check function arguments type in Python All In One
Python & argument type check
......
ubuntu 22.04配置powerline
1、安装python3和pip3 sudo apt install python3 python3-pip 2、安装powerline sudo apt install powerline 3、配置powerline #powerline config powerline-daemon -q POW ......
Python rpi_ws281x library All In One
Python rpi_ws281x library All In One
Raspberry Pi & Python & WS2812B RGB LED Strip
rpi_ws281x
from rpi_ws281x import PixelStrip, Color, was
NeoPixel
a... ......
Maximum Strictly Increasing Cells in a Matrix
Maximum Strictly Increasing Cells in a Matrix Given a 1-indexed m x n integer matrix mat, you can select any cell in the matrix as your starting cell. ......
Github PR 时合并多次提交的 git commits All In One
使用场景:(一个组里的兄弟) 在一个分支里,提交多次,产生多个commit,然后提pr。 正常情况下,合并到main分支,也会带着多次pr。 期望:将分支中多个commit在合并至main时变为一个commit 解决办法: https://www.cnblogs.com/xgqfrms/p/1646 ......
Ubuntu系统-FFmpeg安装及环境配置
镜像下载、域名解析、时间同步请点击 阿里云开源镜像站 1 简介 FCN-4是一个应用于音频自动标注的全卷积神经网络。使用该网络完成音频标注任务时,首先需要使用python的音频处理工具包Librosa提取音频的时频特征,针对mp3格式的音频文件,Librosa读取音频文件的工作依赖音频处理后端ffm ......
Python function argument All In One
Python function argument All In One
Python 函数参数
function argument types
default arguments
keyword arguments
positional arguments
arbitrary positional ... ......
Adafruit CircuitPython NeoPixel All In One
Adafruit CircuitPython NeoPixel All In One
Raspberry Pi & Python & WS2812B RGB LED Strip
RPi.GPIO
rpi_ws281x
from rpi_ws281x import PixelStrip, Color,... ......
ubuntu16 python2 安装M2Crypto报错
### 正文 ```bash pip2 install M2Crypto # 报错: # unable to execute 'swig': No such file or directory # error: command 'swig' failed with exit status 1 # 解 ......
ubuntu报错:The following signatures couldn't be verified because the public key is not available 解决办法
当在ubuntu中加入了第三方源,没有设置公钥 更新索引的时候就会提示 ```bash The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082AB56BA ......
Ubuntu 使用笔记
# Ubuntu 使用笔记 这篇学习笔记将用于记录本人在使用 Ubuntu 系统过程中的学习心得,它会被存储在在`https://github.com/owlman/study_note`项目的`OperatingSystem/UNIX-like/Linux/`目录下一个名为的`Distributi ......