## 一. 今日内容大刚 1. 基础数类型总览 2. int 3. bool 4. **str** + 索引,切片 + 常用操作方法 5. **for 循环** 1. pycharm 简单使用 2. while 循环 1. 结构 2. pass 3. 格式化输出:str :让字符串的某些位置变成动态 ...
分类:
编程语言 时间:
2020-06-15 09:19:39
阅读次数:
65
启动系统,按ESC键,进入GRUB页面,进入到命令行 1. Start up your computer and when you see the Grub screen, do the following: 2. In the Grub menu press the ‘e’ key to edit ...
分类:
编程语言 时间:
2020-06-14 23:42:03
阅读次数:
239
前言 Java异常处理的十个建议,希望对大家有帮助~ 本文已上传github: https://github.com/whx123/JavaHome 公众号:捡田螺的小男孩 一、尽量不要使用e.printStackTrace(),而是使用log打印。 反例: try{ // do what you ...
分类:
编程语言 时间:
2020-06-14 17:10:03
阅读次数:
69
文章主要内容 以fork和execve系统调用为例分析中断上下文的切换 分析execve系统调用中断上下文的特殊之处 分析fork子进程启动执行时进程上下文的特殊之处 以系统调用作为特殊的中断,结合中断上下文切换和进程上下文切换分析Linux系统的一般执行过程 分析fork 查看do_fork源码 ...
分类:
系统相关 时间:
2020-06-14 01:03:52
阅读次数:
79
Harbor介绍 harbor是一个docker私有镜像仓库,虽然docker官方提供了公共的镜像仓库(Docker Hub),但是从安全和效率等方面考虑,部署我们私有环境内的Registry也是非常必要的。Harbor是由VMware公司开源的企业级的Docker Registry管理项目。 do ...
分类:
其他好文 时间:
2020-06-13 18:57:12
阅读次数:
227
Description Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain ...
分类:
其他好文 时间:
2020-06-13 17:32:34
阅读次数:
56
登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options. 用的是免费版的,所以每次都提示这个 ...
分类:
其他好文 时间:
2020-06-13 17:11:38
阅读次数:
149
前言:我个人建议在安装Mac版Docker的时候升级下系统,我当前的Mac本系统为10.15.5 一、下载docker到本地,我这里使用的是阿里的镜像加速器配置,所以我直接在阿里云网站上直接下载 下载地址:http://mirrors.aliyun.com/docker-toolbox/mac/do ...
分类:
系统相关 时间:
2020-06-13 00:29:09
阅读次数:
167
how do you quit docker-compose up @ macOS? If you want to run docker-compose up and leave the process running without being attached to your terminal, ...
分类:
系统相关 时间:
2020-06-12 20:28:08
阅读次数:
84
#!/bin/bash a="node1 node2 node3 node4 node5" OLD_IFS="$IFS" IFS=" " arr=($a) IFS="$OLD_IFS" for s in ${arr[@]} do echo "$s" done ...
分类:
编程语言 时间:
2020-06-12 20:16:27
阅读次数:
109