TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ratchets in Software Development

23 点作者 wyrm超过 3 年前

2 条评论

aozgaa超过 3 年前
#!&#x2F;bin&#x2F;bash<p>Min=$1<p>Max=$2<p>Expression=$3<p>Count=$(grep -rP “$Expression” src | wc -l)<p>if [ $Count -lt $Min ] ; then echo “too few” ; exit 1 ; fi<p>If [ $Count -gt $Max ] ; then echo “too many” ; exit 1 ; fi
pdimitar超过 3 年前
I wonder if OP uses comby.dev. I&#x27;m looking forward to integrating it in pre-commit hooks and CI to make sure certain code isn&#x27;t allowed.<p>I would use SemGrep if it supported Elixir. But it does support Rust so I&#x27;ll use it there.