finding cycles graph all
Web3.js All In One
Web3.js All In One Web3 Web3.js A JavaScript library for building on Ethereum Comprehensive. Everything you need to start interacting with the Ethereu ......
How to add a string that contains whitespace to array in shell script All In One
How to add a string that contains whitespace to array in shell script All In One
......
Go - ERROR: fatal error: all goroutines are asleep - deadlock!
main.go: package main import "fmt" func main() { ch := make(chan int) ch <- 1 a := <-ch fmt.Println(a) } Got error: zzh@ZZHPC:/zdata/MyPrograms/Go/tes ......
Congratulations to Google on its 25th birthday All In One
Congratulations to Google on its 25th birthday All In One
祝贺 Google 25 周岁生日 All In One
......
数据库 - MySQL转换SQL Server时,替换 FIND_IN_SET 函数引发的问题
MySQL转换SQL Server时,替换 FIND_IN_SET 函数引发的问题 在之前的文章中,我列举出了一个当 MySQL 转换 SQL Server 时,FIND_IN_SET 函数在 SQL Server 中的解决方案:链接 就是使用 charindex(cast(匹配列 as varch ......
CODE FESTIVAL 2017 Elimination Tournament Round 3 F Unicyclic Graph Counting
洛谷传送门 AtCoder 传送门 看到和度数有关的(基环)树计数,可以想到 Prufer 序。 如果要计数一棵树,那么答案就是 \(\binom{n - 2}{d_1 - 1, d_2 - 1, \ldots, d_n - 1}\)。因为度数为 \(d\) 的点在 Prufer 序中恰好出现 \( ......
How to get the original size of an image using JavaScript All In One
How to get the original size of an image using JavaScript All In One
如何使用 JavaScript 获取一个图片像的原始大小
naturalWidth & naturalHeight
aspect ratio / 纵横比
......
[NIPS 2021]Do Transformers Really Perform Bad for Graph Representation
[NIPS 2021]Do Transformers Really Perform Bad for Graph Representation 微软提出的graph transformer,名叫Graphormer Transformer 通常,transformer layer有一个self-att ......
Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
下载maven apache-maven-3.9.4-bin.tar.gz 解压 tar -zxvf apache-maven-3.9.4-bin.tar.gz 添加环境变量 vim /etc/profile export MAVEN_HOME=/usr/local/maven-3.9.4 expo ......
ERROR: Could not find a version that satisfies the requirement selunium (from versions: none)
错误信息 ERROR: Could not find a version that satisfies the requirement selenium (from versions: none) ERROR: No matching distribution found for selenium ......
How to fix TypeScript error: expression of type can't be used to index type All In One
How to fix TypeScript error: expression of type can't be used to index type All In One
type guard
......
Linux shell script if condition control flow methods All In One
Linux shell script if condition control flow methods All In One
if...then...fi / if...then...else..fi / if...then...elif...then...fi
......
修改sudoer ALL=(ALL) ALL什么意思
linuxtechi ALL=(ALL) ALL 上述命令中: linuxtechi 表示用户名 第一个 ALL 指示允许从任何终端、机器访问 sudo 第二个 (ALL) 指示 sudo 命令被允许以任何用户身份执行 第三个 ALL 表示所有命令都可以作为 root 执行 ......
3D力导向树插件 3d-force-graph
3d-force-graph是什么? 一个 Web 组件,使用强制导向的迭代布局来表示 3 维空间中的图形数据结构。使用ThreeJS /WebGL 进行 3D 渲染,使用d3-force-3d或ngraph作为底层物理引擎。 3d-force-graph可以做些什么? 参考以下效果: 哔哩哔哩:h ......
4-Linux 操作系统进阶指令 du、df、free、find、ps、service、grep、wc、管道
重点:find 、ps 、grep 、管道 1、du 指令 作用:du表示directory used,显示出目录所占的磁盘空间大小的情况。 语法:#du -sh 目录路径 选项说明: -s:表示sumary,汇总统计 -h:表示以较高可读性的形式显示 案例:使用du指令统计出“/home”的大小情 ......
Tesla Bot All In One
Tesla Bot All In One
特斯拉机器人
创建一个通用、双足、自主人形机器人,能够执行不安全、重复或无聊的任务。
......
configure: error: Cannot find zlib.h header.
001、问题 002、解决方法 (base) [root@pc1 MaSuRCA-3.3.1]# yum install zlib-devel -y 参考:http://blog.chinaunix.net/uid-20344928-id-5751083.html ......
configure: error: Cannot find bzilb.h header.
001、问题 002、解决方法 (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install bzip2* 参考:https://blog.csdn.net/weixin_34381687/article/details/92282774 ......
## Could not find a working installation of Boost.
001、问题 002、解决方法 (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install boost boost-devel (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install gcc-c++.x86_64 gperf ......
CF1857G Counting Graphs
题目链接 考虑每条非树边的取值,显然不能小于等于该边与树边形成的环中的最大值(当然这条非树边也可以不存在),所以每条非树边的取值范围就是 \(S - max(w) + 1\) (\(+1\)的原因是该边可能不存在)。 暴力枚举肯定会超时,考虑优化。 发现 \(kruskal\) 算法获得最小生成树的 ......
Linux $PS1 and zsh All In One
Linux $PS1 and zsh All In One
macOS 自定义命令行提示符
......
IDEA @Slf4j cannot find symbol 无法解析问题处理
IDEA @Slf4j cannot find symbol 无法解析问题处理 问题描述: 安装新版本IDEA2022 后, 项目出现 如下问题 , 网上给的大多都是 设置 File | Settings | Build, Execution, Deployment | Compiler | Ann ......
MongoDB and mongoose All In One
MongoDB and mongoose All In One
Node.js
......
All-in-One(二):硬件直通
# 简介 硬件直通简单来说就是让虚拟机直接使用物理机的硬件资源,例如网卡、显卡等。 # 配置 ## 手动启用 IOMMU 打开 PVE 的 shell 执行以下命令: ```shell # 编辑grub文件 nano /etc/default/grub # 修改GRUB_CMDLINE_LINUX_ ......
All-in-One(三):Openwrt
# 简介 **OpenWrt **是适用于嵌入式设备的一个 Linux 发行版。相对原厂固件而言,OpenWr t不是一个单一、静态的固件,而是提供了一个可添加软件包的可写的文件系统。这使用户可以自由的选择应用程序和配置,而不必受设备提供商的限制,并且可以使用一些适合某方面应用的软件包来定制你的设备 ......
All-in-One(一):PVE
# 简介 **Proxmox Virtual Environment**(简称:**Proxmox VE**、**PVE**),是一个开源的服务器虚拟化环境 Linux 发行版。Proxmox VE 基于 Debian,使用基于 Ubuntu 的定制内核,包含安装程序、网页控制台和命令行工具,并且向 ......
All-in-One(五):Ipv6暴露公网
# 简介 **网际协议第6版**(英语:**I**nternet **P**rotocol **v**ersion **6**,缩写:**IPv6**)是网际协议的最新版本,用作互联网的协议。用它来取代 IPv4 主要是为了解决IPv4地址枯竭问题,同时它也在其他方面对于 IPv4 有许多改进。 # ......
How to install a command once for all login users in Linux All In One
How to install a command once for all login users in Linux All In One
/etc/profile & /etc/profile.d/
......
avdevice_register_all()解析备忘
以下解析基于fmpeg-6.0。 void avdevice_register_all(void) { avpriv_register_devices(outdev_list, indev_list); }从上面可以看出来,avdevice_register_all()通过avpriv_regist ......