Skip to main content

% 16k.es

I Leaked My Secrets to Github

Sunday evening. I was writing stupid code in a cold, rainy day.

After a long day of coding, things were finally working. I was using a cloud service for… whatever. I was tired, and I wanted to push my code to github.

As usual, I created a copy of the configuration file and redacted it to remove the secrets (the precious API_KEY).

trufflehog can save your day

Using Ai to Generate Meaningful Commit Messages

I have a couple of tasks / pet-projects where a task in the background is taking care of commiting to git and pushing to github.

Needless to say, 99% of my all-life commits used to be just “fix typo” or “update readme” or “add missing semicolon”. With the commits being automatic it is even worse: now everything is “automatic commit from laptop-foobar”. Meh.

Gemini AI logo