今天决定把Debian 10.1自带的4.19内核升级到5.2.14。 需要的工具automake、make、g++(包含gcc)、bison、flex、libelf-dev、libssl-dev、bc。 懒人命令: sudo apt install -y automake make g++ bis ...
分类:
其他好文 时间:
2021-04-23 11:58:49
阅读次数:
0
golang获取上传图片的宽和高: package main import ( "fmt" "image" "io/ioutil" "os" "path/filepath" ) const dir_to_scan string = "/home/da/to_merge" func main() { ...
分类:
其他好文 时间:
2021-04-23 11:57:25
阅读次数:
0
1、下载nginx包 直接去官网下载:http://nginx.org/en/download.html 2、下载完成后,在指定位置解压缩,不要直接双击nginx.exe。 3、运行cmd,进入解压的指定目录下 4、启动nginx服务,启动命令为:start nginx,启动时会一闪而过是正常的 5 ...
1、确认系统版本 cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 2、yum 安装 gcc 相关 yum -y install gcc gcc-c++ 3、卸载旧的版本 yum -y remove docker docker- ...
分类:
其他好文 时间:
2021-04-23 11:54:07
阅读次数:
0
一、Nuget安装log4net --> Install-Package log4net 二、在AssemblyInfo.cs文件中添加log4net.dll的参数。 [assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.co ...
具体错误如下,同时伴有collecting package metadata:加载时间巨长 解决方案: 输入conda clean --all清除之前未完成的conda安装的包就可以正常创建环境了。 感谢CSDN的这位伙伴https://blog.csdn.net/weixin_44424340/a ...
分类:
其他好文 时间:
2021-04-22 16:04:55
阅读次数:
0
一、安装版本本文以如下版本为例进行介绍。服务器:CentOS:6.8MySQL:8.0.18gcc:9.2.0cmake:3.15.2 服务器配置如下:CentOS 6.8,内存6G,磁盘60G。内存4G,磁盘60G的情况下,编译不成功,内存不足;在内存6G,磁盘20G的情况下,编译也不成功,磁盘空 ...
分类:
数据库 时间:
2021-04-22 16:02:18
阅读次数:
0
package operator;public class Demo01 { public static void main(String[] args) { //二元运算符 //ctrl + D : 复制当前行到下一行 int a = 10; int b = 20; int c = 25; int ...
分类:
其他好文 时间:
2021-04-22 15:42:24
阅读次数:
0
就今天在导入这个torch_geometric的时候。明明已经用pip指令下好了,但是还是爆红 打开外部引用的目录一看 人家躺在这个site-package目录下。。。。 但是吧,外面还有一层长这样 这也有个site-package pycharm是从外面这个site-package里面读的,所以把 ...
分类:
其他好文 时间:
2021-04-22 15:22:47
阅读次数:
0
一、获取当前日期工具类 DateUtil.java package com.atguigu.staservice.sched; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.text.DateFormat; ...
分类:
其他好文 时间:
2021-04-22 15:17:48
阅读次数:
0