Skip to content

Instantly share code, notes, and snippets.

View fquinto's full-sized avatar

Fran Quinto fquinto

View GitHub Profile
@fquinto
fquinto / tailc
Last active October 25, 2021 18:48 — forked from liufuyang/tailc
Color output of linux tail command
#!/bin/bash
# Laravel PHP coloring logger
# save this file as tailc then
# run as: $ tailc logs/supplier-matching-worker.log Words_to_highlight
file=$1
if [[ -n "$2" ]]; then
color='