Skip to content

Instantly share code, notes, and snippets.

View Thomashighbaugh's full-sized avatar
☢️

Thomas Leon Highbaugh Thomashighbaugh

☢️
View GitHub Profile
@Thomashighbaugh
Thomashighbaugh / git-history-population.sh
Created June 1, 2024 11:27
A quick bash script that populates each day with several git commits to keep your activity feed looking its fullest.
#!/usr/bin/env bash
TODAY=$(date)
export TODAY
echo "Let's fake us some funk shall we?"
npx fake-git-history my-history
cd my-history || echo "my-history doesn't exist! Failure" && exit
@Thomashighbaugh
Thomashighbaugh / ebook-convert.sh
Created June 1, 2024 11:32
Converts epubs and azw files into PDFs, recursively within the present directory.
#!/bin/bash
# Check if Calibre's ebook-convert command is available
if ! command -v ebook-convert &>/dev/null; then
echo "Calibre's ebook-convert command not found. Please install Calibre."
exit 1
fi
# Create a directory to store the converted PDF files
mkdir -p converted_pdfs