一、进入docker docker exec -it -uroot xxx bash 二、查看是否安装pytest pip3 list 三、找到之前安装py3.8的路径(每个人位置有区别) python3import syssys.path找到下方带bin的路径/var/jenkins_home/p ...
分类:
其他好文 时间:
2021-05-03 11:50:50
阅读次数:
0
https://www.serverless.com/learn/comparisons/ Docker Docker packages software into standardized units (containers) to make it easier to manage applica ...
分类:
其他好文 时间:
2021-05-03 11:49:54
阅读次数:
0
Android logd日志原理 http://gityuan.com/2018/01/27/android-log/ 一.先看上层 1.1. 布局 KEY private static final String SELECT_LOGD_SIZE_KEY = "select_logd_size"; ...
分类:
移动开发 时间:
2021-05-03 11:48:30
阅读次数:
0
adb连接安卓设备失败failed to start daemon Reference:https://blog.csdn.net/whshuo2010/article/details/51094495?locationNum=8 背景 连接设备后,使用adb devices命令查看目前连接的设备, ...
分类:
移动开发 时间:
2021-05-03 11:40:13
阅读次数:
0
题目 题目链接:http://codeforces.com/problemset/problem/1511/D 定义一个字符串 \(s\) 的花费为满足 \(s_i=s_j\) 且 \(s_{i+1}=s_{j+1}\) 的数对 \((i,j)\) 的数量(\(0 \leq i<j<|s|-1\)) ...
分类:
其他好文 时间:
2021-04-30 12:45:53
阅读次数:
0
splay 伸展树 struct node1{ int son[2],fa; int siz,val,cnt; }a[N*100]; int rt[N*4],seg; int v[N],maxn; struct Splay{ inline int get(int x){ return x==a[a[ ...
分类:
其他好文 时间:
2021-04-30 12:45:13
阅读次数:
0
//在不使用任务插件的情况下读取DWG文件的缩略图,以便在没有安装AutoCAD的计算机上浏览。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Syst ...
Django cbv的执行流程 path('test/',views.TestView.as_view()), # path('test/',View类的as_view内部有个view闭包函数内存地址), # path的第二个参数是:View类的as_view内部有个view闭包函数内存地址 1 一 ...
序列化:把python中的对象转成json格式字符串 反序列化:把json格式字符串转成python中的对象 drf的序列化组件(序列化器):把对象转成字典。因为有字典,直接丢到Response中就可以了 序列化器的使用 1 写一个序列化的类,继承Serializer 2 在类中写要序列化的字段 f ...
分类:
其他好文 时间:
2021-04-30 12:36:16
阅读次数:
0
Leecode2:两数相加 先看题目 : 给你两个 非空 的链表,表示两个非负的整数。它们每位数字都是按照 逆序 的方式存储的,并且每个节点只能存储 一位 数字。 请你将两个数相加,并以相同形式返回一个表示和的链表。 你可以假设除了数字 0 之外,这两个数都不会以 0 开头。 来源:力扣(LeetC ...
分类:
其他好文 时间:
2021-04-30 12:27:23
阅读次数:
0