安装brew报错如下: $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" curl: (7) Failed to connect to raw.git ...
                            
                            
                                分类:
其他好文   时间:
2020-10-26 11:47:36   
                                阅读次数:
21
                             
                    
                        
                            
                            
                                
                    解决 GitHub 的 raw.githubusercontent.com 无法连接问题 在使用 curl 下载文件时,如果出现以下情况 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection ref ...
                            
                            
                                分类:
Web程序   时间:
2020-10-24 09:48:51   
                                阅读次数:
57
                             
                    
                        
                            
                            
                                
                    Definition (Nowhere dense set) A set $A$ in a topological space $X$ is nowhere dense if the complement of its closure is dense in $X$, i.e. $\overline ...
                            
                            
                                分类:
其他好文   时间:
2020-10-22 22:47:57   
                                阅读次数:
24
                             
                    
                        
                            
                            
                                #!/bin/bash #by wwp 2020-10-14 for ip in `cat ip.list` do { ping -c1 -W1 $ip &>/dev/null if [ $? -eq 0 ];then ssh $ip "sed -ri '/^#UseDNS/cUseDNS no'  ...
                            
                            
                                分类:
其他好文   时间:
2020-10-18 09:49:45   
                                阅读次数:
23
                             
                    
                        
                            
                            
                                2020 IT邦幫忙鐵人賽 Kubernetes 原理分析系列文章 kubernetes 探討 Container & Open Container Initiative Container Runtime Interface Container Network Interface Containe ...
                            
                            
                                分类:
其他好文   时间:
2020-10-18 09:39:20   
                                阅读次数:
21
                             
                    
                        
                            
                            
                                使用中科大的有ProxmoxVE的仓库SSH登录节点,查找相关配置文档,修改中科大的源地址,操作如下:grep-rn"download.proxmox.com"/usr/share/perl5/PVE/*sed-i.bak"s#http://download.proxmox.com/images#https://mirrors.ustc.edu.cn/proxmox/images#g"/usr/s
                            
                            
                                分类:
其他好文   时间:
2020-10-18 09:31:59   
                                阅读次数:
26
                             
                    
                        
                            
                            
                                WebSocket is already in CLOSING or CLOSED state.
                            
                            
                                分类:
Web程序   时间:
2020-10-16 11:21:13   
                                阅读次数:
49
                             
                    
                        
                            
                            
                                #!/bin/bashread-p"请输入你的分数:"nif[-z"$n"]``#判断是否为空thenecho"输入的数值不能为空"exit1#为空直接退出脚本fin1=echo$n|sed‘s/[0-9]//g‘#把数值替换成nullif[-n"$n1"]#如果不为空执行以下语句thenecho"请输入正确的数值(在0-
                            
                            
                                分类:
其他好文   时间:
2020-10-16 11:20:39   
                                阅读次数:
43
                             
                    
                        
                            
                            
                                概念:默认是行处理sed是流编辑器,一次处理一行内容,把当前处理的行存储在临时缓冲区中,称为模式空间。接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕,然读入下行,执下一循环。没有使用特殊命令,会在两个循环之间清空模式空间,但不会清空保留空间。直到文件末尾。文件内容并没有改变,除非使用重定向定向输出存储。默认是打印sedoption[sed脚本]file常用选项:-n:不输出
                            
                            
                                分类:
其他好文   时间:
2020-10-16 11:19:23   
                                阅读次数:
27
                             
                    
                        
                            
                            
                                
                    使用VSCode编写Markdown文件时,建议安装插件markdownlint,它可以帮助自己更加规范的写文章. 下面是所有的markdown语法错误信息以便纠错。 Rules文档 MarkdownLint错误问题解释 MD001 - Heading levels should only incr ...
                            
                            
                                分类:
其他好文   时间:
2020-10-16 11:16:45   
                                阅读次数:
28