【scoop】window下的包管理

许久未用windows,没有包管理工具实在不适应,遂找寻一番,有个叫scoop的工具貌似可以用,虽然和macos的brew差的不是一点半点。在命令行可以输入 `scoop search vim` 简单检索需要的软件 `scoop install vim` 简单安装软件,如果需要安装的软件bucket没有安装 `scoop bucket add versions` 比如versions这个bucke

【tar/linux】linux tar命令压缩,解压缩

老是看到tar.gz,tar.bz2什么的压缩包。其实就是一个linux下常用的打包和压缩工具。 压缩 tar -cvf xxx.tar yyy c-就是创建打包 v-就是verbose啰嗦模式 f-就是指定文件名字就是后面跟的xxx.tar yyy-就是被打包的对象@ tar -zcvf xxx.tar.gz yyy z-就是代表打包成tar包,然后压缩一下,最后

【huawei/鸿蒙/微信】huawei mate40鸿蒙系统微信闪退/不能收发消息解决

事情是一位老先生,手机mate40pro保时捷版本,在不知情的情况下莫名变成了鸿蒙系统。 然后微信就经常闪退,在以前安卓系统的时候是好的,微信版本是8.0.27。上周日鸿蒙又偷偷更新了一个小版本。效果就是微信不但闪退,现在连收发微信消息都不行了,只要是微信就不能获取网络。手~~~~

【flink】踩坑记录

想实现的的流程 利用flink-cdc搬运mysql的binlog到kafka,业务系统监听kafka 实际上首先版本号,在github的flink-cdc代码库中从代码可知2.2版本支持的flink版本是1.13.5,但是官方最接近的版本是1.13.6,遂下载flink1.13.6

【flink/prometheus/pushgateway】flink1.13.6配置pushgateway

设pushgateway ip为192.168.100.100 复制flink-metrics-prometheus-1.13.6.jar到lib目录 cp /opt/flink-1.13.6/plugins/metrics-prometheus/flink-metrics-prometheus-1.13.6.jar /opt/flink-1.13.6/lib/flink-metrics-prometheus-1.13.6.jar 配置flink配置文件 vim /opt/flink-1.13.6/conf/flink-conf.yaml metrics.reporter.promgateway.class:org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter metrics.reporter.promgateway.host: 192.168.100.100 metrics.reporter.promgateway.port: 9091 metrics.reporter.promgateway.jobName: alert4flink metrics.reporter.promgateway.randomJobNameSuffix: true metrics.reporter.promgateway.deleteOnShutdown: false 9091是pushgateway的默认端口 jobname是自己定义的名字,随便写