$❯ CrowderSoup

A website about programming, technology, and life.

Tag: tutorials

Basic Analytics in a Django App

by Aaron Crowder on

I recently started my journey of rebuilding this blog using Django. It's a learning experience for me, with the side benefit of nudging me to write more. Something I wanted to add was some super basic analytics to help make sure this site is actually being used by someone other than me. I wanted to see things like a (somewhat naive) count of unique visitors, total page views, where requests were coming from (both referrer and geographically), and response codes (mostly so I can find 404s). Th...

Read more...

Signing Git Commits

by Aaron Crowder on

Have you ever noticed the "verified" badge next to a commit on GitHub? A few years ago I did an wondered how I could get that on my own commits. After a little googling I realized it was because those commits were signed. Signing a commit with a GPG key is something natively supported by Git as it turns out. Now this is one of the first things I set up on a new dev machine. Setting it up is fairly straight forward. Prerequisites You will need to have gpg and git installed. Additionally you w...

Read more...