摘要: 以mac的使用方法为例: 下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 1. 下载的是shell脚本 2. chmod +x Anaconda3-5.3.0-MacOSX-x86_64.sh 3. ./Anaconda3-5. 阅读全文
posted @ 2018-11-11 10:51 跳进海里躲雨 阅读(359) 评论(0) 推荐(0)
摘要: 1. 首先查看系统运行的进程,若需要查看系统当前运行的所有进程, 就需要用如下命令: # ps auxw 其中参数a表示显示系统中所有用户的的进程;u表示输出进程用户所属信息; x表示也 显示没有控制台的进程;若显示行太长而被截断则可以使用f参数; 2. 查看系统监听的服务 # netstat -l 阅读全文
posted @ 2018-11-02 14:56 跳进海里躲雨 阅读(120) 评论(0) 推荐(0)
摘要: [root@ip-100-00-00-21 ~]# git fetch --all [root@ip-100-00-00-21 ~]# git reset --hard origin/master [root@ip-100-00-00-21 ~]# git pull 阅读全文
posted @ 2018-10-09 20:59 跳进海里躲雨 阅读(589) 评论(0) 推荐(0)
摘要: python中列表排序,字典排序,列表中的字典排序 #-*- encoding=utf-8 -*- # python3代码 import operator 一. 按字典值排序(默认为升序) x = {1:2, 3:4, 4:3, 2:1, 0:0} 1. sorted_x = sorted(x.it 阅读全文
posted @ 2018-09-06 18:47 跳进海里躲雨 阅读(1146) 评论(0) 推荐(0)
摘要: 使用 Vagrant 构建开发环境 https://www.cnblogs.com/blackpuppy/p/vagrant_manage_development_environment.html 使用Vagrant和Virtualbox创建虚拟机 https://www.linuxidc.com/ 阅读全文
posted @ 2018-08-29 09:56 跳进海里躲雨 阅读(746) 评论(0) 推荐(0)