import os import shutil import time start_time = time.time() # 需要被复制的文件夹 old_path = r'C:\old_dir' new_path = r'C:\new_dir' all_list = os.listdir(old_p ...
分类:
编程语言 时间:
2020-06-29 22:38:13
阅读次数:
131
make file 文件: all: docker build -t lora . base: docker build --no-cache -t lorabase -f Dockerfile.base . export: docker save LoRa -o /home/netsin/LoRa ...
分类:
其他好文 时间:
2020-06-29 20:06:06
阅读次数:
70
问题: 给定由0,1构成的数组,求由1构成的(各种长度边长的)正方形的总个数有多少。 Example 1: Input: matrix = [ [0,1,1,1], [1,1,1,1], [0,1,1,1] ] Output: 15 Explanation: There are 10 squares ...
分类:
其他好文 时间:
2020-06-29 20:05:12
阅读次数:
61
多个函数等待执行 //初始化权限列表 initPermission() { return new Promise((resolve, reject) => { this.$ajax.get(this.permissionUrl[1], { type: 9 }).then(res => { if (r ...
分类:
其他好文 时间:
2020-06-29 18:44:53
阅读次数:
108
广义表其实是线性表的一种推广,也属于多重链表,他的元素不仅可以是一个单元素也可以是一个广义表。本文介绍 广义表的存储结构和解析union 广义表的存储结构 typedef struct GNode *GList; struct GNode { int Tag; // 标志域, 0表示节点是单元素,1 ...
分类:
其他好文 时间:
2020-06-29 18:26:58
阅读次数:
55
全栈的自我修养: 环境搭建 Not all those who wander are lost. 彷徨者并非都迷失方向。 Table of Contents @ 当你看到这篇文章的时候,暂且认为你对如何做一个网站有了兴趣. 前言 本系列文章将从一个完整的项目是如何开发的过程进行编写,期间会涉及前端、 ...
分类:
编程语言 时间:
2020-06-29 15:46:21
阅读次数:
95
[root@pxc2 ~]# cat /root/master_ip_failover #!/usr/bin/env perl use strict;use warnings FATAL => 'all'; use Getopt::Long; my ( $command, $ssh_user, $o ...
分类:
其他好文 时间:
2020-06-29 13:51:34
阅读次数:
113
今日学习内容 # Ajax: # 免费网站空间 :http://free.3v.do/ # Wampserver 配置方法 1. 修改:httpd-vhosts.conf文件,增加Require all granted 使用#关闭Require local或直接删除即可 #Require local ...
分类:
其他好文 时间:
2020-06-29 11:16:53
阅读次数:
68
Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n sorted ...
分类:
其他好文 时间:
2020-06-29 10:05:07
阅读次数:
60
Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1, ...
分类:
其他好文 时间:
2020-06-29 09:55:51
阅读次数:
59