binfmt_misc Using Go as a scripting language

Posted by 夏泽民

At Cloudflare we like Go. We use it in many in-house software projects as well as parts of bigger pipeline systems. But can we take Go to the next level and use it as a scripting language for our favourite operating system, Linux? gopher and tux gopher image CC BY 3.0 Renee French Tux image CC0 BY OpenClipart-Vectors



不要轻易使用 Alpine 镜像来构建 Docker 镜像

Posted by 夏泽民

第一部分着重介绍多阶段构建(multi-stage builds),因为这是镜像精简之路至关重要的一环。在这部分内容中,我会解释静态链接和动态链接的区别,它们对镜像带来的影响,以及如何避免那些不好的影响。中间会穿插一部分对 Alpine 镜像的介绍。链接:两个奇技淫巧,将 Docker 镜像体积减小 99%[1]



chi

Posted by 夏泽民

https://github.com/go-chi/chi https://learnku.com/go/t/39490 https://learnku.com/articles/44827 https://dev.to/wagslane/sorting-in-go-don-t-reinvent-this-wheel-29bg https://rafallorenz.com/go/go-error-stack-trace/ https://github.com/concourse/concourse https://pkg.go.dev/gorm.io/gorm?tab=doc



通道死锁经典错误案例详解

Posted by 夏泽民

接触 Go 语言的信道的时候,经常会遇到死锁的错误,而导致这个错误的原因有很多种,这里整理了几种常见的。



valgrind

Posted by 夏泽民

1,编译php的时候,必须要带上–enable-debug选项。



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required