Skip to content

Instantly share code, notes, and snippets.

View return-tosleep's full-sized avatar

return-tosleep

View GitHub Profile
@tennisonchan
tennisonchan / check_branch.sh
Last active August 3, 2022 04:19
Check if branch exists in #git
# if branch_name exists, it will return its hash
# if not, it will returns null
git rev-parse --verify --quiet branch_name
@alekseykulikov
alekseykulikov / github-actions-ranking.md
Last active August 3, 2021 20:53
Github Actions Ranking (June 18, 2020)

Github Actions is a CI/CD platform that gained a lot of popularity recently. I participated in building ⭐️ Lighthouse CI Action and was curious how well it performs.

But Github Marketplace UI shows no ranking information. Essentially, It's a search with random results; at least, I don't understand the order. I couldn't find ⭐️ Lighthouse CI Action in Continuous integration category after browsing 50 available pages (Each page shows 20 results, so it's possible to see only 1000 results, but CI category has 1469 😐).

I decided to build a custom script that crawls all categories and use Github Search (example query) to estimate usa