Hey. I my own local forward tool. https://github.com/JonLundy/sshfwd it uses ssh port forwards.
GoCN 每日新闻(2021-12-22)
GoCN 每日新闻(2021-12-22)- 使用 Go 和 SQLite 构建生产应用程序
- 使用 context.Context 模拟 API 客户端https://incident.io/blog/golang-client-mocks
- 一种可嵌入的 Go 脚本语言,实现了逻辑编程语言 Prologhttps://github.com/ichiban/prolog
- SSA:终于知道编译器偷摸做了哪些事[https://mp.weixin.qq.com/s/nOhMsMeP1pUFEXKAMUzbWg](https://mp.weixin.qq.com/ … ⌘ Read more
How GitHub contributed to the Santa Clara Principles update
GitHub was honored to contribute to the Santa Clara Principles on Transparency and Accountability in Content Moderation 2.0. ⌘ Read more
How to leverage security frameworks and libraries for secure code
In this post, I’ll discuss how to apply OWASP Proactive Control C2: Leverage security frameworks and libraries. ⌘ Read more
The QOI File Format Specification
Last month I announced a
toy project called QOI — the Quite OK Image Format. It losslessly compresses
RGB and RGBA images to a similar size of PNG, while offering a 20x-50x
speedup in compression and 3x-4x speedup in decompression.
With the help of countless passionate people on Github, we have refined some of
the rough edges and specified exactly what … ⌘ Read more
http benchmarking 工具”go-wrk”支持 javascript 脚本了
wrk 是一个比较出名的 http benchmarking 工具,它支持用 Lua 脚本编写任务。
go-wrk 是原作者在早年开发的仿 wrk 的工具,但不支持脚本。没有脚本的话在测试稍复杂的业务时就力不从心。
现在我给加上了 JavaScript 的支持,用的 js 引擎是 Goja. 欢迎大家体验测试提 issue, 有时间的话我会继续改进。详见: [ … ⌘ Read more
全文检索库 bluge
全文检索库 bluge 推荐理由提到全文检索库,第一个想到的就是 Java 实现的 lucene,今天介绍一款 Golang 实现的全文检索库 bluge。bluge 脱胎于 Bleve,是当前 Github 比较火的搜索引擎项目 zinc 的底层索引检索库。
功能介绍bluge 索引存储支持内存,本地文件,以及扩展云存储等方式,文档字段类型支持 Text, Numeric, Date, Geo Point 等。
查询检索支持如下特性:
- 支持多种�� … ⌘ Read more
Goravel,一个功能完备、具有良好扩展能力的 Golang Web 应用程序框架,致敬 Laravel
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。 作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
项目地址: https://github.com/goravel/goravel
�� … ⌘ Read more
v2.7.2 ⌘ Read more
jgreco/mpv-youtube-quality
A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly
Language: Lua
Star: 248
Watch: 248 ⌘ Read more
教程:如何开始使用泛型
教程:如何开始使用泛型- 原文地址: https://go.dev/doc/tutorial/generics
- 原文作者:go.dev
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w49_Tutorial_Getting_started_with_generics.md
- 译者: zxmfke
- 校对: cvley
目�� … ⌘ Read more
Getting started with GitHub Actions just got easier!
When you want to create a workflow in the Actions tab of your repository, the recommendations are now based on an analysis of repo content. ⌘ Read more
v2.7.1 ⌘ Read more
Technical interviews via Codespaces
Codespaces is a great tool for technical hiring exercises and helps level the playing field for candidates. ⌘ Read more
5 automations every developer should be running
Looking to avoid security vulnerabilities, buttons that don’t work, slow site speeds, or manually writing release notes? This one’s for you. ⌘ Read more
GoCN 每日新闻 (2021-12-16)
GoCN 每日新闻 (2021-12-16)
Go1.18 泛型初体验https://gocn.vip/topics/20855
Ingress API 的增强属性https://github.com/ksrichard/easyraft
使用 eBPF 代替 iptables 优化服务网格数据面性能https://mp.weixin.qq.com/s/r7Yomt1u_EWrngAEPiBJiA
Go Modules 的前世今生与基本使用[https://mp.weixin.qq.com/s/mTQbKcNFXu7Fqcr5SDX2qA](http … ⌘ Read more
A brief history of code search at GitHub
This blog post tells the story of why we built a new search engine optimized for code. ⌘ Read more
v2.7.0 ⌘ Read more
漏桶限流库 — uber-go/ratelimit
编辑推荐:Bazinga
上次有同学分享了 单机限流器 time/rate 库,讲了 Golang 标准库中基于令牌桶实现限流组件的 time/rate 使用,同时也讲了一些限流算法原理。
这里分享一个 uber 开源的一套基于漏桶实现的用于服务限流的 golang 库 ratelimit。
漏洞算法的理解起来,相较于令牌桶,没有那么直观。因为令牌桶是限�� … ⌘ Read more
GoCN 每日新闻(2021-12-15)
GoCN 每日新闻(2021-12-15)
- Go 1.18beta1https://go.dev/blog/go1.18beta1
- Go 中易于使用的 Raft 库,使您的应用程序具有分布式、高可用性和容错性https://github.com/ksrichard/easyraft
- Go 实现的开源的、不可变的数据库 immudbhttps://github.com/codenotary/immudb/tree/v1.2.1
- Rust vs Go:你应该知道的 8 大核心 … ⌘ Read more
Using GitHub’s security features to help identify Log4j exposure in your codebase
Use GitHub’s security features to assess Apache Log4j exposure and, where possible, mitigate this vulnerability within your GitHub repositories. ⌘ Read more
How to define security requirements for your OSS project
Defining your security requirements is the most important proactive control you can implement for your project. Here’s how. ⌘ Read more
GoCN 每日新闻(2021-12-14)
GoCN 每日新闻(2021-12-14)
- 发生即看见,一切可回溯,TiDB Continuous Profiling 应用实践https://mp.weixin.qq.com/s/61OVu5B9nzCqI-z65NYjRQ
- 直播流媒体网络传输服务https://github.com/q191201771/lal
- 基于寄存器调用的软件加速https://gocn.vip/topics/20835
- Go Ballast 让内存控制更加丝滑[https://gocn.vip/topics/17480]( … ⌘ Read more
Go 快速指南:go1.18 特性
- 原文地址: https://medium.com/@emreodabas_20110/quick-guide-go-1-18-features-e236d5b351ef
- 原文作者:Emre Odabas
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w48_quick_guide_go1.18_features.md
- 译者: cuua
- 校对: [zxmfke](http://github.com/z … ⌘ Read more
封装 zap 日志注入 trace 信息 Trace Id(内含 gin 例子)
hlog (源码地址)- 实现自动切割文件 (基于 lumberjack 实现)
- 实现可传递 trace 信息(基于 Context 实现)
- Development bool // 是否开发模式
- LogFileDir string // 日志路径
- AppName string // APP 名字
- MaxSize int //文件多大开始切分
- MaxBackups int //保留文件个数
- MaxAge int //文件保留最大实际
- … ⌘ Read more
GitHub’s response to Log4j vulnerability CVE-2021-44228
On Thursday, December 9, 2021, GitHub was made aware of a vulnerability in the Log4j logging framework, CVE-2021-44228. ⌘ Read more
What’s new from GitHub Changelog? November 2021 recap
We shipped a ton of updates in November, from the push notification for PR review activities on the go, to an easy way to create Markdown links. ⌘ Read more
GitHub at the UN Internet Governance Forum
Last week, GitHub joined the Internet Governance Forum to spread awareness of developers’ initiatives and public policy interests. ⌘ Read more
GoCN 每日新闻(2021-12-13)
GoCN 每日新闻(2021-12-13)
- 尝鲜 Go 1.18 范型版本的 map 和 slice!https://juejin.cn/post/7040800455349239822
- Go 实现可序列化的 Roaring Bitmapshttps://dgraph.io/blog/post/serialized-roaring-bitmaps-golang/
- Go 使用 Github Actions 做 CI[https://www.alexedwards.net/blog/ci-with-go-and-github-actions](https://www.alexedwards.net/blog/ci-with-go-and-github … ⌘ Read more
高性能中文分词库 gojieba
gojieba 是什么?gojieba 是 Python 知名分词库结巴 jieba 的 Go 语言实现版本,底层分词算法由 C++ 实现,具备很高的性能; gojieba 解决了在做文本分析,文本搜索相关业务功能时的分词需求。
gojieba 支持多种分词方式:
- 全模式:把文本中所有可能的� … ⌘ Read more
fake english word generation for Go and CLI: [[https://github.com/nwtgck/go-fakelish]] #links
a zero dependency shell script that makes it really simple to manage your text notes [[https://github.com/nickjj/notes]] #links
squinewave: a sine-square-saw-pulse oscillator with hardsync: [[https://github.com/required-field/squinewave]] #links
imagor - image processing server written in Go
Fast, Docker-ready image processing server written in Go and libvips, with Thumbor URL syntax 1 points posted by gopher ⌘ Read more
快速搭建私有云服务 go-btfs
快速搭建私有云服务 go-btfs 1. go-btfs 是什么?go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more
Code: New version of oppinionated Ansible role to install Golang
Install go up to version 1.17.4 1 points posted by Sascha Andres ⌘ Read more
GoCN 每日新闻 (2021-12-10)
GoCN 每日新闻 (2021-12-10)
- bob 一个从天上掉下来的构建工具https://github.com/benchkram/bob
- hackgo 编译器让 go 添加一个新的关键字https://avi.im/blag/2021/rc-day-24/
- 一个” 自由 “解析 xml 而不是预定义 struct 的工具https://github.com/xrfang/fxml
- 一个真开源的 mongodb 的替代者[https://github.com/FerretDB/FerretDB](https://gi … ⌘ Read more
基于寄存器调用的软件加速
- 原文地址: https://menno.io/posts/golang-register-calling/
- 原文作者: Menno Finlay-Smits
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w47_faster_software_through_register_based_calling.md
- 译者: cvley
2021年11月23�� … ⌘ Read more
GitHub is the hub of the entire Open Source world?
… ⌘ Read more
Introducing stack graphs
Precise code navigation is powered by stack graphs, a new open source framework that lets you define the name binding rules for a programming language. ⌘ Read more
Precise code navigation for Python, and code navigation in pull requests
Code navigation is now available in PRs, and code navigation results for Python are now more precise. ⌘ Read more
fxml - FreeStyle XML Parser
1 points posted by xrfang ⌘ Read more
GoCN 每日新闻 (2021-12-09)
GoCN 每日新闻 (2021-12-09)- Hugo v0.90.0 发布https://github.com/gohugoio/hugo/releases/tag/v0.90.0
- Docker 容器中使用 GPUhttps://segmentfault.com/a/1190000041090167
- 我好像发现了一个 Go 的 Bug? https://www.cnblogs.com/zhuochongdashi/p/15660936.html
- Go modules 基础精进,六大核心概念全解析� … ⌘ Read more
Improving GitHub code search
Today, we are rolling out a technology preview for GitHub code search, the next iteration for search, discovery, and navigation on GitHub. ⌘ Read more
使用 KubeSphere 快速部署 Chaos Mesh
Chaos Mesh 简介Chaos Mesh 是一个开源的云原生混沌工程平台,提供丰富的故障模拟类型,具有强大的故障场景编排能力,方便用户在开发测试中以及生产环境中模拟现实世界中可能出现的各类异常,帮助用户发现系统潜在的问题。
KubeS … ⌘ Read moreGitHub Enterprise Server 3.3 is generally available
GitHub Enterprise Server is now generally available for all customers. This release improves performance for CI/CD and for customers with large repositories. ⌘ Read more
Enrolling all npm publishers in enhanced login verification and next steps for two-factor authentication enforcement
Today we’re introducing enhanced login verification to the npm registry, and we will begin a staged rollout to maintainers beginning Dec 7. ⌘ Read more
Write more secure code with the OWASP Top 10 Proactive Controls
This lesser-known OWASP project aims to help developers prevent vulnerabilities from being introduced in the first place. ⌘ Read more
Safeguard your containers with new container signing capability in GitHub Actions
GitHub has partnered with the OpenSSF and Project Sigstore to add container image signing to our default “Publish Docker Container” workflow. ⌘ Read more
GoCN 每日新闻(2021-12-05)
GoCN 每日新闻(2021-12-05)- Go 在 Google:服务于软件工程的语言设计(翻译) https://mp.weixin.qq.com/s/3F9WAcxuCNCs7aNn5gjnew
- 详解布隆过滤器原理与实现https://mp.weixin.qq.com/s/5zHQbDs978OoA3g83NaVmw
- 令人惊叹的软件架构[https://github.com/mehdihadeli/awesome-software-architecture](https://github.com/mehdihadeli/awesome-software-archite … ⌘ Read more