![](https://img-blog.csdnimg.cn/20190918135101160.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
IT
IT技术,软件,算法等相关笔记
AnnyYoung
这个作者很懒,什么都没留下…
展开
-
fatal: The upstream branch of your current branch does not match the name of your current branch.
git error; fatal: The upstream branch of your current branch does not matchthe name of your current branch.原创 2022-06-21 12:24:53 · 514 阅读 · 0 评论 -
系统同时支持pip2与pip3
系统同时支持pip2与pip3Today……检查环境安装步骤使用Today……今天一个小姐姐需要在公共服务器上安装pandas,但是服务器的pip默认python3库。安装完后只有python3能用python2仍然检索不到这个包,所以求助了帅气的我(嫩脸一红)……检查环境为了不影响已有的环境配置,期望pip2和3可分开调用,所以先检查环境。1、查询pip默认版本和路径which pippip -V显示默认:pip32、查看已有的python版本ll /usr/bin/python*原创 2021-05-05 14:26:05 · 218 阅读 · 0 评论 -
perl-FAQ
perl 常见报错即处理方法1、Can’t locate Module/Build.pmcpan Module::Build2、make test had returned bad status, won’t install without forcecpan Test::Harness::Straps原创 2021-03-19 14:01:18 · 157 阅读 · 0 评论 -
linux常用命令
1、查系统uname -a或cat /etc/issue或lsb_release -a2、查内存free3、查cpuuptime或top4、查看cpu参数——文件/proc/cpuinfo5、查硬盘df或fdisk -l6、查硬盘读写速度iostat -t 1 3原创 2021-01-06 15:53:14 · 56 阅读 · 0 评论 -
perl实用小功能
1、数组里是否含有元素if (grep { $_ eq $panel } @panel_list){ print"True\n";}原创 2020-10-30 16:30:40 · 201 阅读 · 0 评论 -
python实用小功能
1、数组元素类型转换a = ["2.34", "934.456", "3.45", "632,345"]b = list(map(float, a))2、数组元素排序1)一般排序templist.sort()2)按值排序a = [1, 22, 45, 8, 99, 3]sorted(a, key=int) # ascending order> [1, 3, 8, 22, 45, 99]sorted(a, key=int, reverse=True)原创 2020-10-28 17:37:06 · 122 阅读 · 0 评论 -
mac系统perl安装JSON模块
mac系统perl安装JSON模块安装方法如下:brew install cpanmsudo cpanm install JSON原创 2020-07-18 11:05:25 · 1131 阅读 · 2 评论 -
笔记:ubuntu安装ps命令查询运行的任务
ubuntu安装ps命令查询运行的任务apt-get update && apt-get install procps原创 2020-05-22 13:54:33 · 2130 阅读 · 0 评论 -
笔记:mac, centos,ubuntu系统软件安装
软件安装基础通用软件yummake、cmakegccwgetbzip2、zip、unzipvim、git、curl、sudojavamd5其他软件samtools本篇是记录mac, centos,ubuntu系统的软件安装笔记基础通用软件yum1、一般的centos会自带yum,通过以下命令可以查看系统默认安装的yum:rpm -qa|grep yum2、可通过以下命令卸载yum:rpm -e 上述查询到的yum包可在pkgs.org查询Linux及Unit相关系统版本的软件并下载。3原创 2020-05-21 15:08:13 · 319 阅读 · 0 评论