Skip to content

Instantly share code, notes, and snippets.

View PLNech's full-sized avatar
🤖
A love of nature keeps no factories busy.

Paul-Louis NECH PLNech

🤖
A love of nature keeps no factories busy.
View GitHub Profile
@PLNech
PLNech / github_topic_count.sh
Last active September 18, 2018 12:49
Get how many public repositories mention a topic for a list of GitHub topics.
#! /bin/sh
echo "Counting repositories for GitHub topics ($# given)."
for topic in $@; do
count=`curl https://github.com/topics/$topic -s | grep Counter | cut -d'>' -f2 | cut -d'<' -f 1`
printf '%-20s: %-6s repos.\n' $topic $count;
done

Keybase proof

I hereby claim:

  • I am plnech on github.
  • I am pln (https://keybase.io/pln) on keybase.
  • I have a public key ASDuz7tdZbEAen0I5bCLPxmXMIKxPfmIVUwltnERvRyRNQo

To claim this, I am signing this object: