自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 # 超新星小白勇闯github -ssh

超新星小白。

2024-01-26 12:01:23 371 1

原创 解决启动postgresql问题var/run/postgresql/.s.PGSQL.5432

解决启动postgresql问题var/run/postgresql/.s.PGSQL.5432

2022-12-05 16:04:44 6867 1

转载 [转载]DNS-从域名到ip

转载保留DNS

2022-10-28 09:58:58 194

原创 安装PostgreSQL + 修改数据文件路径

postgreSQL的快速安装上手,以及更改数据文件夹路径

2022-07-27 18:40:53 2274 2

原创 ubuntu pip安装报错 which is not on PATH

首先看一下warnning信息 WARNING: The script normalizer is installed in '/home/llxy/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.配置环境变量gedit ~/.bashrc# 在文件

2022-03-21 14:21:21 7022

原创 简易上手的绘图工具--gnuplot--安装+应用

简易上手的绘图工具–gnuplot首先声明,ubuntu20.04的环境,linux版本5.4.0安装就两行,很简单sudo apt-get updatesudo apt-get install gnuplot应用gnuplotset output "test.png"test利用文件绘制把数据存放在 data.dat文件中,如下:#seg freen usedn0 0 8192 1 511 7681 2 189 8003 3 850 7342 4 842 7350

2022-03-11 18:01:54 1028

原创 如何在shell命令实现输入文件到main()函数+输出文件

在shell命令行 传文件到c语言中的main函数,函数的运行结果传输到文件中,excel也可以哦~方便画图

2022-03-11 17:31:29 1559

原创 use some functions from e2fsprogs

use argmentsWhen we want to use some argments from source program to our program, if the argment define to simple, like “int arg;” you just find and copy them from source program,custom data typeand if the argment have a custom data type such as “ext2_f

2022-03-11 16:16:59 1339

原创 2.16 待整理

DAX技术AOFRDB预写式日志写时复制COW内存分配回收管理-------细粒度slab分配器伙伴系统buddy systemMMUDMA刷新CPU指令内存的基本单位–页

2022-02-16 10:40:09 163

原创 linux中用c实现find命令

实现find shellstruct statstruct direntint res = stat(file_path,&st_buf)res == 0;successres != 0;faild,errno为错误信息S_ISDIR(struct stat st_buf)S_ISREG()map<string,int>mymapmymap.countDIR *d_info = opendir()struct dirent pdirent = readdir()

2022-02-10 09:48:03 1125

原创 Ubuntu环境下关于git速度慢的问题

github连接很慢的解决方法其实也是网上学来的方法访问https://www.ipaddress.com/ip-lookup查询github.com和github.global.ssl.fastly.netsudo vim /etc/hosts打开文件,把查询到的两个地址添加到后面gitclone很慢经常显示“无法访问”等问题比如git clone https://github.com/google/leveldb.git可以更换为git clone git://github.com/

2021-10-22 09:33:04 1353 1

原创 ubuntu挂载磁盘

首先查看一下磁盘信息lsblkllxy@llxy-GS65-Stealth-9SD:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT...(省略sda 8:0 0 7.3T 0 disk ├─sda1 8:1 0 3.8G 0 part /media/llxy/32594cb4-2fba-402f-93ca-910eb2a8cc42├─sda2 8:.

2021-10-20 14:38:01 455

原创 安装bcc-tools并简单运用biosnoop

安装bcc-tools1. g++、git和cmake等基础工具包2. 安装llvm和clang两种方式:第一种方式,直接apt安装sudo apt-get install llvmsudo apt-get install clang第二种方式,源码编译(本人编译到一半由于报错等问题放弃了这种方法)wget http://releases.llvm.org/4.0.0/llvm-4.0.0.src.tar.xztar -xf llvm-4.0.0.src.tar.xzwget ht

2021-10-20 11:01:34 1632

原创 ubuntu命令搜集

ubuntu命令搜集记录一些我最近用到的命令行安装.deb文件命令$sudo dpkg -i xxx.deb创建并执行cpp文件$touch test.cpp$gedit test.cpp //编写test.cpp文件$g++ test.cpp //查看当前目录下有没有执行后的文件,一般默认为a.out //如果想要制定输出文件的格式和名字,可以使用 //$g++ -o test.o test.cpp //最后执行 //$./test.o$./a.out编译 benchma

2021-10-19 11:37:00 765

原创 解决ubuntu软件中心无法安装软件的方法

解决ubuntu软件中心无法安装软件的方法当用ubuntu软件下载中心安装某个软件的时比如我安装typora的时候报错“unable to install typora: status-code=409 kind=snap-change-conflict message=snap"typora"has "install-snap"change in progress不用担心,打开终端,查看当前的状态:~$ snap changesID Status Spawn

2021-09-24 15:02:58 12724 2

原创 解决gitclone报错 无法访问‘https://github.com/xxx.git/‘:GnuTLS recv error

由于电脑被我搞坏了,重新安装了ubuntu20.04所以需要重新下载安装benchmark第一次gitclone成功了llxy@llxy-GS65-Stealth-9SD:~/tools$ git clone https://github.com/google/benchmark.git正克隆到 'benchmark'...remote: Enumerating objects: 6549, done.remote: Counting objects: 100% (805/805), done.

2021-09-24 10:34:14 5298 1

原创 google benchmark安装编译测试一条龙服务

google benchmark首先还是建议大家认真阅读github上的描述,我也是除了很多差错,最后发现还是官网真香环境:Ubuntu20.04.1安装编译benchmark安装git和cmake$ git clone https://github.com/google/benchmark.git$ cd benchmark$ cmake -E make_directory "build"$ cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOA

2021-09-16 14:12:43 1803 2

原创 如何更改jupyter notebook上的默认路径

如何更改jupyter notebook上的默认路径前提工作开始设置前提工作首先需要安装anaconda,这里不做过多叙述示例为win10系统先建立一个新的工作区,比如我这里:一会我们就要把jupyter的路径修改到这个文件夹OK现在我们正式开始设置!开始设置在开始菜单中打开Anaconda Prompt接着在命令行中输入jupyter notebook --generate-config看红色框出的区域就是现在默认的路径,根据这个路径打开对应文件打开config文件,更改如下

2020-11-26 11:00:20 92

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除