1、安装 Homebrew, $/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh 命令输入后出现报错:curl: (7) Failed to connect ...
分类:
数据库 时间:
2021-04-26 13:47:29
阅读次数:
0
一、mac配置环境 curl https://sh.rustup.rs -sSf | sh curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh 配置rust环境,需要先找到$HOME/.cargo 如果环境变量未配置可查看根目 ...
分类:
其他好文 时间:
2021-04-26 13:23:27
阅读次数:
0
ps aux|grep java | grep -v grep |awk '{print "kill -9 "$2}'|sh awk文本分析指令,读入一列表(含有换行符,作为一条记录),在一条记录中已空格或者table作为分割符分成n个域,$0表示所以域即整条记录,$1标识第二个域中的内容,$n表示 ...
分类:
系统相关 时间:
2021-04-24 13:49:09
阅读次数:
0
defunct.sh #/bin/env sh #set -e # errexit #cwRsyncServer <=> case sensitive(module) #cwRsyncClinet <=> case insensitive export LANG=zh_CN.utf8 ml_slb= ...
分类:
其他好文 时间:
2021-04-24 13:19:22
阅读次数:
0
kafka功能简单测试 启动zookeeper 启动zk命令: ./zhServer.sh start 启动akfka(注意server.properties的配置) 启动akfka命令:./kafka-server-start.sh /home/hadoop/app/kafka_2.11-0.9. ...
分类:
其他好文 时间:
2021-04-24 13:16:11
阅读次数:
0
*.classpath;*.gitignore;*.hprof;*.iml;*.pyc;*.pyo;*.rbc;*.settings;*.sh;*.yarb;*~;.DS_Store;*.git;*.hg;*.class;*.original;*.idea;*.lst;*.log;*.jar;.pr ...
分类:
其他好文 时间:
2021-04-24 13:10:50
阅读次数:
0
一.简单的文本处理 2.数据流重定向 将标准错误重定向到标准输出,再将标准输出重定向到文件,注意要将重定向到文件写到前面 cat Documents/xx.txt hell.sh >somefile 2>&1 或者只用bash提供的特殊的重定向符号"&"将标准错误和标准输出同时重定向到文件 cat ...
分类:
系统相关 时间:
2021-04-23 12:02:43
阅读次数:
0
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
今天写微信小程序遇到一个问题:给page加 150rpx 的 padding-bottom 值,我考虑到 iphone X 系列的底部黑线,参考我之前写的css属性——env()和constant()设置安全区域;所以我这样写: page{ padding-bottom: calc( constan ...
分类:
Web程序 时间:
2021-04-22 16:05:25
阅读次数:
0
部分iPhone 11、iPhone 11 Pro和iPhone 11 Pro Max用户发现,最近iPhone 11耗电量快、耗电异常和待机耗电也特快问题,查询iOS「电池健康」都相当正常,实际会造成耗电主因是因为iOS 14电池健康的「最大百分比和高峰期效能容量」出问题,才会导致iPhone 1 ...
分类:
其他好文 时间:
2021-04-21 12:52:00
阅读次数:
0