• 2023-05-09[Linux]折腾备忘录
    在vi~/.bashrcsource~/.bashrc 添加 exportHOSTIP=$(cat/etc/resolv.conf|grep"nameserver"|cut-f2-d"")exporthttp_proxy="http://$HOSTIP:7890"exporthttps_proxy="http://$HOSTIP:7890"exportall_pro
  • 2023-03-15WSL2 设置代理
    添加到~/.bashrcexportHOSTIP=$(cat/etc/resolv.conf|grep"nameserver"|cut-f2-d"")exporthttp_proxy="http://$HOSTIP:7890"exporthttps_proxy="http:/
  • 2022-11-15Flume 自定义拦截器
    ApacheFlume是一个分布式的、可靠和易用的日志收集系统,用于将大量日志数据从许多不同的源进行收集、聚合,最终移动到一个集中的数据中心进行存储。Flume的使用不仅仅限于
  • 2022-11-04WSL2 通过 CLASH 配置
    vim ~/.zshrc exporthostip=$(cat/etc/resolv.conf|grep-oP'(?<=nameserver\).*')exporthttps_proxy="http://${hostip}:7890"exporthttp_proxy="http://${hos