Skip to content

Instantly share code, notes, and snippets.

View thcipriani's full-sized avatar

Tyler Cipriani thcipriani

View GitHub Profile
#!/usr/bin/env bash
# ==========
# One daily text file to rule them all.
# Copyright: 2022 Tyler Cipriani <
# License: GPLv3
set -euo pipefail
thcipriani / rtl-sdr-relay.service
Created May 21, 2021 05:23
RTL SDR settings for my acurite sensors
Description=rtl_433 to mqtt
#!/usr/bin/env bash
# Word of the Day!
# Get's top word lookup of however long...
# (/^ヮ^)/*:・゚✧ date -Is
# 2021-01-06T16:38:27-07:00

Cloning All Gerrit Repos

I'm doing this with the myrepos perl script. I started down the path of reimplementing a good chunk of functionality of myrepos before realizing my mistake and generating a config file instead :)

To generate the config file I used this beauty:

while read repo; do
    printf '[%s]\n%s\n\n' "${repo}.git" "checkout = git clone --mirror${repo}"

done < <(curl -sL | \

What nobody tells you about documentation

Documentation makes your project more successful

  • If your project is poorly documented
    • Folks won’t use your software
    • Folks will misuse your software, even if they’re forced to use it (see also rsync)

There is no 1 documentation: there are 4 things

#!/usr/bin/env python
# Pytail
# ------
# Dumb python program that lets you tail a file while interactively filtering it
import os
import re
import select
import subprocess
import sys
import time
thcipriani /
Last active December 10, 2019 17:17
Notes for Google's Code Review best practice doc

How to do a code review

Notes from Google’s Engineering Practices documentation


  • CL: Stands for “changelist,” which means one self-contained change that has been submitted to version control or which is undergoing code review. Other organizations often call this a “change” or a “patch.”
  • LGTM: Means “Looks Good to Me.” It is what a code reviewer says