240 发简信
IP属地:四川
  • golang for select break问题

    请看下面的写法正确吗? 如果没有msg消息,这个break不会从for退出,就会出现死循cpu就上来了,正确的写法应该是 参考:Does a b...

  • webspot自动提取测试

    测试demo 对于python 3.10 3.11需要做一下修改

  • ssh no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

    解决办法 参考 https://www.alfredtong.com/apple-2/macos-no-matching-key-exchang...

  • Resize,w 360,h 240
    mitmproxy 从零安装和firefox设置代理

    按照命令 测试 启动mitmweb firefox设置代理 菜单 -> 设置 -> 常规 -> 网络设置 设置代理mitmproxy-insta...

  • Resize,w 360,h 240
    自建证书

    创建CA、证书 firefox导入CA证书 菜单 -> 设置 -> 隐私与安全 -> 证书 -> 查看 mitmproxy设置为CA证书 fir...

  • goland注册使用

    rm -fr ~/Library/Application\ Support/JetBrains/rm -fr ~/Library/Cache...

  • linux虚拟x server

    记录下,防止丢失 https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml[ht...

  • golang test传参数实践

    背景 有时候我们在写代码是,需要将test编译成单独的可执行文件进行测试,并且在test中传参。 demo 测试