Eureka! After reading this — Search based on the contents of a repository, the answer was clear! Search by file content!

I always use the name of the repository as the title (# terraform-multienv) which is very common, so if you also do that keep on reading.

Use GitHub’s search engine and provide a unique combination of words that appear in your file. This is how I do it for my template — unfor19/terraform-multienv

I use the latter query to get meaningful search results, by sorting with sort:updated and filtering out my user name -user:USERNAME with -QUALIFIER. The keyword @me is a saved keyword given by GitHub.

Originally answered in

Originally published at on September 15, 2020.

TL;DR: The script I wrote to easily wrap Bash scripts with command line arguments — bargs

Every time I need to write a Bash script which accepts command line arguments, I go back to this great answer in StackOverflow — How do I parse command line arguments in Bash

Let’s do a quick overview of the process!

The usual way

So here I am, maintaining the command line arguments, which in turn, will be variables, in four different places. Why four? Here we go!

1 — usage function

The usage function should pop up whenever the user attempts to provide wrong or missing arguments

2 — Declaring Variables

To get the command line arguments, we need to declare variables that can store them, and also set the default values for these variables/arguments. …

github actions secrets cli

TL;DR For those of you who are using Github Actions, I’ve created a githubsecrets cli —

The Why

  • Using CLI is faster than using GUI, especially if it’s a repetitive task
  • Quickly rotating keys/secrets in CI/CD processes
  • I didn’t have access to the Settings tab of my customer’s GitHub repository, and I had to add a secret — so I used the API, and it was exhausting, so I wrote this CLI


$ pip install githubsecrets
$ ghs init
$ ghs --help # to view available commands

Install with pip

$ pip install githubsecrets
$ ghs init
... …


Meir Gabay

DevOps Consultant @

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store