Prerequisites: Node OS IP k8s-master CentOS7 192.168.137.161 k8s-node1 CentOS7 192.168.137.162 Now we have 2 working CentOS virtual machine, which can ...
分类:
其他好文 时间:
2021-06-08 23:40:34
阅读次数:
0
在 linux 下面,查找路径一般是 where ,但是同样的命令在PS下面是不行的。 在PS下有个查看别名的命令:Get-Alias ,看一下where是啥? Alias where -> Where-Object 原来 where 是 Where-Object 这个命令的别名,并不是查看路径用的 ...
分类:
系统相关 时间:
2021-06-05 18:16:02
阅读次数:
0
1.RotationAnimationRotationAnimation也是继承于PropertyAnimation组件,但是它有点特殊,它只需要指定taget目标对象,并且不需要指定property,因为rotation就是要绑定的属性.并且它还多了个direction属性: direction ...
分类:
其他好文 时间:
2021-06-05 17:53:34
阅读次数:
0
What does it means? For example, if we have setup a API Gateway, REST API, GET method point to a Lambda function with no proxy intergration which retu ...
分类:
移动开发 时间:
2021-06-02 19:55:41
阅读次数:
0
linux中执行cd之后直接ls列出所有的文件 1. csh环境中,在.cshrc 文件中添加以下语句: alias cd 'chdir \!* && ls' 之后运行.cshrc文件: source .cshrc 2. bash环境中,在.bashrc文件中添加以下语句: cd() { built ...
分类:
系统相关 时间:
2021-06-02 18:26:02
阅读次数:
0
which which会在PATH环境中搜寻可执行文件 whereis Linux会将系统里面所有的文件都搜集到一个数据库文件中,whereis从这个数据库文件里面寻找文件 locate locate的使用很简单,直接在命令后面输入文件名或者部分名称,就能得到结果。locate和whereis一样, ...
分类:
系统相关 时间:
2021-06-02 16:12:00
阅读次数:
0
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
其他好文 时间:
2021-06-02 14:41:17
阅读次数:
0
网上很多设置~/.bashrc或者/etc/profile的帖子,但是当我们使用ENTRYPOINT会失效,使用CMD格式的话有导致丢失启动参数。 这里"Using an entrypoint script"来实现该功能。 实现alias ll='ls -al' 编写ll命令文件: ll #!/bi ...
分类:
其他好文 时间:
2021-06-02 11:58:17
阅读次数:
0
$(document).ready(function () { function checkKey(evt) { var keyID = (evt.charCode) ? evt.charCode : ((evt.which) ? evt.which : evt.keyCode); alert(ke ...
分类:
Web程序 时间:
2021-05-24 17:17:10
阅读次数:
0
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:
其他好文 时间:
2021-05-24 13:43:08
阅读次数:
0