39大小 文件ls

Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

一 背景 跑了一份centos容器,想装一下net-tools, 报如下错误 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorl ......

Nginx 文件上传大小限制

前两天部署服务器遇到一个问题,在服务器上部署了一个文件服务,通过nginx代理,结果超过一定大小就提示失败,本来以为是文件服务的问题,后来排查发现是nginx 限制了,报413的错误。 先将nginx文件大小配置记录如下: “client_max_body_size 1024m;” 可放在http下 ......
大小 文件 Nginx

监听.env.development文件,启动自动重启开发服务器

1.安装nodemon,可以使用以下命令; npm install -g nodemon 2.修改package.json 文件,在scripts字段中添加如何内容。 "dev:watch": "npx nodemon --watch .env.development --exec npm run ......
development 服务器 文件 env

5.1 C/C++ 使用文件与指针

C/C++语言是一种通用的编程语言,具有高效、灵活和可移植等特点。C语言主要用于系统编程,如操作系统、编译器、数据库等;C语言是C语言的扩展,增加了面向对象编程的特性,适用于大型软件系统、图形用户界面、嵌入式系统等。C/C++语言具有很高的效率和控制能力,但也需要开发人员自行管理内存等底层资源,对于... ......
指针 文件 5.1

mysql 表名/关键词/字段 大小写的性能影响

先说结论 同样一句sql,性能比较:关键字大写>所有语句大写>所有语句小写 为查询结果相同的sql,为每一列起别名 性能降低 建议在日常开发中将sql的关键字大写,以提高效率 1. 修改配置my.cnf vi /etc/my.cnf # 在[mysqld]后添加添加 lower_case_table ......
字段 关键词 大小 性能 关键

setting.xml文件配置释义

maven下载jar规则 maven下载jar包优先从配置的本地仓库localRepository查找jar,找不到会去配置的远程仓库中下载jar 配置的远程仓库都有对应的id, 可以根据 标签填对应的仓库的id,代表,从这个仓库下载jar的时候,会走对应的镜像 如果下载不到jar,会报错 plug ......
setting 文件 xml

powershell 获取文件夹的大小

powershell 获取文件夹的大小 $startFolder = "C:\users" $colItems = (Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $True} | Sort-Object)foreac ......
powershell 文件夹 大小 文件

Linux-文件管理命令

绝对路径:从根目录开始描述的路径 pwd输入即为绝对路径, 开头一定是“/”,因为一定是从根目录开始走 相对路径:从当前路径开始描述的路径,开头不一定是“/”,因为不一定是从根目录开始走的 .:是当前目录 。。:是上层目录 ~/:家目录 家目录:/home 常用文件命令 1、删除命令并且换行 ctr ......
命令 文件 Linux

下载本地文件

package com.chen.controller; import com.chen.utils.MultipartFileToFileUtils; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOpera ......
文件

读写Excel文件

读取单元格数据,写入单元格数据 引用NPOI程序集 1 static void Main(string[] args) 2 { 3 string inputFile = @"C:\Users\Lenovo\Desktop\111.xlsx"; 4 string outFile = @"C:\User ......
文件 Excel

mybatis-plus的xml文件中判断输入的list不为空

在 MyBatis-Plus 的 XML 文件中,可以使用 OGNL 表达式来判断输入的 list 是否为空。具体方法如下: <select id="selectByIds" resultType="com.example.entity.User"> SELECT * FROM user WHERE ......
mybatis-plus mybatis 文件 list plus

[902] Get the current file's directory of CMD batch scripts

In a batch file, you can use the %~dp0 special variable to get the directory of the currently executing batch file. Here's how you can do it: @echo of ......
directory current scripts batch file

python获取文件的最后一行

# _*_coding: utf-8_*_ import numpy as np import os import sys def listDirectory(path,list_path,filetype): for file in os.listdir(path): file_path=os.p ......
一行 文件 python

Windows10系统中 C:\Windows\System32 有那些EXE文件

C:\Windows\System32>dir /b *.exe AgentService.exe AggregatorHost.exe aitstatic.exe alg.exe AppHostRegistrationVerifier.exe appidcertstorecheck.exe app ......
Windows 文件 System 系统 EXE

PDManer v4.6.3 安装文件

PDManer v4.6.3 安装文件 最新版本的 PDManer v4.6.3 的安装文件可以从如下百度网盘地址中下载: 链接:https://pan.baidu.com/s/1botl9a9ErbqbprjLIIJE4w 提取码:luna ......
PDManer 文件 6.3 v4

引用axios时出现问题——Cannot read properties of undefined (reading 'get') TypeError: Cannot read properties of undefined (reading 'get')

问题描述 我就是按照特别正常的操作进行引用,但是就一直显示axios的get未定义; 问题解决 本来我是使用的this.$axios.get,引用的全局变量, 然后直接改成这样(在该vue界面定义的import,没有使用全局变量): 就能解决这个问题啦! ......
properties undefined reading Cannot 39

临时文件

......
文件

使用C#在Windows上压缩文件

使用C#通过Zip实现文件的压缩 可以设置输出文件的路径也可以留空,留空则会在压缩文件创建一个同名的.压缩包 可以设置压缩包的密码 可以设置压缩包的加密方式(ASE-256),可以使用LZMA但是加密码会报错 可以设置压缩包的格式(zip),可以使用7z但是加密码会报错 添加了密码最大长度的限制(9... ......
Windows 文件

AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

具体操作命令是:创建一个python <3.8的虚拟环境。conda create -n your_env_name python=3.6激活并进入该环境。activate your_env_name安装1.x版本的tensorflow。pip install tensorflow==1.15.0 ......

AttributeError: module 'tensorflow.compat.v2' has no attribute '__internal__'

File /home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages/keras/backend_config.py:33 28 # Default image data format, one of "channels_las ......

ImportError: cannot import name 'tokenizer_from_json' from 'tensorflow.python.keras.preprocessing.text'

ImportError: cannot import name 'tokenizer_from_json' from 'tensorflow.python.keras.preprocessing.text' (/home/software/anaconda3/envs/mydlenv/lib/pyt ......

ModuleNotFoundError: No module named 'models'

首先看看是不是用户自己的包,如果不是再安装网上的包。 ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 45 42 import keras_metrics as km 43 from keras.model ......
ModuleNotFoundError module models named 39

ValueError: ('`tf.compat.v1.keras` Optimizer is not supported when eager execution is enabled. Use a `tf.keras` Optimizer instead, or disable eager execution.')

ValueError: ('`tf.compat.v1.keras` Optimizer (', <tensorflow.python.keras.optimizers.SGD >, ') is not supported when eager execution is enabled. Use a ......
Optimizer execution keras eager ValueError

AttributeError: module 'tensorflow' has no attribute 'reset_default_graph'

环境配置: python3.7 tensorflow2.0 Window 10初始代码:tf.reset_default_graph()解决方法:import tensorflow as tftf.compat.v1.reset_default_graph()或者是这样:import tensorf ......

文件类型

# 文件类型 1.bin java可执行的程序 2.include C语言 3.jre java运行环境(运行java) 4.lib java类库文件 重点是 bin目录、jre目录 ......
类型 文件

用pyyaml读取yaml文件做接口数据驱动

import yaml # # 封装读取yaml文件类 # class Yamlconf: # def __init__(self,file_path): # """file_path: yaml文件的路径""" # self.file_path = file_path # def load_yam ......
接口 文件 数据 pyyaml yaml

Maven_pom文件解读

Maven核心概念:POM 含义 POM:Project Object Model,项目对象模型。和 POM 类似的是:DOM(Document Object Model),文档对象模型。它们都是模型化思想的具体体现。 模型化思想 POM 表示将工程抽象为一个模型,再用程序中的对象来描述这个模型。这 ......
Maven_pom 文件 Maven pom

【C#】【System.IO】关于拷贝文件夹以及(Directory和DirectoryInfo、File和FileInfo)的区别

本次问题是想要拷贝文件夹,但是找了一圈发现只有File有Copy或者FileInfo的CopyTo,并没有Directory的拷贝操作方法。 针对C#中拷贝文件夹的方法就是先生成一个目标文件夹(destinationFolder)再将(soursefolder)中的文件依次拷贝到目标文件夹中,C#并 ......

如何将文件重置或恢复到特定版本?

内容来自 DOC https://q.houxu6.top/?s=如何将文件重置或恢复到特定版本? 如何将修改后的文件恢复到特定提交哈希值(通过git log和git diff确定)的上一个版本? 假设你想要的提交哈希值为c5f567: git checkout c5f567 -- file1/to ......
版本 文件

Alice's Stamps

Description 给定 \(n\) 个区间,选择至多 \(k\) 个区间,使得被覆盖的元素的个数最多。求最大值。\(1\leq l\leq r\leq n\)。 Solution 赛场上想的是用区间定义状态,先把区间按右端点排序,\(dp_{i,k}\) 表示考虑前 \(i\) 个区间,选了其 ......
Stamps Alice 39