内容概要 1 文件查找 内容详细 1 文件查找 # 查找命令所在位置 ? which ls ... ? ps: 一些命令的路径都被配置到了环境变量PATH里 ? # 根据文件属性查找文件(find) ? 前戏: 共用参数:(默认是并且的关系) -a : 并且 -o : 或者 例: [root@pyt ...
分类:
其他好文 时间:
2021-06-17 16:36:26
阅读次数:
0
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Net.Http; ...
public interface StudentService { public void add(String studentName); } 定义一个spring的FactoryBean,FactoryBean在通过spring实例化生成的不是自己本身,而是通过调用的getObject方法返回的 ...
分类:
编程语言 时间:
2021-06-17 16:26:25
阅读次数:
0
本随笔结合Docker备忘一下ASP.NET Core项目如何配置分布式Redis缓存 首先Docker中拉取Redis:latest版本镜像; docker pull redis:latest 用拉去的最新镜像创建容器,配置端口映射(默认配置6379) docker run -itd --name ...
分类:
Web程序 时间:
2021-06-16 18:23:10
阅读次数:
0
函数传参和默认参数的区别,传参如果传的是引用地址,则会对这个引用产生影响,但是如果是默认参数,则是创建了一个新对象,对原引用没有影响。 const person = { name: "Lydia", age: 21 } const changeAge = (x = { ...person }) => ...
分类:
其他好文 时间:
2021-06-16 18:12:17
阅读次数:
0
Spring简介 简介 Spring:春天——>给软件行业带来了春天 2002,首次推出了Spring框架的雏形:interface框架! Spring框架即以interface21框架为基础,经过重新设计,并不断丰富其内涵,于2004年3月24日,发布了1.0正式版 Rod Johnson,Spr ...
分类:
编程语言 时间:
2021-06-16 18:11:57
阅读次数:
0
快速搭建一个node服务,可以用于检查自己的单页应用是否有问题 app.js var exppress = require("express"); const fs = require("fs"); var app = exppress(); app.use(exppress.static("dis ...
分类:
其他好文 时间:
2021-06-16 18:10:25
阅读次数:
0
如果我们将两个路由的name设置一样的值,会出现如下的警告: 改正:找到使用了相同的name处,修改或删除其中一个,使其具有唯一性。 ...
分类:
其他好文 时间:
2021-06-16 18:06:27
阅读次数:
0
In my circumstances the error was due to the fact the listener did not have the db's service registered. I solved this by registering the services. Ex ...
分类:
其他好文 时间:
2021-06-16 17:56:58
阅读次数:
0
1. vars vars(objcet) 函数返回对象object的属性和属性值的字典对象 def test(a, b): # {'a': 10, 'b': 20} 常用打印函数的所有入参 print(vars()) return a + b if __name__ == '__main__': t ...
分类:
编程语言 时间:
2021-06-16 17:51:29
阅读次数:
0