dockerSearch命令
Get https://index.docker.io/v1/search?q=redis&n=25: dial tcp: lookup index.docker.io on [::1]:53: read udp [::1]:49555->[::1]:53: read:... ...
分类:
其他好文 时间:
2021-03-31 12:10:21
阅读次数:
0
1 import os 2 3 # 获取手机系统信息 4 phone_sys = os.popen('adb shell "cat /system/build.prop | grep "product""').read() 5 print(phone_sys) 6 7 # 获取手机设备型号 8 de ...
分类:
编程语言 时间:
2021-03-30 13:42:38
阅读次数:
0
When dealing with `fs` library, the common problem you will meet is the path to file. Different envs may have different way to handle the path. The be ...
分类:
Web程序 时间:
2021-03-30 13:42:21
阅读次数:
0
Springboot项目Java轻松实现Excel导出 一、需求背景 要求Java后端实现一个Excel导出功能。 二、工程包引入 implementation group: 'org.apache.poi', name: 'poi', version: '4.0.1' implementation ...
分类:
编程语言 时间:
2021-03-30 13:36:58
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0
依赖: <!--xls(03)--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version> </dependency> <!--xlsx(07)--> ...
分类:
其他好文 时间:
2021-03-30 13:28:43
阅读次数:
0
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: KVM版本:5.9.1 QEMU版本:5.0.0 工具:Source Insight 3.5, Visio 文章同步在 ...
分类:
系统相关 时间:
2021-03-30 13:07:40
阅读次数:
0
定义一个内部类,直接将内部类定义在外围类的里面。 interface yu{ void sout(); } public class lc_2 { public int num1; private int num2; class innerClass implements yu{ public in ...
分类:
其他好文 时间:
2021-03-30 13:02:50
阅读次数:
0
Reconstruct Original Digits from English (M) 题目 Given a non-empty string containing an out-of-order English representation of digits 0-9, output the d ...
分类:
其他好文 时间:
2021-03-30 13:01:57
阅读次数:
0
题目描述: 找出字符串中最长的回文子串长度 输入输出: Sample Input: Is PAT&TAP symmetric? Sample Output:Sample Output: 11 思路: dp的思想,设字符串str,dp[i][j] = 1 or 0 代表str[i] ~ str[j]间 ...
分类:
其他好文 时间:
2021-03-29 12:51:45
阅读次数:
0